From 6317d3b3cf91bad379cf72ee0bd8a595b8e24e77 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 06 十二月 2023 16:41:20 +0800
Subject: [PATCH] 	modified:   src/views/warehouse/pallettransports/index.vue

---
 src/views/quality/Packaging_ledger/index.vue |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/views/quality/Packaging_ledger/index.vue b/src/views/quality/Packaging_ledger/index.vue
index 48af699..45b5115 100644
--- a/src/views/quality/Packaging_ledger/index.vue
+++ b/src/views/quality/Packaging_ledger/index.vue
@@ -241,7 +241,7 @@
                 operator: [
                     {
                       text: '妫�楠�',
-                      icon: 'el-icon-delete',
+                      icon: 'el-icon-position',
                       type: 'text',
                       size: 'small',
                       fun: this.check
@@ -290,7 +290,6 @@
         })
       },
       handleCurrentChange(row){
-        console.log(row,"涓�琛�");
         if(row.state=='宸叉姤妫�'){
           this.isCheck = true
         }
@@ -303,13 +302,16 @@
       },
       rightquery(){
         list({packageBoxId:this.goid}).then((res) =>{
-          console.log(res,"nihaoa");
           this.testStandardParams = res.data.data
         })
       },
       //璇︽儏娣诲姞
       relateOperationParam(){
-        this.increase = true
+        if (this.dataway.state == "鏈姤妫�") {
+            this.increase = true
+        }else{
+          this.$message.error('璇峰厛閫夋嫨鍖呰椤圭洰')
+        }
       },
       preserve(datalist){
         this.testStandardParams = datalist
@@ -317,19 +319,16 @@
       },
       //鍙宠竟淇濆瓨
       addpreserve(){
-        console.log(this.testStandardParams,"淇濆瓨鏁版嵁");
          this.testStandardParams.forEach(el => {
               el.packageBoxId =this.goid
          });
         saveList(this.testStandardParams).then((res) =>{
-          console.log(res,"淇濆瓨鎴愬姛");
           this.$message.success('淇濆瓨鎴愬姛')
           this.rightquery()
         })
       },
       //鍒犻櫎
       deleteadd(row){
-          console.log(row,"");
           deledata({id:row.id}).then((res)=>{
           this.$message.success('鍒犻櫎鎴愬姛')
           this.rightquery()
@@ -337,7 +336,6 @@
       },
       //瀹℃牳
       check(row){
-        console.log(row,"瀹℃牳");
         let packageBox = {
                 id:row.id,
                 packageNo:row.packageNo,

--
Gitblit v1.9.3