入库问题修改

master
zhangdi 4 days ago
parent 221d087166
commit 9d3f46c9ea
  1. 5
      src/views/firstOrder/components/inDialog.vue

@ -763,6 +763,7 @@ export default {
} else {
this.sizeForm.singleData.push({ ...row, ...materialData });
}
this.getStatisticsSingle();
} else {
this.$message.error(res.data.message || "获取物资信息失败");
}
@ -812,7 +813,7 @@ export default {
return;
}
if (row.type === "NY") {
if (row.unitPrice === undefined || row.unitPrice <= 0) {
if ((row.theInboundQuantity > 0)&&(row.unitPrice === undefined || row.unitPrice <= 0)) {
this.$message.error("单价不能为空");
return;
}
@ -858,7 +859,7 @@ export default {
return;
}
if (row.type === "NY") {
if (row.unitPrice === undefined || row.unitPrice <= 0) {
if ((row.theInboundQuantity > 0)&&(row.unitPrice === undefined || row.unitPrice <= 0)) {
this.$message.error("单价不能为空");
return;
}

Loading…
Cancel
Save