From cb04b8ed8a616c5b9fae9d432c093985b56f044c Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期四, 16 十月 2025 16:55:04 +0800
Subject: [PATCH] 任务导入+翻页修复

---
 src/views/flowmgr/taskassigntemp.vue |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/src/views/flowmgr/taskassigntemp.vue b/src/views/flowmgr/taskassigntemp.vue
index cf87a20..2b1334e 100644
--- a/src/views/flowmgr/taskassigntemp.vue
+++ b/src/views/flowmgr/taskassigntemp.vue
@@ -107,11 +107,9 @@
             prop: 'productModel',
             type: 'input',
             span: 12,
+            disabled:true,
+            placeholder:'閫夋嫨闆剁粍浠跺彿鑷姩濉厖',
             dataType: 'string',
-            rules: [{ required: true, message: '蹇呭~', trigger: 'blur' }],
-            blur: (col) => {
-              this.handleTrim(col)
-            },
           },
           {
             label: '宸ュ簭鍙�',
@@ -126,6 +124,15 @@
             blur: (col) => {
               this.handleTrim(col)
             },
+          },
+          {
+            label: '闆剁粍浠跺悕绉�',
+            prop: 'drawingName',
+            type: 'input',
+            placeholder:'閫夋嫨闆剁粍浠跺彿鑷姩濉厖',
+            span: 12,
+            disabled:true,
+            dataType: 'string',
           },
           {
             label: '宸ュ簭鍚嶇О',
@@ -152,7 +159,7 @@
           {
             label: '鎵规鍙�',
             prop: 'craftEdition',
-            placeholder:'濡�"A"',
+            placeholder:'濡�"2S24001"',
             type: 'input',
             span: 12,
             dataType: 'string',
@@ -277,6 +284,7 @@
         params: {drawingNo: query},
       }).then(
         res => {
+          this.attachForm.productModel = '';
           if(res.data.code == 200){
             let list = res.data.data;
             for(let i of list){
@@ -298,6 +306,7 @@
     },
     handleSelect(item) {
       this.attachForm.productModel = item.cph;
+      this.attachForm.drawingName = item.ljmc;
     },
     handleTrim(col){
       //console.log(col)
@@ -329,18 +338,18 @@
           res => {
             
             if(res.data.code == 200){
+              /*
               this.$message({
                 type: 'success',
                 message: '鎿嶄綔鎴愬姛!',
               });
+              */
             
               this.attachForm.producePlanId = res.data.data.id;
               
-              console.log('planid',this.attachForm.productPlanId)
+              //console.log('planid',this.attachForm.productPlanId)
               this.startDispatch(form,done);
             }else{
-              
-             
               this.$alert(res.data.msg+".閲嶆柊杈撳叆鎴栬�呮墜鍔ㄩ�夋嫨涓荤宸ヨ壓銆�", '鍙戣捣浠诲姟澶辫触',{type:'error',confirmButtonText:'鍏抽棴'});
             }
             done();

--
Gitblit v1.9.3