|
@@ -65,32 +65,6 @@ export default {
|
|
|
rules: this.formOptions.orderSmallType.isRules
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- isShow: this.formOptions.orderChannelId.isShow,
|
|
|
- name: 'el-select',
|
|
|
- md: 6,
|
|
|
- options: this.orderChannels,
|
|
|
- attributes: {
|
|
|
- disabled: !this.formOptions.orderChannelId.isEdit,
|
|
|
- placeholder: '请选择',
|
|
|
- clearable: true,
|
|
|
- filterable: true
|
|
|
- },
|
|
|
- formItemAttributes: {
|
|
|
- label: '工单渠道',
|
|
|
- prop: 'orderChannelId',
|
|
|
- rules: this.formOptions.orderChannelId.isRules
|
|
|
- },
|
|
|
- events: {
|
|
|
- change: val => {
|
|
|
- if (val) {
|
|
|
- this.orderInfo.orderChannelText = this.orderChannels.find(item => item.value == val).label
|
|
|
- } else {
|
|
|
- this.orderInfo.orderChannelText = ''
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
// ...(() => {
|
|
|
// if (this.workOrderType == 1) {
|
|
|
// // 普通工单
|
|
@@ -210,6 +184,32 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
+ isShow: this.formOptions.orderChannelId.isShow,
|
|
|
+ name: 'el-select',
|
|
|
+ md: 6,
|
|
|
+ options: this.orderChannels,
|
|
|
+ attributes: {
|
|
|
+ disabled: !this.formOptions.orderChannelId.isEdit,
|
|
|
+ placeholder: '请选择',
|
|
|
+ clearable: true,
|
|
|
+ filterable: true
|
|
|
+ },
|
|
|
+ formItemAttributes: {
|
|
|
+ label: '工单渠道',
|
|
|
+ prop: 'orderChannelId',
|
|
|
+ rules: this.formOptions.orderChannelId.isRules
|
|
|
+ },
|
|
|
+ events: {
|
|
|
+ change: val => {
|
|
|
+ if (val) {
|
|
|
+ this.orderInfo.orderChannelText = this.orderChannels.find(item => item.value == val).label
|
|
|
+ } else {
|
|
|
+ this.orderInfo.orderChannelText = ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
isShow: this.formOptions.saleType.isShow,
|
|
|
name: 'el-select',
|
|
|
md: 6,
|