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 1e71c138
authored
Apr 28, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
af111b9f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
components/Merchant-Seles/Merchant-Seles.js
components/Merchant-Seles/Merchant-Seles.wxml
tabWorkOrder/pages/createOrder/createOrder.wxml
components/Merchant-Seles/Merchant-Seles.js
View file @
1e71c13
...
@@ -46,6 +46,10 @@ Component({
...
@@ -46,6 +46,10 @@ Component({
// 0会员 1精品 2次新车 3众筹 4积分商城
// 0会员 1精品 2次新车 3众筹 4积分商城
type
:
Number
,
type
:
Number
,
},
},
pointsMultiRole
:
{
type
:
String
}
// 是否积分
},
},
// 处理先要调用销售顾问接口再调用转化人员接口的问题
// 处理先要调用销售顾问接口再调用转化人员接口的问题
observers
:
{
observers
:
{
...
@@ -514,10 +518,12 @@ Component({
...
@@ -514,10 +518,12 @@ Component({
// oderType != 'recorder' && util.setSellerInfo({ ...this.data.orderObj, subLoginMechantId: userInfo.subLoginUser.merchantId })
// oderType != 'recorder' && util.setSellerInfo({ ...this.data.orderObj, subLoginMechantId: userInfo.subLoginUser.merchantId })
thisPage
.
getOrderBaseGoodsList
&&
thisPage
.
getOrderBaseGoodsList
&&
thisPage
.
getOrderBaseGoodsList
(
orderObj
.
merchantId
);
thisPage
.
getOrderBaseGoodsList
(
orderObj
.
merchantId
);
if
(
type
!=
3
)
{
delete
orderObj
.
couponName
;
delete
orderObj
.
couponName
;
delete
orderObj
.
merchantCouponId
;
delete
orderObj
.
merchantCouponId
;
delete
orderObj
.
customerCouponId
;
delete
orderObj
.
customerCouponId
;
delete
orderObj
.
customerCouponCode
;
delete
orderObj
.
customerCouponCode
;
}
goodsList
=
[];
goodsList
=
[];
}
}
thisPage
.
setData
({
thisPage
.
setData
({
...
...
components/Merchant-Seles/Merchant-Seles.wxml
View file @
1e71c13
<popup show="{{show}}" data-form="'btn'" bindconfirm="confirm" title="{{t
itle == '选择合作门店' ? '销售顾问' : title == '选择园区店' ? '转化人
员' : ''}}">
<popup show="{{show}}" data-form="'btn'" bindconfirm="confirm" title="{{t
ype == 1 ? (pointsMultiRole == 'Y' ? '销售顾问/录单员' : '销售顾问') : type == 2 ? '转化人员' : type == 3 ? '交付专
员' : ''}}">
<scroll-view class="seles-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<scroll-view class="seles-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<view class="box">
<view class="box">
<view class="sub-title">{{title}}</view>
<view class="sub-title">{{title}}</view>
...
...
tabWorkOrder/pages/createOrder/createOrder.wxml
View file @
1e71c13
...
@@ -435,7 +435,7 @@
...
@@ -435,7 +435,7 @@
</view>
</view>
<recording-order-popup wx:if="{{ showOrderpop && !(isErrorOrder) }}" outTradeNo="{{ outTradeArr }}" switchVlauerec="{{switchVlaue}}" show="{{ showOrderpop }}" bind:success="navigator" title="请选择交易参考号" />
<recording-order-popup wx:if="{{ showOrderpop && !(isErrorOrder) }}" outTradeNo="{{ outTradeArr }}" switchVlauerec="{{switchVlaue}}" show="{{ showOrderpop }}" bind:success="navigator" title="请选择交易参考号" />
<merchant-seles show="{{ salesmanBox }}" isDefault="{{ isDefault }}" title="选择园区店" sub-title="选择转化人员" userInfo="{{ userInfo }}" type="2" scene="1" />
<merchant-seles show="{{ salesmanBox }}" isDefault="{{ isDefault }}" title="选择园区店" sub-title="选择转化人员" userInfo="{{ userInfo }}" type="2" scene="1" />
<merchant-seles show="{{ selesBox }}" title="选择合作门店" orderObj="{{ orderObj }}" sub-title="{{pointsMultiRole=='
N'?'选择销售顾问':'选择销售顾问/录单员'}}" userInfo="{{ userInfo }}" singleSeller="{{ true }}" type="1" scene="1
" />
<merchant-seles show="{{ selesBox }}" title="选择合作门店" orderObj="{{ orderObj }}" sub-title="{{pointsMultiRole=='
Y'?'选择销售顾问/录单员':'选择销售顾问'}}" userInfo="{{ userInfo }}" singleSeller="{{ true }}" type="1" scene="1" pointsMultiRole="{{pointsMultiRole}}
" />
<merchant-seles show="{{ selesDeliveryBox }}" title="选择合作门店" orderObj="{{ orderObj }}" sub-title="选择交付专员" userInfo="{{ userInfo }}" singleSeller="{{ true }}" type="3" scene="1" />
<merchant-seles show="{{ selesDeliveryBox }}" title="选择合作门店" orderObj="{{ orderObj }}" sub-title="选择交付专员" userInfo="{{ userInfo }}" singleSeller="{{ true }}" type="3" scene="1" />
<sub-shop-merchant show="{{ subShopMerchantBox }}" title="选择二级流量方" selectedSelesMerchantId="{{ orderObj.merchantId }}" selectedCustomerInfo="{{ orderObj.customer.customerId }}" selectedSubShopMerchantId="{{ orderObj.subShopMerchantId }}" />
<sub-shop-merchant show="{{ subShopMerchantBox }}" title="选择二级流量方" selectedSelesMerchantId="{{ orderObj.merchantId }}" selectedCustomerInfo="{{ orderObj.customer.customerId }}" selectedSubShopMerchantId="{{ orderObj.subShopMerchantId }}" />
<car-brands show="{{ carBrandBox }}" bindconfirm="chooseCar" carSeriesId="{{ orderObj.customer.carSeriesId || '' }}" merchantId="{{ orderObj.merchantId || undefined }}" />
<car-brands show="{{ carBrandBox }}" bindconfirm="chooseCar" carSeriesId="{{ orderObj.customer.carSeriesId || '' }}" merchantId="{{ orderObj.merchantId || undefined }}" />
...
...
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