From 254f5863bed7474f258e6829cc0a2a4f94989e1c Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 26 六月 2024 11:06:07 +0800
Subject: [PATCH] 修改/bug

---
 src/components/do/b1-ins-order/add.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 0e9813c..b4a4ca4 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -1009,8 +1009,12 @@
         }
       },
       save0(){
-        let sampleList = this.handleData(this.HaveJson(this.sampleList),this.handleAsk,1)
-        this.saveMethod(sampleList)
+        if(this.editTable.every(m=>m.value)){
+          let sampleList = this.handleData(this.HaveJson(this.sampleList),this.handleAsk,1)
+          this.saveMethod(sampleList)
+        }else{
+          this.$message.error('璇峰~鍐欒瘑鍒鍊�')
+        }
       },
       handleData(sampleList,calBack,type){
         let editTable = []
@@ -1235,6 +1239,8 @@
             this.saveLoad = false
             if (res.code == 201) return
             this.$message.success('鎻愪氦鎴愬姛')
+            // this.$parent.multipleSelection = [{id: this.currentId}]
+            // this.$parent.print()
             // 濡傛灉绱ф�ョ▼搴︿负绱ф�ワ紝闇�瑕佺洿鎺ヤ笅鍙戜汉鍛�
             // if (this.addObj.type == 2) {
             // 	this.issuedDialogVisible = true;

--
Gitblit v1.9.3