From 23d80c1b64f23ede237ab8e89ebc2ee2aaf43f26 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 19 七月 2023 19:32:10 +0800 Subject: [PATCH] 销售模块接口联调 --- src/views/sales/salesDetails/index.vue | 68 +++------------------------------ 1 files changed, 7 insertions(+), 61 deletions(-) diff --git a/src/views/sales/salesDetails/index.vue b/src/views/sales/salesDetails/index.vue index e80fe87..0a7f933 100644 --- a/src/views/sales/salesDetails/index.vue +++ b/src/views/sales/salesDetails/index.vue @@ -83,30 +83,12 @@ methods: { setTable() { this.tableList = { - tableInfomation: [ - { - orderNumber: "XSHT265", - customName: "55555", - signDate: "2023-06-25", - salesHead: "绯荤粺绠$悊鍛�", - outboundStatus: "鏈嚭搴�", - receiveTotalAmount: "8000.00", - total: "8000.00", - amountReceivable: "8000.00", - invoicedAmount: "8000.00", - uninvoicedAmount: "8000.00", - productName: "鑷姩鎵撳嵃鏈�", - number: "1.00", - taxUnitPrice: "8000.00", - unOutoundNo: "1.00", - priceTax: "8000.00" - } - ], + tableInfomation: [], tableColumn: [ - { label: "璁㈠崟缂栧彿", prop: "orderNumber" }, - { label: "瀹㈡埛鍚嶇О", prop: "customName" }, - { label: "绛剧害鏃ユ湡", prop: "signDate" }, - { label: "閿�鍞礋璐d汉", prop: "salesHead" }, + { label: "璁㈠崟缂栧彿", prop: "number" }, + { label: "瀹㈡埛鍚嶇О", prop: "clientId" }, + { label: "绛剧害鏃ユ湡", prop: "signTime" }, + { label: "閿�鍞礋璐d汉", prop: "memberId" }, { label: "鍑哄簱鐘舵��", prop: "outboundStatus" }, { label: "宸叉敹鎬婚", prop: "receiveTotalAmount", price: true }, { label: "鍚堣", prop: "total", price: true }, @@ -158,50 +140,14 @@ addBtnClick() { this.editConfig.visible = true this.editConfig.title = "鏂板缓" - this.editConfig.infomation = { - customName: "", - orderNumber: "XSHT521", - salesOpportunity: "", - selSourceOrder: "", - signDate: "", - salesHead: "", - deliveryDate: "", - wechatOrderStatus: "", - consignee: "", - consigneeContactInfo: "", - shippingAddress: "", - termsTreaty: "", - notes: "", - approvalWorkflow: "", - approvalSteps: "", - approvalPerson: "", - approvalOpinion: "" - } + this.editConfig.infomation = {} }, // 缂栬緫 handleClick(row) { console.log(row) this.editConfig.visible = true this.editConfig.title = "缂栬緫" - this.editConfig.infomation = { - customName: "", - orderNumber: "XSHT521", - salesOpportunity: "", - selSourceOrder: "", - signDate: "", - salesHead: "", - deliveryDate: "", - wechatOrderStatus: "", - consignee: "", - consigneeContactInfo: "", - shippingAddress: "", - termsTreaty: "", - notes: "", - approvalWorkflow: "", - approvalSteps: "", - approvalPerson: "", - approvalOpinion: "" - } + this.editConfig.infomation = { ...row } } } } -- Gitblit v1.8.0