|
@@ -1230,7 +1230,7 @@ export default {
|
|
|
// 循环获取库存数量
|
|
|
for (let item of this.tableData) {
|
|
|
this.form.planItemsList.push({
|
|
|
- price: item.price,
|
|
|
+ price: item.price ? item.price : 0,
|
|
|
goodsId: item.id,
|
|
|
goodsName: item.cname,
|
|
|
dot: item.dot,
|
|
@@ -1328,6 +1328,9 @@ export default {
|
|
|
if (Array.isArray(res)) {
|
|
|
if (res instanceof Array) {
|
|
|
this.form.planItemsList = this.form.planItemsList.concat(res);
|
|
|
+ for (let item of this.form.planItemsList) {
|
|
|
+ item.price = item.price ? item.price : 0;
|
|
|
+ }
|
|
|
res.forEach(item => {
|
|
|
dotList({
|
|
|
storageId: this.form.storageId,
|