From a3d99f4164ae0ad0652c811326bf3508299b9ccd Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 12 四月 2024 16:16:05 +0800
Subject: [PATCH] 落丝桶数 增加3项是否勾选的字段

---
 src/views/productManage/productRegisterForm/addProductRegisterPage.vue |   34 +++++++++++++++-------------------
 1 files changed, 15 insertions(+), 19 deletions(-)

diff --git a/src/views/productManage/productRegisterForm/addProductRegisterPage.vue b/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
index b6b92d6..d5ecb79 100644
--- a/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
+++ b/src/views/productManage/productRegisterForm/addProductRegisterPage.vue
@@ -217,7 +217,7 @@
                         prop="fallingSilkBucketOne"
                         :rules="[
                           {
-                            required: ruleForm.isfallingSilkBucketOne,
+                            required: ruleForm.selectOne,
                             message: '璇峰~鍐�',
                             trigger: 'change',
                           },
@@ -230,7 +230,7 @@
                         ></el-input>
                       </el-form-item>
                       <el-checkbox
-                        v-model="ruleForm.isfallingSilkBucketOne"
+                        v-model="ruleForm.selectOne"
                       ></el-checkbox>
                     </div>
                     <div class="select-width">
@@ -240,7 +240,7 @@
                         label-width="0"
                         :rules="[
                           {
-                            required: ruleForm.isfallingSilkBucketTwo,
+                            required: ruleForm.selectTwo,
                             message: '璇峰~鍐�',
                             trigger: 'change',
                           },
@@ -255,7 +255,7 @@
                         ></el-input>
                       </el-form-item>
                       <el-checkbox
-                        v-model="ruleForm.isfallingSilkBucketTwo"
+                        v-model="ruleForm.selectTwo"
                       ></el-checkbox>
                     </div>
                     <div class="select-width">
@@ -265,7 +265,7 @@
                         label-width=""
                         :rules="[
                           {
-                            required: ruleForm.isfallingSilkBucketThree,
+                            required: ruleForm.selectThree,
                             message: '璇峰~鍐�',
                             trigger: 'change',
                           },
@@ -280,7 +280,7 @@
                         ></el-input>
                       </el-form-item>
                       <el-checkbox
-                        v-model="ruleForm.isfallingSilkBucketThree"
+                        v-model="ruleForm.selectThree"
                       ></el-checkbox>
                     </div>
                   </div>
@@ -651,11 +651,11 @@
         groupReelingdiscount: "",
         fallingSilkBucket: "",
         fallingSilkBucketOne: "",
-        isfallingSilkBucketOne: "",
+        selectOne: false,
         fallingSilkBucketTwo: "",
-        isfallingSilkBucketTwo: "",
+        selectTwo: false,
         fallingSilkBucketThree: "",
-        isfallingSilkBucketThree: "",
+        selectThree: false,
         back: "",
         oneBack: "",
         twoBack: "",
@@ -722,11 +722,11 @@
         groupReelingdiscount: "",
         fallingSilkBucket: "",
         fallingSilkBucketOne: "",
-        isfallingSilkBucketOne: "",
+        selectOne: false,
         fallingSilkBucketTwo: "",
-        isfallingSilkBucketTwo: "",
+        selectTwo: false,
         fallingSilkBucketThree: "",
-        isfallingSilkBucketThree: "",
+        selectThree: false,
         back: "",
         oneBack: "",
         twoBack: "",
@@ -1091,11 +1091,11 @@
         groupReelingdiscount: "",
         fallingSilkBucket: "",
         fallingSilkBucketOne: "",
-        isfallingSilkBucketOne: "",
+        selectOne: false,
         fallingSilkBucketTwo: "",
-        isfallingSilkBucketTwo: "",
+        selectTwo: false,
         fallingSilkBucketThree: "",
-        isfallingSilkBucketThree: "",
+        selectThree:false,
         back: "",
         oneBack: "",
         twoBack: "",
@@ -1134,10 +1134,6 @@
           form.total=Number(form.total)
           form.vehicleSpeed=Number(form.vehicleSpeed)
           form.workshopId	=Number(form.workshopId)
-          delete form.isfallingSilkBucketOne
-          delete form.isfallingSilkBucketThree
-          delete form.isfallingSilkBucketTwo
-          debugger
           for(let i in tableData){
             let listItems1={
               allYield:Number(tableData[i].allYield1)||0, //浜ч噺

--
Gitblit v1.8.0