|
|
@@ -737,14 +737,14 @@ export default {
|
|
|
});
|
|
|
console.log(this.form);
|
|
|
// 判断处理
|
|
|
- for (let index in this.form.shipItemsList) {
|
|
|
- this.form.shipItemsList[index].goodsName = this.form.shipItemsList[index].$goodsId;
|
|
|
- if (Number(this.form.shipItemsList[index].sendNum) > Number(this.form.shipItemsList[index].inventory)) {
|
|
|
- this.$message.warning(`序号${index + 1}的实际数量不能大于库存`);
|
|
|
- loading.close();
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
+ // for (let index in this.form.shipItemsList) {
|
|
|
+ // this.form.shipItemsList[index].goodsName = this.form.shipItemsList[index].$goodsId;
|
|
|
+ // if (Number(this.form.shipItemsList[index].sendNum) > Number(this.form.shipItemsList[index].inventory)) {
|
|
|
+ // this.$message.warning(`序号${index + 1}的实际数量不能大于库存`);
|
|
|
+ // loading.close();
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
// this.form.shipItemsList.forEach(item => {
|
|
|
// item.goodsName = item.$goodsId
|
|
|
// })
|