Commit 8daed887 by 张立顺

Merge branch 'SAAS+V4.52.0-0429' of http://192.168.3.233:8090/saas_plus/dj-car-b…

…outique-work-wechat into SAAS+V4.52.0-0429
2 parents 4c810a21 39d8207e
......@@ -134,11 +134,8 @@ Component({
let { code, data, message } = res;
if (code == 0) {
let thisPage = wx.$router.getPageInstance();
console.log("thisPage.data", thisPage.data);
let { orderObj } = thisPage.data;
// console.log(orderObj)
console.log(data, "getCustomerCouponList");
let filterList = data.filter((item) => {
return (
item.status != 1 ||
......@@ -282,7 +279,7 @@ Component({
return;
}
} else {
// console.log(returnFun)
console.log(returnFun,'=========')
if (!returnFun) {
if (orderObj.customerCouponId) {
orderObj.merchantCouponId = orderObj.customerCouponId;
......
......@@ -292,10 +292,10 @@ Component({
// });
// }
// 增加销售顾问默认勾选逻辑是第一次
console.log(
thisPage.data.orderCreateType,
"thisPage.data.orderCreateType"
);
// console.log(
// thisPage.data.orderCreateType,
// "thisPage.data.orderCreateType"
// );
// debugger
if (type == 1 && isFirst) {
if (orderSellerInfo || orderObj.userId) {
......@@ -368,12 +368,12 @@ Component({
// 订单补录页面新增一个逻辑 只有一个导流方并且没有勾选过的话自动帮他选中第一个
// 没有一个员工就自动帮他追加一个默认的
// 还要订单不是回显的
console.log(
type == 1 &&
merchantList.length == 1 &&
!orderObj.merchantId &&
!orderObj.merchantName
);
// console.log(
// type == 1 &&
// merchantList.length == 1 &&
// !orderObj.merchantId &&
// !orderObj.merchantName
// );
if (
type == 1 &&
merchantList.length == 1 &&
......@@ -520,7 +520,6 @@ Component({
delete orderObj.customerCouponCode;
goodsList = [];
}
thisPage.setData({
orderObj,
goodsList,
......
......@@ -26,7 +26,7 @@
<view>
<text class="record-label" wx:if="{{itemInfo.carModel}}">{{itemInfo.carModel}}</text>
<text class="record-label" wx:if="{{itemInfo.tag}}">{{itemInfo.tag}}</text>
<text class="record-label-error" wx:if="{{itemInfo.qualityCheckScore <= 20 && itemInfo.qualityCheckScore !== null && itemInfo.qualityCheckScore !== undefined}}">疑似虚假接待</text>
<text class="record-label-error" wx:if="{{itemInfo.qualityCheckScore <= 20 && itemInfo.qualityCheckScore !== null && itemInfo.qualityCheckScore !== undefined && !hideScore}}">疑似虚假接待</text>
</view>
<view wx:if="{{!hideScore}}">
<text class="record-amount" wx:if="{{itemInfo.orderStatus == 1 && itemInfo.orderAmount}}">
......
......@@ -6,7 +6,7 @@ page {
.navigation-title {
font-weight: 500;
font-size: var(--fontSize36);
font-size: var(--fontSize30);
color: #282829;
line-height: var(--fontSize44);
width: var(--fontSize360);
......
......@@ -439,7 +439,7 @@
<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 }}" />
<remark-popup wx:if="{{ showRemark }}" show="{{ showRemark }}" bindconfirm="remarkConfirm" placeholder="请填写内容,最多30个字" maxlength="30" value="{{ orderObj.remark }}" />
<coupon id="coupon" show="{{ couponBox }}" class="coupon" orderCreateType="{{ orderCreateType }}" bindconfirm="chooseCoupon" merchantId="{{ orderObj.merchantId }}" customerPhone="{{ orderObj.customer.customerPhone }}" yqMerchantId="{{ orderObj.sellerMerchantId }}" selectPayType="{{ orderObj.selectPayType }}" returnFun="{{ returnFun }}" />
<coupon id="coupon" show="{{ couponBox }}" class="coupon" orderCreateType="{{ orderCreateType }}" bindconfirm="chooseCoupon" merchantId="{{ orderObj.merchantId }}" customerPhone="{{ orderObj.customer.customerPhone }}" yqMerchantId="{{ orderObj.sellerMerchantId }}" selectPayType="{{ orderObj.selectPayType }}" returnFun="{{ scene }}" />
<goods show="{{ goodsBox }}" bindconfirm="chooseGoods" goodsData="{{ goodsData }}" chooseGoodsList="{{ goodsList }}" isSolarFilm="{{ true }}" baseConfigData="{{ baseConfigData }}" />
<customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" />
<van-popup show="{{ showSource }}" position="bottom" bind:close="onCloseSource">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!