Commit ebaf326a by 王志慧

commit

1 parent 03473d2d
......@@ -260,13 +260,18 @@ export default {
} catch (err) {
console.log(err)
}
if (num == this.$refs['addForm'].length) {
let deliveryDetailList = this.detailInfo.deliveryDetailList.map(item=>{
if(item.deliveryCardList.length==0){
return item
}
})
let params = {
deliveryDetailList: this.detailInfo.deliveryDetailList
deliveryDetailList:deliveryDetailList
}
params.id = this.id
this.$apis.delivery.addPurchaseOrder(params).then(res => {
console.log(res)
if (res.code == 0) {
this.$message({
type: 'success',
......
......@@ -230,7 +230,6 @@ export default {
this.$apis.purchaseShopping.selectByOrderCode({ orderCode: this.orderCode }).then(res => {
res.forEach(item => {
item.putYqMerchantId = String(item.putYqMerchantId)
item.putMerchantId = item.putMerchantId
item.refByYqShopList = []
this.getRefByYqShopList(item, item.putYqMerchantId)
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!