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