客户信息管理

dev
张同海 2 years ago
parent 73845ec73a
commit d8541a7c15

@ -118,7 +118,7 @@
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
>
<a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">{{
item.value
item.name
}}</a-select-option>
</a-select>
</a-form-item>
@ -165,7 +165,7 @@
</template>
<template #edit="{ row }">
<vxe-select v-model="row.roleCode" transfer>
<vxe-option v-for="item in TypeData" :key="item.code" :value="item.code" :label="item.value"></vxe-option>
<vxe-option v-for="item in TypeData" :key="item.code" :value="item.code" :label="item.name"></vxe-option>
</vxe-select>
</template>
</vxe-column>
@ -308,7 +308,7 @@ export default {
},
mounted() {
this.TypeData = this.$options.filters['dictData']('djy_cust_contact_role')
this.propStringData = this.$options.filters['dictData']('consignor')
this.propStringData = this.$options.filters['dictData']('djy_cust_prop')
},
methods: {
removeCheckboxRow() {
@ -336,7 +336,7 @@ export default {
if (value) {
this.TypeData.forEach(item => {
if (item.code == value) {
RData = item.value
RData = item.name
}
})
}

@ -118,7 +118,7 @@
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择客户属性!' }] }]"
>
<a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">{{
item.value
item.name
}}</a-select-option>
</a-select>
</a-form-item>
@ -165,7 +165,7 @@
</template>
<template #edit="{ row }">
<vxe-select v-model="row.roleCode" transfer>
<vxe-option v-for="item in TypeData" :key="item.code" :value="item.code" :label="item.value"></vxe-option>
<vxe-option v-for="item in TypeData" :key="item.code" :value="item.code" :label="item.name"></vxe-option>
</vxe-select>
</template>
</vxe-column>
@ -329,7 +329,7 @@ export default {
})
})
this.TypeData = this.$options.filters['dictData']('djy_cust_contact_role')
this.propStringData = this.$options.filters['dictData']('consignor')
this.propStringData = this.$options.filters['dictData']('djy_cust_prop')
},
methods: {
removeCheckboxRow() {
@ -358,7 +358,7 @@ export default {
if (value) {
this.TypeData.forEach(item => {
if (item.code == value) {
RData = item.value
RData = item.name
}
})
}

@ -307,7 +307,6 @@ export default {
: (propString = `${propString},${item.split('[')[1]}`)
}
})
console.log(propString)
}
return propString
},
@ -315,7 +314,6 @@ export default {
this.TabsEdit(row)
},
onEdit(targetKey, action) {
console.log(targetKey, action)
this[action](targetKey)
},
remove(targetKey) {
@ -338,7 +336,6 @@ export default {
// activeKey = panes[0].key
// }
// }
console.log(panes, activeKey)
this.panes = panes
this.activeKey = activeKey
},

Loading…
Cancel
Save