Commit 4445f8f4 by 王志慧

去补货判断修改

1 parent 565199e5
......@@ -247,14 +247,14 @@ export default {
})
},
//去补货
// gotoReplenishment() {
// this.$history.push(`/purchase/purchaseOrder/add`)
// },
async gotoReplenishment() {
let result = await this.checkShipper()
console.log(result)
if (result) this.$history.push(`/purchase/purchaseOrder/add`)
gotoReplenishment() {
this.$history.push(`/purchase/purchaseOrder/add`)
},
// async gotoReplenishment() {
// let result = await this.checkShipper()
// console.log(result)
// if (result) this.$history.push(`/purchase/purchaseOrder/add`)
// },
checkShipper() {
return new Promise(resolve => {
this.$apis.stockManage.checkShipper({}).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!