Commit f985e34c by 王志慧

commit

1 parent a3d7cab7
...@@ -153,7 +153,6 @@ export default { ...@@ -153,7 +153,6 @@ export default {
created() {}, created() {},
methods: { methods: {
handleCalculate(data, key, index) { handleCalculate(data, key, index) {
console.log(data[key], index)
if (data[key] > this.detailInfo.deliveryDetailList[index].stockNum) { if (data[key] > this.detailInfo.deliveryDetailList[index].stockNum) {
data[key] = this.detailInfo.deliveryDetailList[index].stockNum data[key] = this.detailInfo.deliveryDetailList[index].stockNum
return return
...@@ -211,8 +210,7 @@ export default { ...@@ -211,8 +210,7 @@ export default {
this.$apis.delivery.getDeliveryDetail({ id: this.id }).then(res => { this.$apis.delivery.getDeliveryDetail({ id: this.id }).then(res => {
if (res.code == 0) { if (res.code == 0) {
res.data.deliveryDetailList.forEach(item => { res.data.deliveryDetailList.forEach(item => {
item.goodsWarehousingList = !item.goodsWarehousingList item.goodsWarehousingList =[
? [
{ {
increaseStockNum: '', increaseStockNum: '',
yqMerchantId: '', yqMerchantId: '',
...@@ -221,7 +219,6 @@ export default { ...@@ -221,7 +219,6 @@ export default {
merchantName: '' merchantName: ''
} }
] ]
: item.goodsWarehousingList
}) })
this.detailInfo = res.data 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!