|
|
@@ -153,7 +153,12 @@ export default {
|
|
|
},
|
|
|
goCg(){
|
|
|
// #ifdef MP-WEIXIN
|
|
|
- this.$util.pageTo({url:'/pagesPurchase/order'})
|
|
|
+ //只有一个供应商,点采购直接去这个供应商的采购页
|
|
|
+ if(this.dictInfo.shop && this.dictInfo.shop.hasManyGhs == 0 && Number(this.dictInfo.shop.uniGhsId) > 0){
|
|
|
+ this.$util.pageTo({url:'/pagesPurchase/ghsProduct?id='+this.dictInfo.shop.uniGhsId})
|
|
|
+ }else{
|
|
|
+ this.$util.pageTo({url:'/pagesPurchase/order'})
|
|
|
+ }
|
|
|
// #endif
|
|
|
// #ifdef APP-PLUS
|
|
|
let that = this
|