Browse Source

修改撤销复制接口

阿伏兔 4 năm trước cách đây
mục cha
commit
ce3892cbee
1 tập tin đã thay đổi với 7 bổ sung4 xóa
  1. 7 4
      src/views/fleet/plans/AddOrUpdate.vue

+ 7 - 4
src/views/fleet/plans/AddOrUpdate.vue

@@ -529,11 +529,11 @@
                 <el-table-column
                   label="已派车货量"
                   align="center"
-                  prop="cntrBlcQty"
+                  prop="planQty"
                 >
                   <template slot-scope="scope">
                     <el-input
-                      v-model="scope.row.cntrBlcQty"
+                      v-model="scope.row.planQty"
                       placeholder="已派车货量"
                       :disabled="true"
                     />
@@ -1555,7 +1555,9 @@ export default {
         singleaddFtmsorderbillsplans(formData).then((response) => {
           this.msgSuccess("成功提交");
           if (response.code == 200) {
-            row["billStatus"] = response.data.billStatus;
+            // row["billStatus"] = response.data.billStatus;
+            this.$set(row, 'id', response.data.id)
+            this.$set(row, 'billStatus', response.data.billStatus)
           }
         });
       } else {
@@ -1580,6 +1582,7 @@ export default {
         revokeFtmsorderbillsplans(row).then((response) => {
           if (response.code == 200) {
             this.msgSuccess("成功撤回");
+            this.$set(row, 'billStatus', response.data.billStatus)
           }
         });
       }else{
@@ -1598,4 +1601,4 @@ export default {
     },
   },
 };
-</script>
+</script>