Commit 03473d2d by 王志慧

商城采购判断

1 parent 0f2c2335
...@@ -494,9 +494,8 @@ export default { ...@@ -494,9 +494,8 @@ export default {
}, },
// 创建采购 // 创建采购
async handleCreatePurchase() { async handleCreatePurchase() {
let result = await this.checkShipper() // let result = await this.checkShipper()
console.log(result) this.$router.push('/purchaseOrder/add')
if (result) this.$router.push('/purchaseOrder/add')
}, },
checkShipper() { checkShipper() {
return new Promise(resolve => { return new Promise(resolve => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!