Browse Source

出货标签打印BUG

master
DouDou 5 months ago
parent
commit
0220b14907
  1. 10
      src/views/modules/finshProduct/outWarehouse/com_print_pick_list.vue

10
src/views/modules/finshProduct/outWarehouse/com_print_pick_list.vue

@ -141,10 +141,10 @@ export default {
this.batchNos = []; this.batchNos = [];
// //
this.visible = true; this.visible = true;
//
this.initShipmentBatchNos();
// //
this.printRow = JSON.parse(JSON.stringify(row)); this.printRow = JSON.parse(JSON.stringify(row));
//
this.initShipmentBatchNos();
// //
this.$nextTick(() => { this.$nextTick(() => {
if (this.$refs.partNo) { if (this.$refs.partNo) {
@ -196,6 +196,12 @@ export default {
this.$message.warning(`装箱数量不能大于${maxQty}`); this.$message.warning(`装箱数量不能大于${maxQty}`);
return; return;
} }
if (this.formData.batchNo == null || this.formData.batchNo === ''){
this.$message.warning('批次号不能为空!');
return;
}else {
this.printRow.batchNo = this.formData.batchNo;
}
// //
this.printRow.boxQty = boxQty; this.printRow.boxQty = boxQty;
getPrintShipment(this.printRow).then(({data})=>{ getPrintShipment(this.printRow).then(({data})=>{

Loading…
Cancel
Save