From 875a183c5d5a12a4ba5c8d37559295ac1ce6cce3 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 09 七月 2025 21:13:11 +0800
Subject: [PATCH] 播种流程优化

---
 construction-data/src/components/datav/index.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/construction-data/src/components/datav/index.vue b/construction-data/src/components/datav/index.vue
index d3f5433..ef879b2 100644
--- a/construction-data/src/components/datav/index.vue
+++ b/construction-data/src/components/datav/index.vue
@@ -63,7 +63,7 @@
                         <span>閫夋嫨鐩爣鍙戣揣鍖�</span>
                         <el-divider/>
                         <el-row :gutter="15">
-                          <el-col v-for="(palt, index) in platforms" :key="index" :span="7" @click.native="bindShipping(palt, scope)">
+                          <el-col v-for="(palt, index) in platforms" :key="index" :span="7" @click.native="bindShipping(palt)">
                             <div class="platform" >{{palt.platformNo}}</div>
                           </el-col>
                         </el-row>
@@ -103,7 +103,7 @@
                   <el-row>
                     <el-col class="header-title">澶嶆牳褰撳墠浣滀笟涓暟閲�</el-col>
                     <el-col style="text-align: center">
-                      <el-col :span="10" class="content">鎬婚渶姹傛暟閲忥細</el-col>
+                      <el-col :span="10" class="content">闇�姹傛暟閲忥細</el-col>
                       <el-col :span="8" class="content-value">{{ selected.anfme }}</el-col>
                     </el-col>
                     <el-col>
@@ -241,9 +241,9 @@
       this.slapLight(item)
     },
     //璁㈠崟鍏ュ簱闆嗚揣鍖�,骞舵墦鍗板崟鎹�
-    bindShipping(plat, item) {
+    bindShipping(plat) {
       this.visible = false
-      let order = item.row
+      let order = this.selectOrder
       if (order == null) {
         this.$message.error("褰撳墠璁㈠崟淇℃伅涓嶅瓨鍦紝璇疯仈绯荤鐞嗗憳锛侊紒")
         return
@@ -252,7 +252,7 @@
       // eslint-disable-next-line no-undef
       $ajax.post('/api/bind/shipping/platform', {orderId: order.id, waveId: order.waveId, platformId: plat.id}).then(response => {
         if (response.code === 200) {
-          that.fetch()
+          that.refreshData()
           //闅愯棌鍙戣揣鍖�,鎵ц鎵撳嵃
         } else {
           this.$message.error(response.msg)
@@ -406,7 +406,7 @@
     getTaskDetl (data) {
       let that = this
       // eslint-disable-next-line no-undef
-      $ajax.post('wave/task/detl/qutify/', { taskNo: data.taskNo, matnr: data.matnr }).then(response => {
+      $ajax.post('wave/task/detl/qutify/', { taskNo: data.taskNo, matnr: data.matnr, waveNo: data.waveNo }).then(response => {
         if (response.code === 200) {
           that.taskDetls = []
           // this.show = false

--
Gitblit v1.9.1