|
|
@ -208,7 +208,7 @@ |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
<bindGoods :showBind="showBind" :uid="uid" :type="type" :pati="pati" :pageCode="pageCode" |
|
|
|
<bindGoods :showBind="showBind" :uid="uid" :type="type" :pdd_pati="pdd_pati" :pdd_pagecode="pdd_pagecode" |
|
|
|
@handleBind="handleBind"> |
|
|
|
</bindGoods> |
|
|
|
|
|
|
@ -268,8 +268,8 @@ export default { |
|
|
|
menuList: {}, |
|
|
|
siteAddUrl: '/agent/siteAdd', |
|
|
|
showBind: false, |
|
|
|
pati: '', |
|
|
|
pageCode: '', |
|
|
|
pdd_pati: '', |
|
|
|
pdd_pagecode: '', |
|
|
|
dialogDelBindConfim: false, |
|
|
|
delRow: {}, |
|
|
|
dialogDelServiceConfim: false, |
|
|
@ -554,10 +554,10 @@ export default { |
|
|
|
}, |
|
|
|
async initPddParam(uid) { |
|
|
|
if (typeof window.PDD_OPEN_init === 'function') { |
|
|
|
this.pageCode = await this.getPddPageCode(uid) |
|
|
|
this.pdd_pagecode = await this.getPddPageCode(uid) |
|
|
|
|
|
|
|
await window.PDD_OPEN_init({ code: this.pageCode }) |
|
|
|
this.pati = await window.PDD_OPEN_getPati() |
|
|
|
await window.PDD_OPEN_init({ code: this.pdd_pagecode }) |
|
|
|
this.pdd_pati = await window.PDD_OPEN_getPati() |
|
|
|
} else { |
|
|
|
console.error('PDD_OPEN_init 不存在,SDK 未正确加载'); |
|
|
|
} |
|
|
|