EDI类型

dev
张同海 2 years ago
parent 702c07d219
commit bdb92a1133

@ -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
},

Loading…
Cancel
Save