|
|
|
@ -50,7 +50,7 @@
|
|
|
|
|
:align="item.align"
|
|
|
|
|
>
|
|
|
|
|
<template #default="{ row }" v-if="item.title == 'EDI类型'">
|
|
|
|
|
<span>{{ row.edicode }}</span>
|
|
|
|
|
<span>{{ FnREdiName(row.edicode) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column title="操作" fixed="right" width="200" align="center">
|
|
|
|
@ -87,6 +87,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import { DjyEdiSettingPage, DjyEdiSettingDelete } from '@/api/modular/main/EDIParameterSettingService'
|
|
|
|
|
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
|
|
|
|
|
import addForm from './addForm.vue'
|
|
|
|
|
import editForm from './editForm.vue'
|
|
|
|
|
import columnSetting from '@/components/tableColumnSetting'
|
|
|
|
@ -209,14 +210,27 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
|
|
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
|
|
loadData: {}
|
|
|
|
|
loadData: {},
|
|
|
|
|
EdiNameData: []
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.init()
|
|
|
|
|
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '346564507062341' }).then(res => {
|
|
|
|
|
this.EdiNameData = res.data.rows
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
FnREdiName(code) {
|
|
|
|
|
let data = ''
|
|
|
|
|
this.EdiNameData.forEach(item => {
|
|
|
|
|
if (item.code == code) {
|
|
|
|
|
data = `${item.value}`
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
return data
|
|
|
|
|
},
|
|
|
|
|
toggleAdvanced() {
|
|
|
|
|
this.advanced = !this.advanced
|
|
|
|
|
},
|
|
|
|
|