|
@@ -1394,6 +1394,9 @@ export default {
|
|
|
if (v1.total_fee === 0) {
|
|
|
isok = false;
|
|
|
}
|
|
|
+ if (v1.unit === "") {
|
|
|
+ isok = false;
|
|
|
+ }
|
|
|
let str = v1.remark.replace(/\s*/g, "");
|
|
|
if (str === "") {
|
|
|
remark = false;
|
|
@@ -1403,12 +1406,12 @@ export default {
|
|
|
remark: str,
|
|
|
total_fee: v1.total_fee,
|
|
|
num: v1.good_num,
|
|
|
- unit:v1.unit
|
|
|
+ unit: v1.unit,
|
|
|
};
|
|
|
model.good.push(item);
|
|
|
});
|
|
|
if (!isok) {
|
|
|
- this.$message.error("商品数量/商品总额不能为0!");
|
|
|
+ this.$message.error("商品数量/商品总额不能为0,商品单位不能为空!");
|
|
|
return;
|
|
|
}
|
|
|
if (!remark) {
|