|
|
@@ -131,6 +131,14 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
+ customId:{
|
|
|
+ handler(newValue) {
|
|
|
+ if(Number(newValue)>0){
|
|
|
+ //获取快捷开单的客户信息,用于获取跑腿的地址信息
|
|
|
+ this.getDefaultCustom(this.customId)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
getLoginInfo: {
|
|
|
handler(newValue) {
|
|
|
if (this.$util.isEmpty(newValue.admin) == false && newValue.admin.currentShopId > 0) {
|
|
|
@@ -138,8 +146,6 @@ export default {
|
|
|
if (newValue.skCustomId && newValue.skCustomId > 0) {
|
|
|
this.customId = newValue.skCustomId
|
|
|
this.customName = '快捷开单'
|
|
|
- //获取快捷开单的客户信息,用于获取跑腿的地址信息
|
|
|
- this.getDefaultCustom(this.customId)
|
|
|
//世纪花都、龙岩小林鲜花要自动弹出客户列表,多个地方要同步修改,关键词sj_pop_auto
|
|
|
if (newValue.shopId == 30300 || newValue.shopId == 15007) {
|
|
|
this.showCustomPop()
|