From 0479e3bcf39f458669ecd95bf43c20b7a1b1929e Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 02 八月 2024 14:17:39 +0800
Subject: [PATCH] 数采升级-前端修改

---
 src/components/do/b1-ins-order/add.vue |   27 ++++++++++++++++-----------
 1 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index e07d307..5e3a46c 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -461,6 +461,16 @@
               </div>
             </template>
           </el-table-column>
+          <el-table-column prop="tell" label="瑕佹眰鎻忚堪" min-width="220px">
+            <template slot-scope="scope">
+              <el-input size="small" placeholder="瑕佹眰鎻忚堪" v-model="scope.row.tell" clearable type="textarea"
+                :autosize="{ minRows: 1, maxRows: 3}" @change="e=>requestChange(e,scope.row,'tell')"
+                v-if="active==1&&isAskOnlyRead"></el-input>
+              <span v-else>
+                <template >{{ scope.row.tell }}</template>
+              </span>
+            </template>
+          </el-table-column>
           <el-table-column prop="ask" label="瑕佹眰鍊�" min-width="220px" v-if="isAskOnlyRead">
             <template slot-scope="scope">
               <el-input size="small" placeholder="瑕佹眰鍊�" v-model="scope.row.ask" clearable type="textarea"
@@ -477,16 +487,6 @@
                 </template>
                 <template v-else>{{ scope.row.ask }}</template> -->
                 <template >{{ scope.row.ask }}</template>
-              </span>
-            </template>
-          </el-table-column>
-          <el-table-column prop="tell" label="瑕佹眰鎻忚堪" min-width="220px">
-            <template slot-scope="scope">
-              <el-input size="small" placeholder="瑕佹眰鎻忚堪" v-model="scope.row.tell" clearable type="textarea"
-                :autosize="{ minRows: 1, maxRows: 3}" @change="e=>requestChange(e,scope.row,'tell')"
-                v-if="active==1&&isAskOnlyRead"></el-input>
-              <span v-else>
-                <template >{{ scope.row.tell }}</template>
               </span>
             </template>
           </el-table-column>
@@ -1370,6 +1370,11 @@
           let obj = this.productList.find(m => m.id == a.id)
           if(obj){
             a.state = obj.state
+            a.section = obj.section
+            a.ask = obj.ask
+            a.manHour = obj.manHour
+            a.price = obj.price
+            a.tell = obj.tell
           }
         })
       },
@@ -1773,6 +1778,7 @@
       },
       saveMethod(sampleList){
         this.saveLoad = true
+        console.log(333333,sampleList)
         this.$axios.post(this.$api.insOrder.addInsOrder, {
           str: JSON.stringify({
             insOrder: this.addObj,
@@ -2103,7 +2109,6 @@
           row.bsm1 = false
         }else if(arr.length>0){
           try{
-          row.bsmRow = this.HaveJson(row)
           let section = arr[0].section
           let arr0 = JSON.parse(row.section)
           let arr1 = JSON.parse(row.ask)

--
Gitblit v1.9.3