|
|
@ -86,13 +86,14 @@
|
|
|
|
<span v-if="item.title == 'EDI类型'">{{ FnREdiName(row[item.dataIndex]) }}</span>
|
|
|
|
<span v-if="item.title == 'EDI类型'">{{ FnREdiName(row[item.dataIndex]) }}</span>
|
|
|
|
<span v-else-if="item.title == '租户'">{{ FnRName(row[item.dataIndex]) }}</span>
|
|
|
|
<span v-else-if="item.title == '租户'">{{ FnRName(row[item.dataIndex]) }}</span>
|
|
|
|
<span v-else-if="item.title == '船公司'">{{ FnRCarrier(row[item.dataIndex]) }}</span>
|
|
|
|
<span v-else-if="item.title == '船公司'">{{ FnRCarrier(row[item.dataIndex]) }}</span>
|
|
|
|
|
|
|
|
<span v-else-if="item.title == '发送类型'">{{ FnRSendType(row[item.dataIndex]) }}</span>
|
|
|
|
<span v-else>{{ row[item.dataIndex] }}</span>
|
|
|
|
<span v-else>{{ row[item.dataIndex] }}</span>
|
|
|
|
</template>
|
|
|
|
</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 }">
|
|
|
|
<vxe-button type="text" @click="$refs.addForm.copy(row)">复制</vxe-button>
|
|
|
|
<vxe-button type="text" @click="$refs.addForm.copy(row)"><a-icon type="copy"/></vxe-button>
|
|
|
|
<vxe-button type="text" @click="$refs.editForm.edit(row)">编辑</vxe-button>
|
|
|
|
<vxe-button type="text" @click="$refs.editForm.edit(row)"><a-icon type="form"/></vxe-button>
|
|
|
|
<a-popconfirm
|
|
|
|
<a-popconfirm
|
|
|
|
title="请确认删除?"
|
|
|
|
title="请确认删除?"
|
|
|
|
ok-text="是"
|
|
|
|
ok-text="是"
|
|
|
@ -103,7 +104,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
"
|
|
|
|
"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<vxe-button type="text">删除</vxe-button>
|
|
|
|
<vxe-button type="text"><a-icon type="delete"/></vxe-button>
|
|
|
|
</a-popconfirm>
|
|
|
|
</a-popconfirm>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</vxe-column>
|
|
|
|
</vxe-column>
|
|
|
@ -192,6 +193,12 @@ export default {
|
|
|
|
width: '100',
|
|
|
|
width: '100',
|
|
|
|
dataIndex: 'password'
|
|
|
|
dataIndex: 'password'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '发送类型',
|
|
|
|
|
|
|
|
align: 'center',
|
|
|
|
|
|
|
|
width: '100',
|
|
|
|
|
|
|
|
dataIndex: 'sendType'
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '发送方代码',
|
|
|
|
title: '发送方代码',
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
@ -289,6 +296,7 @@ export default {
|
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
|
loadData: [],
|
|
|
|
loadData: [],
|
|
|
|
EdiNameData: [],
|
|
|
|
EdiNameData: [],
|
|
|
|
|
|
|
|
SendTypeData: [],
|
|
|
|
CodeData: []
|
|
|
|
CodeData: []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -298,6 +306,7 @@ export default {
|
|
|
|
SysTenantPage().then(res => {
|
|
|
|
SysTenantPage().then(res => {
|
|
|
|
this.SysTenantData = res.data.rows
|
|
|
|
this.SysTenantData = res.data.rows
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
this.SendTypeData = this.$options.filters['dictData']('EdiSendType')
|
|
|
|
this.EdiNameData = this.$options.filters['dictData']('edi_type')
|
|
|
|
this.EdiNameData = this.$options.filters['dictData']('edi_type')
|
|
|
|
commondbCarrierlist().then(res => {
|
|
|
|
commondbCarrierlist().then(res => {
|
|
|
|
this.CodeData = res.data
|
|
|
|
this.CodeData = res.data
|
|
|
@ -336,6 +345,15 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return RData
|
|
|
|
return RData
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
FnRSendType(data) {
|
|
|
|
|
|
|
|
let RData = ''
|
|
|
|
|
|
|
|
this.SendTypeData.forEach(item => {
|
|
|
|
|
|
|
|
if (data == item.code) {
|
|
|
|
|
|
|
|
RData = item.name
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
return RData
|
|
|
|
|
|
|
|
},
|
|
|
|
toggleAdvanced() {
|
|
|
|
toggleAdvanced() {
|
|
|
|
this.advanced = !this.advanced
|
|
|
|
this.advanced = !this.advanced
|
|
|
|
},
|
|
|
|
},
|
|
|
|