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/masterOrder/index.vue |   34 ++++++++++------------------------
 1 files changed, 10 insertions(+), 24 deletions(-)

diff --git a/src/views/sales/masterOrder/index.vue b/src/views/sales/masterOrder/index.vue
index ec9bdd3..3a1e960 100644
--- a/src/views/sales/masterOrder/index.vue
+++ b/src/views/sales/masterOrder/index.vue
@@ -59,7 +59,7 @@
       },
       showSummary: {
         show: true,
-        sumProp: ["contractAmount"],
+        sumProp: ["money"],
         mergeNumber: 5
       }
     }
@@ -73,13 +73,13 @@
       this.tableList = {
         tableInfomation: [],
         tableColumn: [
-          { label: "鍗曟嵁缂栧彿", prop: "documentNumber", min: 120 }, // 鍗曟嵁缂栧彿
-          { label: "瀹㈡埛鍚嶇О", prop: "customName", min: 120 }, // 瀹㈡埛鍚嶇О
-          { label: "鏈嶅姟寮�濮嬫椂闂�", prop: "serviceStartTime", min: 90 }, // 鏈嶅姟寮�濮嬫椂闂�
-          { label: "鏈嶅姟鎴鏃堕棿", prop: "serviceDeadline" }, // 鏈嶅姟鎴鏃堕棿
-          { label: "鍚堝悓閲戦", prop: "contractAmount", min: 100 }, // 鍚堝悓閲戦
-          { label: "璐熻矗浜�", prop: "owner" }, // 璐熻矗浜�
-          { label: "瀹℃壒鐘舵��", prop: "approvalStatus" } // 瀹℃壒鐘舵��
+          { label: "鍗曟嵁缂栧彿", prop: "number", min: 100 }, // 鍗曟嵁缂栧彿
+          { label: "瀹㈡埛鍚嶇О", prop: "client_id", min: 120 }, // 瀹㈡埛鍚嶇О
+          { label: "鏈嶅姟寮�濮嬫椂闂�", prop: "start_time", min: 90 }, // 鏈嶅姟寮�濮嬫椂闂�
+          { label: "鏈嶅姟鎴鏃堕棿", prop: "end_time" }, // 鏈嶅姟鎴鏃堕棿
+          { label: "鍚堝悓閲戦", prop: "money" }, // 鍚堝悓閲戦
+          { label: "璐熻矗浜�", prop: "member_id" } // 璐熻矗浜�
+          // { label: "瀹℃壒鐘舵��", prop: "approvalStatus" } // 瀹℃壒鐘舵��
         ]
       }
       this.searchOptions = []
@@ -120,28 +120,14 @@
     addBtnClick() {
       this.editConfig.visible = true
       this.editConfig.title = "鏂板缓"
-      this.editConfig.infomation = {
-        customName: "",
-        documentNumber: "AC6521",
-        owner: "",
-        serviceStartTime: "",
-        serviceDeadline: "",
-        contractAmount: ""
-      }
+      this.editConfig.infomation = {}
     },
     // 缂栬緫
     handleClick(row) {
       console.log(row)
       this.editConfig.visible = true
       this.editConfig.title = "缂栬緫"
-      this.editConfig.infomation = {
-        customName: "",
-        documentNumber: "AC6521",
-        owner: "",
-        serviceStartTime: "",
-        serviceDeadline: "",
-        contractAmount: ""
-      }
+      this.editConfig.infomation = { ...row }
     }
   }
 }

--
Gitblit v1.8.0