From e3cadadc1e03e0648a079f7fc8bf8b3d0d64bc27 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 15 四月 2024 15:54:04 +0800 Subject: [PATCH] wms的出库入库调拨 3个模块新建,编辑,列表增加 主管,会计,保管员3个字段以及新建,编辑联调 --- src/views/overview/OverviewListView.vue | 39 ++++++++++++++++++++++++++++++++++----- 1 files changed, 34 insertions(+), 5 deletions(-) diff --git a/src/views/overview/OverviewListView.vue b/src/views/overview/OverviewListView.vue index 1811b59..fef9531 100644 --- a/src/views/overview/OverviewListView.vue +++ b/src/views/overview/OverviewListView.vue @@ -97,7 +97,7 @@ data() { return { tableList: {}, - showcol: ["浠撳簱浣嶇疆", "鏉ユ簮","鏉ユ簮鍗曟嵁","璋冨嚭浣嶇疆", "璋冨叆浣嶇疆", "鑱旂郴浜�", "鏃ユ湡", "閿�鍞槑缁嗗崟", "鐘舵��"], + showcol: ["浠撳簱浣嶇疆", "鏉ユ簮","鏉ユ簮鍗曟嵁","璋冨嚭浣嶇疆", "璋冨叆浣嶇疆", "鑱旂郴浜�", "鏃ユ湡", "閿�鍞槑缁嗗崟", "鐘舵��" ,"涓荤","浼氳","淇濈鍛�",], searchOptions: [], commonDetail: { visible: false, @@ -120,7 +120,7 @@ numberLabel: "鍗曞彿", TabsIndex: "0", productTableList: {}, - showBottomCol: ["浜у搧缂栧彿", "浜у搧鍚嶇О", "浜у搧瑙勬牸", "浜у搧鍨嬪彿", "璁¢噺鍗曚綅", "璋冨嚭浣嶇疆", "璋冨叆浣嶇疆", "鏁伴噺"], + showBottomCol: ["浜у搧缂栧彿", "浜у搧鍚嶇О", "浜у搧瑙勬牸", "浜у搧鍨嬪彿", "璁¢噺鍗曚綅", "璋冨嚭浣嶇疆", "璋冨叆浣嶇疆", "鏁伴噺","涓荤","浼氳","淇濈鍛�",], tableBottomColumn: [], selectRow: {}, productColumn: [ @@ -175,7 +175,7 @@ this.toLabel = "瀹㈡埛浣嶇疆" this.numberLabel = "鍑哄簱鍗曞彿" } else { - this.showcol=["浠撳簱浣嶇疆", "璋冨嚭浣嶇疆", "璋冨叆浣嶇疆", "鑱旂郴浜�", "鏃ユ湡", "閿�鍞槑缁嗗崟", "鐘舵��"], + this.showcol=["浠撳簱浣嶇疆", "璋冨嚭浣嶇疆", "璋冨叆浣嶇疆", "鑱旂郴浜�","鏃ユ湡", "閿�鍞槑缁嗗崟", "鐘舵��","涓荤","浼氳","淇濈鍛�",], this.formLabel = "璋冨嚭浣嶇疆" this.toLabel = "璋冨叆浣嶇疆" this.numberLabel = "璋冩嫧鍗曞彿" @@ -288,7 +288,25 @@ status: true, isCallMethod: true, getCallMethod: this.getStatus - } + }, + { + label: "涓荤", + prop: "manager", + isShowColumn: showcol.includes("涓荤"), + default: false + }, + { + label: "浼氳", + prop: "accountant", + isShowColumn: showcol.includes("浼氳"), + default: false + }, + { + label: "淇濈鍛�", + prop: "custodian", + isShowColumn: showcol.includes("淇濈鍛�"), + default: false + }, ] return tableColumn }, @@ -369,7 +387,18 @@ } row.locationID = row.location.jointName row.locationId = row.location.value - + row.managerObj={ + label:row.manager, + value:row.managerId + } + row.accountantObj={ + label:row.accountant, + value:row.accountantId + } + row.custodianObj={ + label:row.custodian, + value:row.custodianId + } // row.tolocationId=row.tolocation.value this.editConfig.infomation = { ...row } }, -- Gitblit v1.8.0