Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit feb3f027
authored
Feb 27, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v4.15.6' into 'develop'
Dev v4.15.6 See merge request
!25
2 parents
071a63d1
913b8743
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
components/subShopMerchant/subShopMerchant.js
tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.wxml
tabWorkOrder/pages/createOrder/createOrder.wxml
components/subShopMerchant/subShopMerchant.js
View file @
feb3f02
...
...
@@ -33,6 +33,9 @@ Component({
thisPage
.
setData
({
orderObj
})
this
.
setData
({
orderObj
:
{}
})
}
}
},
...
...
@@ -97,6 +100,7 @@ Component({
})
this
.
setData
({
subShopMerchantList
:
data
,
orderObj
:
{}
})
}
else
{
// 无二级流量方字段时 清空选择的二级流量方字段
...
...
@@ -121,19 +125,19 @@ Component({
subShopMerchantId
:
item
.
subMerchantId
,
subShopMerchantName
:
item
.
subMerchantName
}
orderObj
=
Object
.
assign
(
orderObj
,
selectedSubShopMerchantObj
)
orderObj
=
(
orderObj
||
selectedSubShopMerchantObj
)
?
Object
.
assign
(
orderObj
,
selectedSubShopMerchantObj
)
:
selectedSubShopMerchantObj
subShopMerchantList
.
map
(
i
=>
(
i
.
active
=
false
))
subShopMerchantList
[
index
].
active
=
true
this
.
setData
({
subShopMerchantList
,
...
orderObj
orderObj
})
},
async
confirm
()
{
let
data
=
this
.
data
.
orderObj
let
thisPage
=
wx
.
$router
.
getPageInstance
()
let
{
orderObj
}
=
thisPage
.
data
orderObj
=
Object
.
assign
(
orderObj
,
data
)
orderObj
=
(
orderObj
||
data
)
?
Object
.
assign
(
orderObj
,
data
)
:
orderObj
thisPage
.
setData
({
orderObj
})
...
...
tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.wxml
View file @
feb3f02
...
...
@@ -328,7 +328,7 @@
show="{{subShopMerchantBox}}"
title="选择二级流量方"
selectedSelesMerchantId="{{orderObj.merchantId}}"
selectedCustomerInfo="{{orderObj.customer.customer
Name
}}"
selectedCustomerInfo="{{orderObj.customer.customer
Id
}}"
selectedSubShopMerchantId="{{orderObj.subShopMerchantId}}"/>
<car-brands
show="{{carBrandBox}}"
...
...
tabWorkOrder/pages/createOrder/createOrder.wxml
View file @
feb3f02
...
...
@@ -370,7 +370,7 @@
show="{{subShopMerchantBox}}"
title="选择二级流量方"
selectedSelesMerchantId="{{orderObj.merchantId}}"
selectedCustomerInfo="{{orderObj.customer.customer
Name
}}"
selectedCustomerInfo="{{orderObj.customer.customer
Id
}}"
selectedSubShopMerchantId="{{orderObj.subShopMerchantId}}"/>
<car-brands
show="{{carBrandBox}}"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment