Переглянути джерело

修改状态跟踪按钮显示内容 问题,解决 仓库id取值错误问题

阿伏兔 4 роки тому
батько
коміт
d4a4e2ec8d

+ 21 - 1
src/views/track/cabinet/index.vue

@@ -231,10 +231,30 @@
         >
       </el-col>
       <el-col :span="1.5">
-        <el-button size="mini" @click="handleQuery(null)">全 部</el-button>
+<!--        <el-button size="mini" @click="handleQuery(null)">全 部</el-button>-->
+        <el-badge
+          :value="buttonValue.quantity"
+          type="warning"
+          style="margin-right: 10px"
+        >
+          <el-button size="mini" @click="handleQuery()"
+          >全 部</el-button
+          >
+        </el-badge>
       </el-col>
       <el-col :span="1.5">
         <el-badge
+          :value="buttonValue.planDate"
+          type="warning"
+          style="margin-right: 10px"
+        >
+          <el-button size="mini" @click="handleQuery('planDate')"
+            >派 车</el-button
+          >
+        </el-badge></el-col
+      >
+      <el-col :span="1.5">
+        <el-badge
           :value="buttonValue.acceptDate"
           type="warning"
           style="margin-right: 10px"

+ 3 - 2
src/views/warehouseBusiness/inStock/index.vue

@@ -2911,7 +2911,7 @@
               货权方:{{ form.fCorpidName }}
             </td>
             <td width="450" colspan="2" class="zzss">
-              仓库:{{ form.fWarehouseid }}
+              仓库:{{ form.fWarehouseids }}
             </td>
             <td width="450" colspan="3" class="zzss">地址:{{ fAddr }}</td>
           </tr>
@@ -5143,7 +5143,7 @@ export default {
           if (this.form.fWarehouseid === this.warehouseOptions[sorp].fId) {
             this.$set(
               this.form,
-              "fWarehouseid",
+              "fWarehouseids",
               this.warehouseOptions[sorp].fName
             );
           }
@@ -6699,6 +6699,7 @@ export default {
             }
           }
           if (dataList.length !== 0) {
+            console.log('1111:' + JSON.stringify(this.form))
             let formData = new window.FormData();
             formData.append("warehouseBills", JSON.stringify(this.form));
             formData.append("warehousebillsitems", JSON.stringify(dataList));