Commit 83e56a86 by 张立顺

Merge branch 'dev_v4.18.0' of http://192.168.3.233:8090/saas_plus/dj-car-boutiqu…

…e-work-wechat into dev_v4.18.0
2 parents 3e7cde85 fd798c41
......@@ -79,7 +79,7 @@ Component({
if (code == '0') {
// 有二级流量方数据 添加必填二级流量方字段
if (data?.length) {
if (!requiredList.includes('subShopMerchantId')) requiredList.unshift('subShopMerchantId')
if (!requiredList?.includes('subShopMerchantId')) requiredList?.unshift('subShopMerchantId')
data.map(i => {
i.active = false
if (i.subMerchantId == orderObj.subShopMerchantId) {
......@@ -106,7 +106,7 @@ Component({
// 无二级流量方字段时 清空选择的二级流量方字段
delete orderObj?.subShopMerchantId
delete orderObj?.subShopMerchantName
if (requiredList.includes('subShopMerchantId')) requiredList.splice(requiredList.indexOf('subShopMerchantId'), 1)
if (requiredList?.includes('subShopMerchantId')) requiredList?.splice(requiredList?.indexOf('subShopMerchantId'), 1)
thisPage.setData({
isShowSubShopMerchant: false,
requiredList,
......
......@@ -162,6 +162,7 @@ Page({
let { data, message } = res
if (data) {
app.globalData.YQorderSetting = null
app.globalData.yqdInfo.merchantRange = null
wx.$util.setUserInfo(data.loginUserInfoList[0])
app.globalData.YQorderSetting = null
// console.log(data.loginUserInfoList[0])
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!