Browse Source

作业单增加序号

lichao 3 years ago
parent
commit
ee44a21b32
1 changed files with 14 additions and 6 deletions
  1. 14 6
      src/views/Warehousing/inStock/AddOrUpdate.vue

+ 14 - 6
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -1825,13 +1825,14 @@
           <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; line-height: 30px">
             <tr>
               <td>作业类型</td>
-              <td colspan="2">
+              <td colspan="3">
                 {{ form.fBusinessType | fBusinessTypeFormat }}
               </td>
               <td>入库时间</td>
               <td colspan="3"></td>
             </tr>
             <tr>
+              <td>序号</td>
               <td>车号</td>
               <td>物品名称</td>
               <td>提单号</td>
@@ -1841,6 +1842,7 @@
               <td>箱号</td>
             </tr>
             <tr v-for="(item, index) in Printinglist" :key="index">
+              <td>{{ index + 1 }}</td>
               <td>{{ item.fTruckno }}</td>
               <td>{{ item.fGoodsids }}</td>
               <td>{{ item.fMblno }}</td>
@@ -1853,11 +1855,11 @@
             </tr>
             <tr>
               <td>备注</td>
-              <td colspan="6">{{ form.remark }}</td>
+              <td colspan="7">{{ form.remark }}</td>
             </tr>
             <tr v-for="(item, index) in Collectionoptionss" :key="index">
               <td>收费</td>
-              <td colspan="2">{{ item.fFeeids }}</td>
+              <td colspan="3">{{ item.fFeeids }}</td>
               <td colspan="3">{{ item.fAmount }} 元</td>
             </tr>
             <tr>
@@ -1865,7 +1867,7 @@
               <td></td>
               <td>电话</td>
               <td>{{ fDriverTel }}</td>
-              <td colspan="3" rowspan="2">
+              <td colspan="4" rowspan="2">
                 确认货物数量无误,包装于货物完好!<br/>出库盖好篷布,如有违背责任自负<br/>装卸工是否收小费
               </td>
             </tr>
@@ -1877,7 +1879,7 @@
             </tr>
             <tr>
               <td>地址</td>
-              <td colspan="2">{{ stockaddr }}</td>
+              <td colspan="3">{{ stockaddr }}</td>
               <td>电话</td>
               <td colspan="3">{{ form.fTel }}</td>
             </tr>
@@ -8806,6 +8808,13 @@ export default {
     addOrUpdateVisible(oldVal, newVal) {
       this.showDialog = this.addOrUpdateVisible;
     },
+    'form.fPlannetweight': {
+      deep: true,
+      handler: function(newVal, oldVal) {
+        // this.form.fPlangrossweight = newVal
+        this.$set(this.form, 'fPlangrossweight', newVal)
+      }
+    }
   },
 };
 </script>
@@ -8825,7 +8834,6 @@ export default {
 .print-div {
   color: #000;
 }
-
 .print_table {
   table {
     border-right: 1px solid #000;