|
|
|
@ -285,6 +285,14 @@ export default {
|
|
|
|
|
this.$message.error('当前往来单位不能为空');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.$isBlank(this.formData.invWarehouseCode)) {
|
|
|
|
|
this.$message.error("当前分库不能为空");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.curAction.corpType === 1 && this.$isBlank(this.formData.fromSubInvCode)) {
|
|
|
|
|
this.$message.error('往来单位分库不能为空');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.detailList.length == 0) {
|
|
|
|
|
this.$message.error("产品列表不能为空");
|
|
|
|
|
return;
|
|
|
|
|