From d86353384f4071a3cea77e6151e1a7bda4486501 Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周三, 24 4月 2024 13:40:12 +0800 Subject: [PATCH] 物料tab --- iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsSubstituteGood/addFormWmsSubstituteGood.vue | 89 +++++++++++++++++++++++--------------------- 1 files changed, 47 insertions(+), 42 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsSubstituteGood/addFormWmsSubstituteGood.vue b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsSubstituteGood/addFormWmsSubstituteGood.vue index 8f87c49..1d87a39 100644 --- a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsSubstituteGood/addFormWmsSubstituteGood.vue +++ b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsSubstituteGood/addFormWmsSubstituteGood.vue @@ -7,6 +7,9 @@ <!-- <span style="font-weight:bold;cursor:default;"> <a style="cursor:default;">{{ row.no }}</a>鍗曟嵁璇︽儏 </span> --> + 鐗╂枡缂栧彿: {{ materialCode }} + + 鐗╂枡鍚嶇О: {{ materialName }} <div style="margin-top: 10px;"> <a-table :columns="columns" :data-source="list" row-key="id" :pagination="false" :scroll="{ x: true }"> <template slot="index" slot-scope="text, record, index">{{ index + 1 }}</template> @@ -89,46 +92,46 @@ sorter: true, dataIndex: 'substituteCode' }, - { - title: '鐗╂枡缂栧彿', - align: 'center', - customHeaderCell: () => { - return { - style: { - 'min-width': '120px'//鏈�灏忓垪瀹借缃� - } - } - }, - customCell: () => { - return { - style: { - 'min-width': '120px'//鏈�灏忓垪瀹借缃� - } - } - }, - sorter: true, - dataIndex: 'materialCode' - }, - { - title: '鐗╂枡鍚嶇О', - align: 'center', - customHeaderCell: () => { - return { - style: { - 'min-width': '120px'//鏈�灏忓垪瀹借缃� - } - } - }, - customCell: () => { - return { - style: { - 'min-width': '120px'//鏈�灏忓垪瀹借缃� - } - } - }, - sorter: true, - dataIndex: 'materialName' - }, + // { + // title: '鐗╂枡缂栧彿', + // align: 'center', + // customHeaderCell: () => { + // return { + // style: { + // 'min-width': '120px'//鏈�灏忓垪瀹借缃� + // } + // } + // }, + // customCell: () => { + // return { + // style: { + // 'min-width': '120px'//鏈�灏忓垪瀹借缃� + // } + // } + // }, + // sorter: true, + // dataIndex: 'materialCode' + // }, + // { + // title: '鐗╂枡鍚嶇О', + // align: 'center', + // customHeaderCell: () => { + // return { + // style: { + // 'min-width': '120px'//鏈�灏忓垪瀹借缃� + // } + // } + // }, + // customCell: () => { + // return { + // style: { + // 'min-width': '120px'//鏈�灏忓垪瀹借缃� + // } + // } + // }, + // sorter: true, + // dataIndex: 'materialName' + // }, { title: '鏇夸唬鍝佺墿鏂欑紪鍙�', align: 'center', @@ -231,7 +234,10 @@ this.afterClsoe() } }, - initShow() { + + initShow(materialCode,materialName) { + this.materialCode = materialCode + this.materialName = materialName this.loading = true this.getList(() => { this.loading = false @@ -258,7 +264,6 @@ }, handleSubmit(item) { - alert(1) this.list.push(item) this.visible = false }, -- Gitblit v1.9.3