dev
张同海 2 years ago
parent fd1a243a12
commit fd64bd5b71

@ -117,11 +117,9 @@
placeholder="请选择属性字符串" placeholder="请选择属性字符串"
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择属性字符串!' }] }]" v-decorator="['WpropString', { rules: [{ required: true, message: '请选择属性字符串!' }] }]"
> >
<a-select-option value="委托单位">委托单位</a-select-option> <a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">{{
<a-select-option value="车队">车队</a-select-option> item.value
<a-select-option value="报关行">报关行</a-select-option> }}</a-select-option>
<a-select-option value="订舱管理">订舱管理</a-select-option>
<a-select-option value="代理">代理</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -305,13 +303,17 @@ export default {
confirmLoading: false, confirmLoading: false,
form: this.$form.createForm(this), form: this.$form.createForm(this),
ContactsData: [], ContactsData: [],
TypeData: [] TypeData: [],
propStringData: []
} }
}, },
mounted() { mounted() {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346103538081861' }).then(res => { sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346103538081861' }).then(res => {
this.TypeData = res.data.rows this.TypeData = res.data.rows
}) })
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346100897906757' }).then(res => {
this.propStringData = res.data.rows
})
}, },
methods: { methods: {
removeCheckboxRow() { removeCheckboxRow() {

@ -117,11 +117,9 @@
placeholder="请选择属性字符串" placeholder="请选择属性字符串"
v-decorator="['WpropString', { rules: [{ required: true, message: '请选择属性字符串!' }] }]" v-decorator="['WpropString', { rules: [{ required: true, message: '请选择属性字符串!' }] }]"
> >
<a-select-option value="委托单位">委托单位</a-select-option> <a-select-option v-for="item in propStringData" :key="item.id" :value="item.code">{{
<a-select-option value="车队">车队</a-select-option> item.value
<a-select-option value="报关行">报关行</a-select-option> }}</a-select-option>
<a-select-option value="订舱管理">订舱管理</a-select-option>
<a-select-option value="代理">代理</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -306,7 +304,8 @@ export default {
form: this.$form.createForm(this), form: this.$form.createForm(this),
ContactsData: [], ContactsData: [],
Data: {}, Data: {},
TypeData: [] TypeData: [],
propStringData: []
} }
}, },
mounted() { mounted() {
@ -334,6 +333,9 @@ export default {
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346103538081861' }).then(res => { sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346103538081861' }).then(res => {
this.TypeData = res.data.rows this.TypeData = res.data.rows
}) })
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346100897906757' }).then(res => {
this.propStringData = res.data.rows
})
}, },
methods: { methods: {
removeCheckboxRow() { removeCheckboxRow() {

@ -89,9 +89,6 @@
:align="item.align" :align="item.align"
v-if="item.checked" v-if="item.checked"
> >
<template #default="{ row }" v-if="item.title == '属性字符串'">
<span>{{ FnRpropString(row) }}</span>
</template>
</vxe-column> </vxe-column>
<vxe-column title="操作" fixed="right" width="200" align="center"> <vxe-column title="操作" fixed="right" width="200" align="center">
<template #default="{ row }"> <template #default="{ row }">
@ -220,12 +217,12 @@ const columns = [
width: '80', width: '80',
dataIndex: 'addrEN' dataIndex: 'addrEN'
}, },
{ // {
title: '属性字符串', // title: '',
align: 'center', // align: 'center',
width: '100', // width: '100',
dataIndex: 'propString' // dataIndex: 'propString'
}, // },
{ {
title: '发票抬头', title: '发票抬头',
align: 'center', align: 'center',

Loading…
Cancel
Save