Commit 38bcf14c by 前端

Merge branch 'SAAS+V4.48-0103' into 'SAAS+V4.49.0-0121'

上线合并

See merge request !355
2 parents 9a18b0d6 17f878c3
Showing 38 changed files with 581 additions and 189 deletions
......@@ -14,10 +14,11 @@ Component({
},
carSeriesId: {
type: Number,
// observer: function (n) {
// console.log('carSeriesId')
// if (n) this.init()
// }
observer: function (n) {
let { storageData, equityFlag } = this.data
// 数字报价单获取详情接口, carSeriesId通过接口获取会出现慢的情况,重新整理车型数据将已选值置为选中状态
if (equityFlag && n && storageData?.length) this.setCar(storageData, true)
}
},
merchantId: {
type: Number,
......@@ -26,6 +27,9 @@ Component({
if (n) this.init(n, true);
},
},
equityFlag: {
type: Boolean
}
},
/**
......@@ -356,18 +360,20 @@ Component({
});
},
confirm() {
let { chooseItem } = this.data;
let { chooseItem, equityFlag } = this.data;
let thisPage = wx.$router.getPageInstance();
let {
orderObj: { customer },
} = thisPage.data;
customer = {
...customer,
...chooseItem,
};
thisPage.setData({
["orderObj.customer"]: customer,
});
if (!equityFlag) {
let {
orderObj: { customer },
} = thisPage.data;
customer = {
...customer,
...chooseItem,
};
thisPage.setData({
["orderObj.customer"]: customer,
});
}
this.setData({
show: false,
});
......
......@@ -2,7 +2,7 @@
title="选择车型"
show="{{show}}"
bindconfirm="confirm"
height="90%">
height="{{ equityFlag ? '85%' : '90%' }}">
<view class="car-brands-box">
<search-input bindsearch="searchCar" />
<view class="car-brands">
......
......@@ -33,13 +33,14 @@
padding-left: var(--fontSize32);
font-size: var(--fontSize32);
font-weight: 700;
color: #323436;
}
.child {
font-weight: normal;
padding-left: var(--fontSize96);
font-size: var(--fontSize28);
color: #888888;
color: #323436;
position: relative;
}
......
......@@ -6,12 +6,11 @@
<view class="box">
<block wx:for="{{customerCouponList}}" wx:key="index">
<block wx:if="{{!item.flag}}">
<view class="item {{item.active?'active':''}}" data-key="customerCouponId" bindtap="choose"
data-index="{{index}}" data-item="{{item}}">
<view class="item {{item.active?'active':''}} " data-key="customerCouponId" bindtap="choose" data-index="{{index}}" data-item="{{item}}">
<view class="text-hide">
{{item.couponName}}{{item.customerCouponCode}}(客户拥有的券)
</view>
<view class="icon">
<view class="iconCoupon">
<image src="../images/choose.png"></image>
</view>
</view>
......@@ -24,12 +23,11 @@
<view class="title">{{item.title}}</view>
<view class="box">
<block wx:for="{{item.list}}" wx:key="ind" wx:for-index="ind" wx:for-item="i">
<view class="item {{i.active?'active':''}} {{i.disabled?'disabled':''}}" bindtap="choose"
data-index="{{index}}" data-ind="{{ind}}" data-item="{{i}}" data-key="merchantCouponId">
<view class="item {{i.active?'active':''}} {{i.disabled?'disabled':''}}" bindtap="choose" data-index="{{index}}" data-ind="{{ind}}" data-item="{{i}}" data-key="merchantCouponId">
<view class="text-hide">
{{i.couponName}}{{i.merchantCouponCode}}
</view>
<view class="icon">
<view class="iconCoupon">
<image src="../images/choose.png"></image>
</view>
</view>
......
......@@ -21,7 +21,8 @@
height: var(--fontSize88);
box-sizing: border-box;
}
.text-center{
.text-center {
text-align: center;
}
......@@ -34,15 +35,18 @@
color: #888888;
position: relative;
}
.item.disabled{
.item.disabled {
color: #ccc;
}
.text-hide {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.item .icon{
.item .iconCoupon {
display: none;
width: var(--fontSize32);
height: var(--fontSize32);
......@@ -51,13 +55,16 @@
left: calc(-1 * var(--fontSize52));
transform: translateY(-50%);
}
.item.active{
.item.active {
color: #347BFF;
}
.item.active .icon{
.item.active .iconCoupon {
display: block;
}
.nothing{
.nothing {
padding: var(--fontSize100);
text-align: center;
color: #999;
......
Component({
options: {
styleIsolation: 'isolated',//表示样式隔离,默认隔离
},
/**
* 组件的属性列表
*/
......
......@@ -28,7 +28,7 @@
max-width: 85%;
}
.item .value .name .warning_text{
.item .value .name .warning_text {
color: #F24724;
margin-left: var(--fontSize10);
font-size: var(--fontSize22);
......@@ -78,20 +78,40 @@
opacity: 0.4;
}
.item .icon {
display: block;
.choose {
width: var(--fontSize32);
height: var(--fontSize32);
margin: 0 var(--fontSize32);
// position: absolute;
// top: 50%;
// left: calc(-1 * var(--fontSize52));
// transform: translateY(-50%);
.arc {
width: 100%;
height: 100%;
border: var(--fontSize2) solid #979797;
border-radius: 100%;
box-sizing: border-box;
}
}
.item .icon .arc {
width: 100%;
height: 100%;
border: var(--fontSize2) solid #979797;
border-radius: 100%;
box-sizing: border-box;
}
.nothing {
padding: var(--fontSize100);
text-align: center;
color: #999;
}
.box {
padding-left: 0;
}
.itemBox {
display: flex;
align-items: center;
.item {
flex: 1;
}
}
\ No newline at end of file
<wxs src="index.wxs" module="filter" />
<popup show="{{show}}" title="选择商品" bindconfirm="confirm" bindcancel="cancel">
<view class="coupon-box">
<search-input bindsearch="searchGoods" value="{{keyWord}}" />
<scroll-view class="coupon" scroll-y>
<block wx:if="{{goodsList.length > 0}}">
<block wx:for="{{goodsList}}" wx:key="index">
<view class="title">
{{item.goodsTypeName}}
<text class="tips">|建议价</text>
</view>
<view class="box">
<block
wx:for="{{item.upgradeGoodsList}}"
wx:key="ind"
wx:for-index="ind"
wx:for-item="i">
<view class="item {{minPrice?(minPrice/100)>= i.shopMinPrice ?'':'disableSelect':'' }}">
<!-- {{i.shopMinPrice}} -->
<view
class="value {{i.active?'labelWidth':''}}"
catchtap="choose"
data-index="{{index}}"
data-ind="{{ind}}"
data-item="{{i}}">
<view class="name text-hide {{i.active?'textWidth':''}}">
<text>{{filter.replaceItemText(i.upgradeGoodsAlias) ||filter.replaceItemText(i.upgradeGoodsName) || filter.replaceItemText(i.goodsInfo.goodsName)}}</text>
<view class="coupon-box">
<search-input bindsearch="searchGoods" value="{{keyWord}}" />
<scroll-view class="coupon" scroll-y>
<block wx:if="{{goodsList.length > 0}}">
<block wx:for="{{goodsList}}" wx:key="index">
<view class="title">
{{item.goodsTypeName}}
<text class="tips">|建议价</text>
</view>
<view class="box">
<view class="itemBox" wx:for="{{item.upgradeGoodsList}}" wx:key="ind" wx:for-index="ind" wx:for-item="i">
<view class="choose" catchtap="choose" data-index="{{index}}" data-ind="{{ind}}" data-item="{{i}}">
<image src="{{filter.getImageSrc(i.active)}}" />
</view>
<view class="item {{minPrice?(minPrice/100)>= i.shopMinPrice ?'':'disableSelect':'' }}">
<view class="value {{i.active?'labelWidth':''}}" catchtap="choose" data-index="{{index}}" data-ind="{{ind}}" data-item="{{i}}">
<view class="name text-hide {{i.active?'textWidth':''}}">
<text>{{filter.replaceItemText(i.upgradeGoodsAlias) ||filter.replaceItemText(i.upgradeGoodsName) || filter.replaceItemText(i.goodsInfo.goodsName)}}</text>
<text wx:if="{{i.merchantGoodsPosition && (i.goodsInfo.goodsType == 1 || i.goodsInfo.goodsType == baseConfigData.selfBuildFilmType)}}">{{'「' + i.positionStr+'」'}}</text>
<text class="warning_text" wx:if="{{!i.merchantGoodsPosition && (i.goodsInfo.goodsType == 1 || i.goodsInfo.goodsType == baseConfigData.selfBuildFilmType)}}">无部位</text>
</view>
<view class="last" wx:if="{{!i.active}}">
<!-- | -->
<text class="price">¥{{i.upgradePrice}}</text>
</view>
</view>
<block wx:if="{{i.active}}">
<view class="control">
<view
class="minus"
catchtap="addCount"
data-count="{{-1}}"
data-index="{{index}}"
data-ind="{{ind}}"
data-item="{{i}}">
-
</view>
<input
type="number"
catchtap="noScroll"
class="input"
value="{{i.count || 1}}"
catchinput="input"
data-index="{{index}}"
data-ind="{{ind}}" />
<view
class="add"
catchtap="addCount"
data-count="{{1}}"
data-index="{{index}}"
data-ind="{{ind}}"
data-item="{{i}}">
+
</view>
</view>
</block>
<view
class="icon"
catchtap="choose"
data-index="{{index}}"
data-ind="{{ind}}"
data-item="{{i}}">
<block wx:if="{{i.active}}">
<image src="../images/radio.png" />
</block>
<block wx:else>
<view class="arc" />
</block>
</view>
</view>
</block>
</view>
</block>
</block>
<block wx:else>
<view class="nothing">暂无数据</view>
</block>
</scroll-view>
</view>
</popup>
</view>
<view class="last" wx:if="{{!i.active}}">
<text class="price">¥{{i.upgradePrice}}</text>
</view>
</view>
<block wx:if="{{i.active}}">
<view class="control">
<view class="minus" catchtap="addCount" data-count="{{-1}}" data-index="{{index}}" data-ind="{{ind}}" data-item="{{i}}">
-
</view>
<input type="number" catchtap="noScroll" class="input" value="{{i.count || 1}}" catchinput="input" data-index="{{index}}" data-ind="{{ind}}" />
<view class="add" catchtap="addCount" data-count="{{1}}" data-index="{{index}}" data-ind="{{ind}}" data-item="{{i}}">
+
</view>
</view>
</block>
<!-- <view class=" choose" catchtap="choose" data-index="{{index}}" data-ind="{{ind}}" data-item="{{i}}">
<block wx:if="{{i.active}}">
<image src="../images/radio.png" />
</block>
<block wx:else>
<view class="arc" />
</block>
</view> -->
</view>
</view>
</view>
</block>
</block>
<block wx:else>
<view class="nothing">暂无数据</view>
</block>
</scroll-view>
</view>
</popup>
\ No newline at end of file
var replaceItemText = function (item) {
var reg = getRegExp(';~;', 'g')
return item?item.replace(reg, ' '):''
return item ? item.replace(reg, ' ') : ''
}
var getImageSrc = function (active) {
var baseImagePath = active ? '../images/radio.png' : '../images/radio_icon.png';
var timestamp = Date.now(); // 使用 Date.now() 获取当前时间戳
return baseImagePath + '?t=' + timestamp; // 使用字符串拼接
}
/*
* 导出
*/
module.exports = {
replaceItemText: replaceItemText
replaceItemText: replaceItemText,
getImageSrc: getImageSrc
}
......@@ -2,11 +2,24 @@
import api from "../../api/api";
// import util from '../../utils/util.js'
Component({
// options: {
// styleIsolation: 'shared'
// },
/**
* 组件的属性列表
*/
properties: {
show: Boolean,
show: {
type: Boolean,
observer: function (n) {
// console.log('userInfo', n)
// 先请求导流方接口
if (n) this.setData({
keyWord: ''
});
this.getMerchantList()
},
},
title: String,
subTitle: String,
userInfo: {
......@@ -46,6 +59,7 @@ Component({
this.getMerchantList();
this.setData({
sellerUserId: id,
keyWord: ''
});
}
},
......@@ -61,12 +75,25 @@ Component({
isFirst: true,
sellerUserId: "",
orderSellerInfo: "",
keyWord: ''
},
/**
* 组件的方法列表
*/
methods: {
search(e) {
let { detail: { value } } = e
this.setData({
keyWord: value
})
let { orderObj } = this.data
this.getConversionEmployeeList(orderObj.merchantId, true);
},
changSelectList(e) {
// let {value:text} = e.currentTarget
// let {selesList} =
},
showMoreMerchant() {
this.setData({
moreMerchant: !this.data.moreMerchant,
......@@ -84,7 +111,6 @@ Component({
let { orderObj } = thisPage.data;
let isSellerInfo, orderSellerInfo;
// console.log('orderObj', orderObj)
let callBackName =
type == 1 ? "getSceneMerchantRefStoreList" : "getYQList";
// debugger
......@@ -95,10 +121,10 @@ Component({
api[callBackName](
type == 1
? {
merchantId: userInfo.merchantId,
scene,
staffUUID: orderObj.sellerUserId,
}
merchantId: userInfo.merchantId,
scene,
staffUUID: orderObj.sellerUserId,
}
: {}
).then(async (res) => {
// let userInfo = wx.$util.getUserInfo()
......@@ -134,8 +160,6 @@ Component({
let result = await api.getLastUserOrderInfo({
sellerUserId: userInfo.subLoginUser.uuid,
});
// let {data} = result
if (
result.data &&
result.data.merchantId == userInfo?.shopMerchantId
......@@ -198,14 +222,16 @@ Component({
orderObj: comOrderObj,
orderSellerInfo,
scene,
keyWord
} = this.data;
let thisPage = wx.$router.getPageInstance();
let { orderObj } = thisPage.data;
api
.getConversionEmployeeList({
.getEmployeeList({
merchantId,
sceneList: type == 1 ? [scene] : "",
name: keyWord
})
.then(async (res) => {
wx.$util.hideLoading();
......@@ -242,6 +268,7 @@ Component({
thisPage.data.orderCreateType,
"thisPage.data.orderCreateType"
);
// debugger
if (type == 1 && isFirst) {
// debugger
// console.log(merchantId)
......@@ -324,9 +351,9 @@ Component({
// 还要订单不是回显的
console.log(
type == 1 &&
merchantList.length == 1 &&
!orderObj.merchantId &&
!orderObj.merchantName
merchantList.length == 1 &&
!orderObj.merchantId &&
!orderObj.merchantName
);
if (
type == 1 &&
......@@ -348,11 +375,11 @@ Component({
selesList = selesList.length
? selesList
: [
{
uuid: -1,
staffName: "系统",
},
];
{
uuid: -1,
staffName: "系统",
},
];
selesList.forEach((element, index) => {
if (index == 0) {
element.active = true;
......
......@@ -4,8 +4,7 @@
<view class="sub-title">{{title}}</view>
<view class="merchant-box" style="max-height:{{moreMerchant?merchantList.length * 100 :''}}rpx">
<block wx:for="{{merchantList}}" wx:key="index">
<view class="merchantList {{item.active?'active':''}}" bindtap="changeMerchant" data-item="{{item}}"
data-index="{{index}}">
<view class="merchantList {{item.active?'active':''}}" bindtap="changeMerchant" data-item="{{item}}" data-index="{{index}}">
<view class="text-hide">{{item.merchantName}}</view>
</view>
</block>
......@@ -15,14 +14,16 @@
<image src="../images/open.png" class="icon {{moreMerchant ? 'hide':''}}"></image>
</view>
</block>
<view class="sub-title">{{subTitle}}</view>
<view class="sub-title">{{subTitle}}
</view>
<search-input styleValue=" border-bottom:none" wx:if="{{type == 1 }}" value="{{keyWord}}" bindsearch="search" placeholder="请输入" />
<view class="seles-list">
<block wx:for="{{selesList}}" wx:key="index">
<view class="seles text-center {{item.active?'active':''}}" bindtap="changeSelesMan" data-index="{{index}}"
data-item="{{item}}">
<view class="seles text-center {{item.active?'active':''}}" bindtap="changeSelesMan" data-index="{{index}}" data-item="{{item}}">
{{item.staffName}}
</view>
</block>
<view class="center " wx:if="{{type == 1&&keyWord&&selesList.length == 0 }}">暂无数据</view>
</view>
</view>
</scroll-view>
......
/* components/Merchant-Seles/Merchant-Seles.wxss */
.text-hide {
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.text-center{
.text-center {
display: flex;
align-items: center;
justify-content: center;
}
.seles-box{
.seles-list .center {
width: 100%;
text-align: center;
}
.seles-box {
height: 100%;
width: calc(100% + var(--fontSize64));
transform: translateX(calc(-1 * var(--fontSize32)));
}
.box{
.box {
padding: 0 var(--fontSize32);
}
.merchant-box{
.merchant-box {
max-height: var(--fontSize300);
overflow: hidden;
transition: all .25s;
}
.merchantList {
width: calc(100% - var(--fontSize50));
height: var(--fontSize98);
......@@ -55,12 +65,14 @@
text-align: center;
margin: var(--fontSize28) auto 0;
}
.more .icon{
.more .icon {
width: var(--fontSize24);
height: var(--fontSize22);
transition: all .25s;
}
.more .icon.hide{
.more .icon.hide {
transform: rotate(-180deg);
}
......@@ -81,7 +93,7 @@
display: flex;
flex-wrap: wrap;
flex-direction: row;
padding-bottom: var(--fontSize40);
}
......@@ -94,8 +106,13 @@
height: var(--fontSize60);
margin: 0 var(--fontSize40) var(--fontSize20) 0;
}
.seles.active{
background: rgba(53,130,238,0.08);
.seles.active {
background: rgba(53, 130, 238, 0.08);
color: #347BFF;
border-color: #347BFF;
}
.search-input search-input {
border: none;
}
\ No newline at end of file
// components/SearchInput/SearchInput.js
Component({
// options: {
// styleIsolation: 'shared'
// },
/**
* 组件的属性列表
*/
......@@ -14,6 +17,10 @@ Component({
filterEmoji: {
type: Boolean,
value: true
},
styleValue: {
type: String,
value: ''
}
},
......@@ -60,7 +67,7 @@ Component({
},
emit(e) {
let {
detail:{
detail: {
value
},
type
......
<view class="search-box">
<view class="search-box" style="{{styleValue}}">
<view class="search-input">
<block wx:if="{{!edit}}">
<view class="input {{value?'':'placeholder'}}" bindtap="open">
......@@ -12,7 +12,7 @@
</view>
</block>
<block wx:else>
<input type="text" maxlength="{{maxlength}}" class="input" value='{{value}}' focus='{{inputFocus}}' confirm-type="search" bindinput='input' bindblur="inputBlur" bindconfirm="inputConfifm"/>
<input type="text" maxlength="{{maxlength}}" class="input" value='{{value}}' focus='{{inputFocus}}' confirm-type="search" bindinput='input' bindblur="inputBlur" bindconfirm="inputConfifm" />
</block>
</view>
</view>
\ No newline at end of file
......@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 5cdptest
*/
let index = 2;
let index = 1;
const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion;
......
......@@ -97,7 +97,7 @@
<picker
wx:if="{{item.type == 'pickerTime'}}"
mode="date"
value="{{formData[name]}}"
value="{{formData[name] || formData[item.name]}}"
start="{{item.start || ''}}"
end="{{item.end || ''}}"
bindchange="handleTimeChange"
......
......@@ -55,6 +55,7 @@ Component({
formRule: constantData.formRule,
energyFormRule: constantData.energyFormRule,
oilFormRule: constantData.oilFormRule,
extendServiceFormRule: constantData.extendServiceFormRule,
isShowObj: {
car: true,
customer: true,
......@@ -138,6 +139,16 @@ Component({
formData
})
},
// 切换排量/功率
changeType(e) {
let { type, index } = e.currentTarget.dataset
let idName = 'extendService'
let childCom = this.selectComponent('#' + idName + index)
childCom.parentSetData('displacementPowerFlag', type)
this.setData({
[`serviceInfo.goodInfoList[${index}].displacementPowerFlag`]: type
})
},
onClickShow(e) {
const { type } = e.target.dataset
this.setData({ imgShow: true, imgType: type })
......@@ -197,7 +208,7 @@ Component({
let { value } = e.detail
let formData = this.getPageData()
let curitem = formData.goodInfoList[popObj.idx]
let idName = curitem.itemsCode == 'YB0003' ? 'oil' : 'energy'
let idName = curitem.itemsCode == 'YB0003' ? 'oil' : (curitem.itemsCode == 'YB0001' || curitem.itemsCode == 'YB0002') ? 'energy' : 'extendService'
let childCom = this.selectComponent('#' + idName + popObj.idx)
childCom.parentSetData(popObj.attr, value)
this.setData({
......@@ -249,7 +260,7 @@ Component({
})
},
handleConfirm(e) {
var { formRule, serviceInfo, imgObj, imgToInfo, energyFormRule, oilFormRule,retrofitInfo } = this.data
var { formRule, serviceInfo, imgObj, imgToInfo, energyFormRule, oilFormRule,retrofitInfo, extendServiceFormRule } = this.data
let formData = this.getPageData()
let validObj = fn.checkRequired(formData, formRule)
if (validObj) {
......@@ -286,7 +297,7 @@ Component({
// 延保产品-验证
if (item.printType == 2) {
// itemsCode标识:YB0001-延保-6大件,YB0002-延保-3电,YB0003-延保-油车
let subValidObj = fn.checkRequired(item, item.itemsCode == 'YB0003' ? oilFormRule : energyFormRule)
let subValidObj = fn.checkRequired(item, item.itemsCode == 'YB0003' ? oilFormRule : (item.itemsCode == 'YB0001' || item.itemsCode == 'YB0002') ? energyFormRule : extendServiceFormRule)
if (subValidObj) {
wx.$util.showToast(subValidObj.message)
return
......@@ -330,7 +341,7 @@ Component({
number += `.${decimal}`
value = number
}
let idName = curitem.itemsCode == 'YB0003' ? 'oil' : 'energy'
let idName = curitem.itemsCode == 'YB0003' ? 'oil' : (curitem.itemsCode == 'YB0001' || curitem.itemsCode == 'YB0002') ? 'energy' : 'extendService'
let childCom = this.selectComponent('#' + idName + idx)
childCom.parentSetData(attr, value)
this.setData({
......
......@@ -146,7 +146,7 @@
</view>
</gl-form>
<gl-form
wx:else
wx:if="{{ item.itemsCode == 'YB0001' || item.itemsCode == 'YB0002' }}"
id="{{ 'energy' + index }}"
background="#F4F5F7"
formData="{{ item }}"
......@@ -190,6 +190,39 @@
<text class="input-suffix">万公里</text>
</view>
</gl-form>
<gl-form
wx:if="{{ item.itemsCode != 'YB0001' && item.itemsCode != 'YB0002' && item.itemsCode != 'YB0003' }}"
id="{{ 'extendService' + index }}"
background="#F4F5F7"
formData="{{ item }}"
dataAttrName="{{ 'serviceInfo.goodInfoList[' + index +']' }}"
formDataList="{{ secondObj.productFormList[0].extendServiceFormList }}">
<view slot="displacementPower" class="displacementPower">
<view class="tab-box">
<view class="tab-item {{item.displacementPowerFlag == 0 ? 'active' : ''}}" data-type="0" data-index="{{index}}" bindtap="changeType">排量</view>
<view class="tab-item {{item.displacementPowerFlag == 1 ? 'active' : ''}}" data-type="1" data-index="{{index}}" bindtap="changeType">功率</view>
</view>
<view class="value">
<van-field
class="textarea between"
custom-style="width: var(--fontSize100);font-size: var(--fontSize28); padding: var(--fontSize30) 0; background: #F4F5F7;"
border="{{ false }}"
value="{{ item.displacementPowerValue }}"
input-align="right"
autosize
hold-keyboard
type="number"
placeholder="请输入"
maxlength="140"
data-attr="displacementPowerValue"
data-idx="{{ index }}"
data-curitem="{{ item }}"
bindinput="handleWarrantyInput"
/>
<text class="input-suffix">{{item.displacementPowerFlag == 0 ? 'L' : 'KW'}}</text>
</view>
</view>
</gl-form>
</view>
<gl-form
wx:else
......
......@@ -377,4 +377,41 @@
.pay-type .cell {
padding-left: var(--fontSize20) !important;
}
.displacementPower {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.displacementPower .tab-box{
width: var(--fontSize192);
height: var(--fontSize52);
background: #F3F3F5;
border-radius: var(--fontSize8);
display: flex;
align-items: center;
border: var(--fontSize2) solid #3582EE;
}
.displacementPower .tab-box .tab-item{
width: var(--fontSize96);
height: var(--fontSize52);
text-align: center;
line-height: var(--fontSize52);
border-radius: var(--fontSize8);
transition: all .25s;
color: #3582EE;
}
.displacementPower .tab-box .tab-item.active {
background-color: #3582EE;
color: #fff;
}
.displacementPower .value {
display: flex;
justify-content: flex-end;
align-items: center;
}
\ No newline at end of file
......@@ -190,6 +190,44 @@ const oilFormRule = {
]
}
const extendServiceFormRule = {
servicePeriod: [{ required: true, message: '服务年限不能为空' }],
displacementPowerValue: [
{ required: true, message: '排量或功率不能为空' },
{
validator: (rule, value) => {
return /^\d+(\.\d{1,2})?$/.test(value) ? null : { message: '排量或功率请输入仅有两位小数的数字' }
}
}
],
buyDate: [{ required: true, message: '购车发票日期不能为空' }],
qualityBeginDate: [{ required: true, message: '原厂质保开始日期不能为空' }],
warrantyPeriod: [
{ required: true, message: '原厂质保年限不能为空' },
{
validator: (rule, value) => {
return /^\d+$/.test(value) ? null : { message: '原厂质保年限请输入整数' }
}
}
],
warrantyKm: [
{ required: true, message: '原厂质保公里不能为空' },
{
validator: (rule, value) => {
return /^\d+(\.\d{1,2})?$/.test(value) ? null : { message: '原厂质保公里请输入仅有两位小数的数字' }
}
}
],
mileage: [
{ required: true, message: '合同购买时的公里数不能为空' },
{
validator: (rule, value) => {
return /^\d+(\.\d{1,2})?$/.test(value) ? null : { message: '合同购买时的公里数请输入仅有两位小数的数字' }
}
}
]
}
const secondObj = {
carFormList: [
{
......@@ -466,6 +504,70 @@ const secondObj = {
noCellHeight: true,
cellStyle: 'height: var(--fontSize90); border-bottom: 0;'
}
],
// 延保配置服务项目
extendServiceFormList: [
{
label: '服务年限',
name: 'servicePeriod',
type: 'input',
disabled: true,
suffix: '年',
noCellHeight: true,
cellStyle: 'height: var(--fontSize90);'
},
{
label: '',
name: 'displacementPower',
type: 'slot',
noCellHeight: true,
cellBoxStyle: 'width: 100%;',
labelWidth: '0px',
labelStyle: 'display: none;'
},
{
label: '购车发票日期',
name: 'buyDate',
type: 'pickerTime',
end: Util.tsFormatTime(new Date(), 'Y-M-D'),
labelWidth: 'var(--fontSize220)',
noCellHeight: true,
cellStyle: 'height: var(--fontSize90);',
haveArrow: true
},
{
label: '原厂质保开始日期',
name: 'qualityBeginDate',
type: 'pickerTime',
labelWidth: 'var(--fontSize240)',
noCellHeight: true,
cellStyle: 'height: var(--fontSize90);',
haveArrow: true
},
{
label: '原厂质保年限',
name: 'warrantyPeriod',
type: 'input',
noCellHeight: true,
cellStyle: 'height: var(--fontSize90);',
labelWidth: 'var(--fontSize220)',
},
{
label: '原厂质保公里(万公里)',
name: 'warrantyKm',
type: 'input',
noCellHeight: true,
cellStyle: 'height: var(--fontSize90);',
labelWidth: 'var(--fontSize340)',
},
{
label: '合同购买时的公里数',
name: 'mileage',
type: 'input',
noCellHeight: true,
cellStyle: 'height: var(--fontSize90);',
labelWidth: 'var(--fontSize280)',
}
]
},
// {
......@@ -503,6 +605,10 @@ const secondObj = {
label: '',
name: 'tireRule',
type: 'otherSlot',
isShowObj: {
attr: 'tireFlag',
list: ['1']
},
list: [
{
label: '轮胎规格',
......@@ -519,6 +625,10 @@ const secondObj = {
type: 'slot',
labelWidth: '0rpx',
noCellHeight: true,
isShowObj: {
attr: 'tireFlag',
list: ['1']
},
tireObj: {
tire: ''
},
......@@ -650,7 +760,7 @@ const secondObj = {
maxlength: '100'
}
],
retrofitList:[{
retrofitList: [{
label: ' ',
name: 'upload',
type: 'slot',
......@@ -665,5 +775,6 @@ export default {
formRule,
energyFormRule,
oilFormRule,
secondObj
secondObj,
extendServiceFormRule
}
......@@ -100,6 +100,12 @@ Page({
if (item.vehicleRegistrationDate) {
item.vehicleRegistrationDate = new Date(item.vehicleRegistrationDate).format('yyyy-MM-dd')
}
if (item.buyDate) {
item.buyDate = new Date(item.buyDate).format('yyyy-MM-dd')
}
if (item.qualityBeginDate) {
item.qualityBeginDate = new Date(item.qualityBeginDate).format('yyyy-MM-dd')
}
if (item.itemsCode == 'YB0003') {
item.gearbox = item.gearbox || ''
item.vehicleNature = typeof item.vehicleNature == 'number' ? item.vehicleNature : 1
......@@ -186,6 +192,9 @@ Page({
this.getInterestCardSetting(data.goodId)
}
// data.attachmentList = data.attachmentList
data?.goodInfoList?.forEach(val => {
if (val.printType == 2 && !['YB0001', 'YB0002', 'YB0003'].includes(val.itemsCode)) val.displacementPowerFlag = val.displacementPowerFlag || 0 // 默认是选中排量
})
this.setData({
serviceInfo: data,
['serviceInfo.attachmentList']:data?.attachmentList||[],
......
......@@ -148,6 +148,9 @@ Component({
// 获取推荐人列表
getEmployee() {
let userInfo = wx.$util.getStorageSync('dj_boutique_user_info')
this.setData({
userInfo
})
let params = {
merchantId: userInfo.default4SStoreInfo.merchantId
}
......@@ -241,7 +244,25 @@ Component({
},
// 品牌车型
handleJumpBrand(e) {
wx.$router.go('packageEquity.carBrands')
// wx.$router.go('packageEquity.carBrands')
this.setData({
showCarBrands: true, // 选择时再加载车型组件
carBrandBox: true
})
},
chooseCar(e) {
let { dataAttrName } = this.data
let { carBrand, carBrandId, carChildsBrandId, carChildsBrandName, carSeriesId, carSeriesName } = e.detail
let thisPage = wx.$router.getPageInstance()
thisPage.setData({
[dataAttrName + '.' + 'carBrand']: carBrand,
[dataAttrName + '.' + 'carBrandId']: carBrandId,
[dataAttrName + '.' + 'carChildsBrandId']: carChildsBrandId,
[dataAttrName + '.' + 'carChildsBrandName']: carChildsBrandName,
[dataAttrName + '.' + 'carSeriesId']: carSeriesId,
[dataAttrName + '.' + 'carSeriesName']: carSeriesName
})
},
/**获取园区配置 */
async getYqStoreConfig() {
......
......@@ -4,6 +4,7 @@
"gl-form": "/packageEquity/components/GLForm/GLForm",
"Gl-Button-Group": "../../../../components/GlButtonGroup/GlButtonGroup",
"store-referrer-picker": "../storeReferrerPicker/storeReferrerPicker",
"customerInfo": "/components/CustomerInfo/CustomerInfo"
"customerInfo": "/components/CustomerInfo/CustomerInfo",
"car-brands": "/components/CarBrands/CarBrands"
}
}
......@@ -49,7 +49,7 @@
<gl-form disable="{{disable}}" formData="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bind:inputEvent="inputEvent" formDataList="{{first.carFormList}}">
<view slot="brands" class="brand" bindtap="handleJumpBrand">
<view wx:if="{{serviceInfo.carBrandId}}">
{{serviceInfo.carBrand || ''}}/{{serviceInfo.carChildsBrandName || ''}}/{{serviceInfo.carSeriesName || ''}}
{{serviceInfo.carBrand || ''}}-{{serviceInfo.carChildsBrandName || ''}}-{{serviceInfo.carSeriesName || ''}}
</view>
<view wx:else class="placeholder-class">请选择</view>
</view>
......@@ -59,4 +59,6 @@
</view>
<store-referrer-picker bindconfirm="handleSalesChange" show="{{referrerPicker}}" referrerId="{{orderInfo.referrerId}}" pickerListAll="{{employeeList}}" />
<customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" apiType="2" />
\ No newline at end of file
<customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" apiType="2" />
<car-brands show="{{ carBrandBox }}" bindconfirm="chooseCar" carSeriesId="{{ serviceInfo.carSeriesId || '' }}" equityFlag="true" merchantId="{{ userInfo.default4SStoreInfo.merchantId || undefined }}" />
\ No newline at end of file
......@@ -293,7 +293,7 @@ Component({
name = c.goods.goodsAlias || c.goods.upgradeGoodsName || c.goods.goodsName
}
if (c.packageGoods) {
name = c.packageGoods.packageName
name = c.packageGoods.packageAlias || c.packageGoods.packageName
}
if (name.indexOf(value) != -1) {
arr.push(c)
......
......@@ -28,7 +28,7 @@
<view class="childbox">
<view class="item">
<view class="name text-hide ">
<view>{{i.packageGoods.packageName}}</view>
<view>{{i.packageGoods.packageAlias || i.packageGoods.packageName}}</view>
</view>
<view class="last">
<text class="price">¥{{i.packageGoods.sellPrice}}</text>
......
......@@ -39,7 +39,7 @@
<view class="deleteicon" bindtap="delGoodsList" data-index="{{ index }}">
<image src="./images/del.png" />
</view>
<view class="name text-hide">{{item.packageGoods.packageName}}</view>
<view class="name text-hide">{{item.packageGoods.packageAlias || item.packageGoods.packageNameAlias || item.packageGoods.packageName}}</view>
<view class="package-price">¥{{item.price}}</view>
<!-- <view class="count" catchtap="showPopup" data-show-name="goodsBox">x{{item.count||1}}</view> -->
</view>
......
......@@ -440,6 +440,7 @@ Page({
let obj = {
packageId: item.packageCode,
packageName: item.packageName,
packageNameAlias: item.packageAlias || item.packageNameAlias,
goodsId: ele.merchantGoodsId || ele.upgradeGoodsId,
goodsName: ele.upgradeGoodsName || ele.goodsName,
goodsNameAlias: ele.goodsAlias || ele.goodsNameAlias,
......
......@@ -222,6 +222,7 @@ Page({
let obj = {
packageId: item.packageCode,
packageName: item.packageName,
packageNameAlias: item.packageAlias || item.packageNameAlias,
goodsId: ele.merchantGoodsId || ele.upgradeGoodsId,
goodsName: ele.upgradeGoodsName || ele.goodsName,
goodsNameAlias: ele.goodsAlias || ele.goodsNameAlias,
......@@ -292,6 +293,7 @@ Page({
let obj = {
packageId: packageGoods.packageCode,
packageName: packageGoods.packageName,
packageNameAlias: packageGoods.packageAlias || pachageGoods.packageNameAlias,
goodsId: ele.goodsId,
goodsName: ele.goodsName,
goodsNameAlias: ele.goodsNameAlias,
......
......@@ -294,6 +294,7 @@ Page({
let obj = {
packageId: item.packageCode,
packageName: item.packageName,
packageNameAlias: item.packageAlias || item.packageNameAlias,
goodsId: ele.merchantGoodsId || ele.upgradeGoodsId,
goodsName: ele.upgradeGoodsName || ele.goodsName,
goodsNameAlias: ele.goodsAlias || ele.goodsNameAlias,
......@@ -364,6 +365,7 @@ Page({
let obj = {
packageId: packageGoods.packageCode,
packageName: packageGoods.packageName,
packageNameAlias: packageGoods.packageAlias || packageGoods.packageNameAlias,
goodsId: ele.goodsId,
goodsName: ele.goodsName,
goodsNameAlias: ele.goodsNameAlias,
......
......@@ -372,6 +372,17 @@ export const getPositionList = options => {
api.getPositionList({}).then(res => {
let { code, data } = res
if (code == 0) {
// const namReplaceobj = {
// 2: '前侧窗玻璃',
// 3: '后侧窗玻璃',
// 4: '后挡'
// }
// data = data.map(item => {
// if (namReplaceobj[item.positionValue]) {
// item.positionName = namReplaceobj[item.positionValue]
// }
// return item;
// })
app.globalData.positionTypeList = data
}
resolve(app.globalData.positionTypeList)
......
......@@ -26,6 +26,8 @@ Page({
skylight: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png",
tricorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png",
windshield: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png",
sideIcorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/sideIcon.png",
afterIcorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/afterIcon.png",
scanIcon:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png",
selectIcon:
......@@ -97,6 +99,8 @@ Page({
frontGearArr: [], // 前挡
sideRearGearArr: [], // 侧后挡
skylightArr: [], // 天窗
sideBeforeRearGearArr: [], // 前侧窗玻璃
sideAfterRearGearArr: [], // 后档
baseConfigData: {},
showSource: false,
Sourcecolumns: [
......@@ -213,7 +217,8 @@ Page({
orderObj: { selectPayType },
baseConfigData,
} = this.data;
let { showName, type } = e.currentTarget.dataset;
let { showName, type, positionnnum: positionNum } = e.currentTarget.dataset;
console.log(positionNum, 'positionNum');
let arr = [];
if (showName == "goodsBox") {
// type 产品类型 1前挡 2侧后挡 3天窗 4其它精品 根据类型过滤显示商品弹窗数据
......@@ -248,9 +253,10 @@ Page({
)
arr[i].upgradeGoodsList = arr2;
}
console.log([positionNum], [positionNum].includes(subVal.merchantGoodsPosition));
if (
type == 2 &&
[2, 3, 4].includes(subVal.merchantGoodsPosition)
[Number(positionNum)].includes(subVal.merchantGoodsPosition)
) {
arr2.push(subVal);
if (
......@@ -452,8 +458,11 @@ Page({
setGoodsTotal(goodsList) {
let total = 0;
goodsList.forEach((i) => {
console.log(i.shopMinPrice, i.price, i.shopMinPrice > i.price, ' i.shopMinPrice > i.price');
if (i.validMinSellPrice == 'Y' && i.shopMinPrice > i.price) {
i.errorTarget = true
} else {
i.errorTarget = false
}
if (i.goodsList) {
i.goodsList.forEach((item) => {
......@@ -1020,7 +1029,9 @@ Page({
first,
orderObj,
frontGearArr, // 前挡
sideBeforeRearGearArr, // 前侧窗玻璃
sideRearGearArr, // 侧后挡
sideAfterRearGearArr, // 后档
skylightArr, // 天窗
} = this.data;
let { subOrderList } = orderObj;
......@@ -1040,7 +1051,7 @@ Page({
})
.then((res) => {
let { code, data, message } = res;
console.log(subOrderList, 'subOrderList')
console.log(subOrderList, res, 'subOrderList')
if (code == 0) {
wx.hideLoading();
data?.forEach((val) => {
......@@ -1049,9 +1060,16 @@ Page({
if ([1].includes(subVal.merchantGoodsPosition)) {
frontGearArr.push(subVal);
}
if ([2, 3, 4].includes(subVal.merchantGoodsPosition)) {
if ([2].includes(subVal.merchantGoodsPosition)) {
sideBeforeRearGearArr.push(subVal);
}
if ([3,].includes(subVal.merchantGoodsPosition)) {
sideRearGearArr.push(subVal);
}
if ([4].includes(subVal.merchantGoodsPosition)) {
sideAfterRearGearArr.push(subVal);
}
if ([5, 6, 7].includes(subVal.merchantGoodsPosition)) {
skylightArr.push(subVal);
}
......@@ -1063,8 +1081,10 @@ Page({
subV.upgradeGoodsPosition &&
subVal.merchantGoodsPosition != subV.upgradeGoodsPosition &&
subVal.upgradeGoodsId == subV.upgradeGoodsId
)
) {
debugger
subV.upgradeGoodsPosition = subVal.merchantGoodsPosition;
}
});
}
});
......@@ -1124,6 +1144,8 @@ Page({
copyGoodsData: goodsData,
goodsList: subOrderList,
frontGearArr,
sideBeforeRearGearArr,
sideAfterRearGearArr,
sideRearGearArr,
skylightArr,
// orderObj
......
......@@ -111,7 +111,7 @@
<gl-cell border valueAlign="right" label="精品礼券" labelWidth="var(--fontSize140)" haveArrow requiredAfter required value="{{ (orderObj.couponName || '') + (orderObj.customerCouponCode || '') }}" placeholder="点击选择" bindclick="showPopup" data-show-name="couponBox" disabled="{{ orderObj.orderSource == 5 }}" />
<!-- class="{{orderObj.selectPayType ==0?'item-disabled':''}}" -->
<view class="goods_box">
<view class="label" style="margin-bottom: {{ !frontGearArr.length && !sideRearGearArr.length && !skylightArr.length ? 'var(--fontSize40)' : '' }};">
<view class="label" style="margin-bottom: {{ !frontGearArr.length && !sideRearGearArr.length && !skylightArr.length&&!sideBeforeRearGearArr.length&&!sideAfterRearGearArr.length ? 'var(--fontSize40)' : '' }};">
请选择产品
<text class="required">*</text>
</view>
......@@ -148,13 +148,79 @@
</view>
</block>
</block>
<block wx:if="{{ sideBeforeRearGearArr.length }}">
<gl-cell border valueAlign="right" label="前侧窗玻璃" logoSrc="{{ tricorn }}" labelWidth="var(--fontSize180)" haveArrow placeholder="点击选择" bindclick="showPopup" data-show-name="goodsBox" data-type="2" data-positionnnum="2" />
<block wx:if="{{ goodsList.length > 0 }}">
<view class="goods-box">
<block wx:for="{{ goodsList }}" wx:key="index">
<!-- 前侧窗玻璃 -->
<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [2]) }}">
<view class="name_box">
<view class="name text-hide">
{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
</view>
</view>
<view class="bottom_box">
<!-- merchantGoodsPosition商品列表部位字段 upgradeGoodsPosition订单详情部位字段 -->
<view class="position" wx:if="{{ (item.merchantGoodsPosition || item.upgradeGoodsPosition) && (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) }}">{{filter.formatPosition((item.merchantGoodsPosition || item.upgradeGoodsPosition), positionTypeList)}}</view>
<view class="position red_text" wx:if="{{ (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) && !item.merchantGoodsPosition && !item.upgradeGoodsPosition }}">无部位属性</view>
<view class="position" wx:else></view>
<view class="price_count">
<view class="price">
<text>¥</text>
<input type="digit" value="{{ item.price }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0 }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="2">x{{item.count}}</view>
</view>
</view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
<image src="../../images/del.png" />
</view>
</view>
</block>
</view>
</block>
</block>
<block wx:if="{{ sideRearGearArr.length }}">
<gl-cell border valueAlign="right" label="侧后挡" logoSrc="{{ tricorn }}" labelWidth="var(--fontSize140)" haveArrow placeholder="点击选择" bindclick="showPopup" data-show-name="goodsBox" data-type="2" />
<gl-cell border valueAlign="right" label="后侧窗玻璃" logoSrc="{{ sideIcorn }}" labelWidth="var(--fontSize180)" haveArrow placeholder="点击选择" bindclick="showPopup" data-show-name="goodsBox" data-type="2" data-positionnnum="3" />
<block wx:if="{{ goodsList.length > 0 }}">
<view class="goods-box">
<block wx:for="{{ goodsList }}" wx:key="index">
<!-- 后侧窗玻璃 -->
<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [3]) }}">
<view class="name_box">
<view class="name text-hide">
{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
</view>
</view>
<view class="bottom_box">
<!-- merchantGoodsPosition商品列表部位字段 upgradeGoodsPosition订单详情部位字段 -->
<view class="position" wx:if="{{ (item.merchantGoodsPosition || item.upgradeGoodsPosition) && (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) }}">{{filter.formatPosition((item.merchantGoodsPosition || item.upgradeGoodsPosition), positionTypeList)}}</view>
<view class="position red_text" wx:if="{{ (item.goodsInfo.goodsType == 1 || item.upgradeGoodsType == 1 || item.goodsInfo.goodsType == baseConfigData.selfBuildFilmType || item.upgradeGoodsType == baseConfigData.selfBuildFilmType) && !item.merchantGoodsPosition && !item.upgradeGoodsPosition }}">无部位属性</view>
<view class="position" wx:else></view>
<view class="price_count">
<view class="price">
<text>¥</text>
<input type="digit" value="{{ item.price }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0 }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="2">x{{item.count}}</view>
</view>
</view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
<image src="../../images/del.png" />
</view>
</view>
</block>
</view>
</block>
</block>
<block wx:if="{{ sideAfterRearGearArr.length }}">
<gl-cell border valueAlign="right" label="后档" logoSrc="{{ afterIcorn }}" labelWidth="var(--fontSize140)" haveArrow placeholder="点击选择" bindclick="showPopup" data-show-name="goodsBox" data-type="2" data-positionnnum="4" />
<block wx:if="{{ goodsList.length > 0 }}">
<view class="goods-box">
<block wx:for="{{ goodsList }}" wx:key="index">
<!-- 侧后挡 -->
<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [2, 3, 4]) }}">
<!-- 后档 -->
<view class="goods" wx:if="{{ filter.filterIncludes((item.merchantGoodsPosition || item.upgradeGoodsPosition), [4]) }}">
<view class="name_box">
<view class="name text-hide">
{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || filter.replaceItemText(item.goodsInfo.goodsName)}}
......
......@@ -62,7 +62,8 @@ const domain_items = {
// dj: 'http://192.168.1.104:8292', //叶立庆
// dj: "http://192.168.1.169:8292", //蔡远明
// dj: 'http://192.168.1.174:8292',//范富荣
dj: 'http://192.168.1.89:8292', //周杭
// dj: 'http://192.168.1.89:8292', //周杭
dj: 'http://192.168.1.89:8292', //璐琦
// dj: 'http://192.168.1.116:8292',//陈希
// dj: 'http://192.168.1.60:8292',//周立明
// dj: 'http://192.168.148.235:8292',// 熊正顺
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!