Prechádzať zdrojové kódy

出库作业单修改

lichao 3 rokov pred
rodič
commit
17153160e0

+ 33 - 4
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -2365,7 +2365,7 @@
                 {{ form.fBusinessType | fBusinessTypeFormat }}
               </td>
               <td>入库时间</td>
-              <td colspan="2"></td>
+              <td colspan="3"></td>
             </tr>
             <tr>
               <td>车号</td>
@@ -2374,6 +2374,7 @@
               <td>品牌/规格/产地</td>
               <td>净重(KG)</td>
               <td>件数/规格</td>
+              <td>箱号</td>
             </tr>
             <tr v-for="(item, index) in Printinglist" :key="index">
               <td>{{ item.fTruckno }}</td>
@@ -2384,10 +2385,11 @@
               </td>
               <td>{{ item.fNetweight }}</td>
               <td>{{ item.fQty }}/{{ item.fPackagespecs }}</td>
+              <td>{{ item.fCntrno }}</td>
             </tr>
             <tr>
               <td>备注</td>
-              <td colspan="5"></td>
+              <td colspan="6">{{ form.remark }}</td>
             </tr>
             <tr v-for="(item, index) in Collectionoptionss" :key="index">
               <td>收费</td>
@@ -2399,7 +2401,7 @@
               <td></td>
               <td>电话</td>
               <td>{{ fDriverTel }}</td>
-              <td colspan="2" rowspan="2">
+              <td colspan="3" rowspan="2">
                 确认货物数量无误,包装于货物完好!<br/>出库盖好篷布,如有违背责任自负<br/>装卸工是否收小费
               </td>
             </tr>
@@ -2413,7 +2415,7 @@
               <td>地址</td>
               <td colspan="2">{{ stockaddr }}</td>
               <td>电话</td>
-              <td colspan="2">{{ form.fTel }}</td>
+              <td colspan="3">{{ form.fTel }}</td>
             </tr>
           </table>
         </div>
@@ -4122,8 +4124,18 @@ export default {
       allfPlanqty: 0,
       ckTime: null,
       entryPrinting: 1,
+      // 滚动加载显示
+      isFlag: false,
     };
   },
+  computed: {
+    noMore() {
+      return false
+    },
+    loadDisabled() {
+      return this.isFlag || this.noMore
+    },
+  },
   created() {
     this.setRowList = this.tableDate;
     this.getRowList = this.tableDate;
@@ -5910,6 +5922,15 @@ export default {
         this.whgenlegTotal = response.total;
       });
     },
+    // 无限滚动加载
+    load() {
+      this.isFlag = true;
+      setTimeout(() => {
+        this.getDetailsList()
+        this.whgenlegParams.pageNum++
+        this.isFlag = false
+      }, 2000)
+    },
     printZyd() {
       if (this.Printinglist.length > 0) {
         for (let item in this.Printinglist) {
@@ -6052,6 +6073,14 @@ export default {
             } else if (command == "h") {
               this.print_zccdckd = true;
             } else if (command == "i") {
+              let date = new Date();
+              let hours =
+                date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
+              let minutes =
+                date.getMinutes() < 10
+                  ? "0" + date.getMinutes()
+                  : date.getMinutes();
+              this.ckTime = hours + ":" + minutes;
               this.print_xqckd = true;
             }
           }