qukaidi 4 anni fa
parent
commit
d2f69d816e

+ 97 - 1
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -456,7 +456,7 @@
                     ? (detailsHidden2 = false)
                     : (detailsHidden2 = true)
                 "
-                v-if="this.dataShowcar==1"
+                v-if="this.dataShowcar == 1"
                 >{{ detailsHidden2 ? "隐藏" : "更多" }}
               </el-button>
               <el-button
@@ -925,6 +925,7 @@
                 </el-button>
                 <el-dropdown-menu slot="dropdown">
                   <el-dropdown-item command="a">收货单</el-dropdown-item>
+                  <el-dropdown-item command="g">标准入库单</el-dropdown-item>
                   <el-dropdown-item command="b">入库单</el-dropdown-item>
                   <el-dropdown-item command="c">理货单</el-dropdown-item>
                   <el-dropdown-item command="d">货物确认</el-dropdown-item>
@@ -2542,6 +2543,98 @@
       </span>
     </el-dialog>
     <el-dialog
+      :visible.sync="print_bzrkd"
+      width="70%"
+      :close-on-click-modal="false"
+      :modal="false"
+    >
+      <div id="print_area1" class="print-div">
+        <div
+          class="print-title"
+          style="
+            display: flex;
+            justify-content: center;
+            font-size: 24px;
+            margin-bottom: 5px;
+          "
+        >
+          {{ company }}有限公司(入库单-标准)
+        </div>
+        <div class="print_table" style="display: flex">
+          <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
+            <tr>
+              <td>客户名称</td>
+              <td>{{ form.fCorpidName }}</td>
+              <td>入库日期</td>
+              <td>{{ form.fBsdate | fBsdateFormat }}</td>
+              <td>流水号</td>
+              <td colspan="2">{{ form.fBillno }}</td>
+            </tr>
+            <tr>
+              <td>车号</td>
+              <td>{{ form.fTruckno }}</td>
+              <td>提单号</td>
+              <td>{{ form.fMblno }}</td>
+              <td>箱号</td>
+              <td colspan="2" v-if="Printinglist.length">
+                {{ Printinglist[0].fCntrno }}
+              </td>
+              <td colspan="2" v-else></td>
+            </tr>
+            <tr>
+              <td>货名</td>
+              <td>箱量</td>
+              <td>件数</td>
+              <td>毛重</td>
+              <td>规格</td>
+              <td>区位</td>
+              <td>备注</td>
+            </tr>
+            <tr v-for="(item, index) in Printinglist" :key="index">
+              <td>{{ item.fGoodsids }}</td>
+              <td>{{ item.fCntqty }}</td>
+              <td>{{ item.fQty }}</td>
+              <td v-if="item.fGrossweight">
+                {{ (item.fGrossweight / 1000).toFixed(2) }}
+              </td>
+              <td v-else></td>
+              <td>{{ item.fPackagespecs }}</td>
+              <td>{{ item.fWarehouseInformation }}</td>
+              <td>{{ item.remark }}</td>
+            </tr>
+            <tr>
+              <td>备注</td>
+              <td colspan="4">不贴标签不卸货</td>
+              <td>总件数</td>
+              <td>{{ allfQty }}</td>
+            </tr>
+          </table>
+        </div>
+        <div
+          style="display: flex; justify-content: space-between; font-size: 12px"
+        >
+          <div>操作:{{ form.createBy }}</div>
+          <div>理货:</div>
+          <div>叉车:</div>
+          <div>司机:</div>
+
+          <div style="width: 150px">电话:</div>
+        </div>
+      </div>
+      <span slot="footer" class="dialog-footer">
+        <el-button
+          type="primary"
+          :disabled="browseStatus"
+          @click="
+            addprint();
+            print_bzrkd = false;
+          "
+          >打印
+        </el-button>
+        <el-button @click="print_bzrkd = false">取消 </el-button>
+      </span>
+    </el-dialog>
+    <el-dialog
       :visible.sync="print_lhd"
       width="70%"
       :close-on-click-modal="false"
@@ -3262,6 +3355,7 @@ export default {
       print_hwqr: false,
       print_lwqr: false,
       print_dpxx: false,
+      print_bzrkd: false,
       company: "",
       Printinglist: [],
       //库位
@@ -4877,6 +4971,8 @@ export default {
               this.print_lwqr = true;
             } else if (command == "f") {
               this.print_dpxx = true;
+            } else if (command == "g") {
+              this.print_bzrkd = true;
             }
           }
         });

+ 1 - 1
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -2355,7 +2355,7 @@
             margin-bottom: 5px;
           "
         >
-          {{ company }}有限公司出库单
+          {{ company }}有限公司出库单-标准)
         </div>
         <div class="print_table" style="display: flex">
           <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">