Commit f985e34c by 王志慧

commit

1 parent a3d7cab7
......@@ -153,7 +153,6 @@ export default {
created() {},
methods: {
handleCalculate(data, key, index) {
console.log(data[key], index)
if (data[key] > this.detailInfo.deliveryDetailList[index].stockNum) {
data[key] = this.detailInfo.deliveryDetailList[index].stockNum
return
......@@ -211,8 +210,7 @@ export default {
this.$apis.delivery.getDeliveryDetail({ id: this.id }).then(res => {
if (res.code == 0) {
res.data.deliveryDetailList.forEach(item => {
item.goodsWarehousingList = !item.goodsWarehousingList
? [
item.goodsWarehousingList =[
{
increaseStockNum: '',
yqMerchantId: '',
......@@ -221,7 +219,6 @@ export default {
merchantName: ''
}
]
: item.goodsWarehousingList
})
this.detailInfo = res.data
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!