Commit 986a946b by 张立顺

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

…outique-work-wechat into SAAS+V4.53.1-0610
2 parents f37dc03b 5b6bd334
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
z-index: 998; z-index: 998;
transform: translateZ(2px);
} }
.popup-bg { .popup-bg {
......
...@@ -10,9 +10,7 @@ Component({ ...@@ -10,9 +10,7 @@ Component({
}, },
show: { show: {
type: Boolean, type: Boolean,
observer: function () { observer: function (n) { }
}
}, },
goodsData: { goodsData: {
type: Object, type: Object,
...@@ -28,7 +26,16 @@ Component({ ...@@ -28,7 +26,16 @@ Component({
}, },
}, },
}, },
observers: {
'show': function (value, old) {
console.log(value, old, 'show');
let thisPage = wx.$router.getPageInstance()
thisPage.setData({
scrollDisabled: value
})
}
},
/** /**
* 组件的初始数据 * 组件的初始数据
*/ */
...@@ -100,8 +107,13 @@ Component({ ...@@ -100,8 +107,13 @@ Component({
if (value < 1) value = 1 if (value < 1) value = 1
if (value > 999) value = 999 if (value > 999) value = 999
goodsData.multipleSpecificationsGoods.skuGoodsList[index].count = value goodsData.multipleSpecificationsGoods.skuGoodsList[index].count = value
// this.setData({
// // goodsData
// })
},
blur() {
this.setData({ this.setData({
goodsData goodsData: this.data.goodsData
}) })
}, },
getChooseList() { getChooseList() {
...@@ -139,7 +151,7 @@ Component({ ...@@ -139,7 +151,7 @@ Component({
c.multipleSpecificationsGoods.goods.price = c.multipleSpecificationsGoods.goods.sellPrice || 0 c.multipleSpecificationsGoods.goods.price = c.multipleSpecificationsGoods.goods.sellPrice || 0
if (chooseGoodsList.length > 0) { if (chooseGoodsList.length > 0) {
chooseGoodsList.map(x => { chooseGoodsList.map(x => {
if (x.goodsFlag == 2&&x.multipleSpecificationsGoods) { if (x.goodsFlag == 2 && x.multipleSpecificationsGoods) {
console.log(x.multipleSpecificationsGoods.goods && x.multipleSpecificationsGoods.goods.goodsId == c.multipleSpecificationsGoods.goods.goodsId, 'x.multipleSpecificationsGoods.goods && x.multipleSpecificationsGoods.goods.goodsId == c.multipleSpecificationsGoods.goods.goodsId') console.log(x.multipleSpecificationsGoods.goods && x.multipleSpecificationsGoods.goods.goodsId == c.multipleSpecificationsGoods.goods.goodsId, 'x.multipleSpecificationsGoods.goods && x.multipleSpecificationsGoods.goods.goodsId == c.multipleSpecificationsGoods.goods.goodsId')
if (x.multipleSpecificationsGoods.goods && x.multipleSpecificationsGoods.goods.goodsId == c.multipleSpecificationsGoods.goods.goodsId) { if (x.multipleSpecificationsGoods.goods && x.multipleSpecificationsGoods.goods.goodsId == c.multipleSpecificationsGoods.goods.goodsId) {
console.log(c) console.log(c)
...@@ -198,5 +210,14 @@ Component({ ...@@ -198,5 +210,14 @@ Component({
show: false show: false
}) })
}, },
},
lifetimes: {
attached() {
console.log(77777)
this.setData({
windowHight: wx.getSystemInfoSync().windowHeight
})
}
} }
}) })
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/carQuotation/components/skuGoods/Goods.wxss */ /* packageEquity/pages/carQuotation/components/skuGoods/Goods.wxss */
.title { .title {
width: 100%; width: 100%;
font-weight: 500; font-weight: 500;
...@@ -120,6 +121,7 @@ ...@@ -120,6 +121,7 @@
background: #FFFFFF; background: #FFFFFF;
border: 2rpx solid #EFF0F2; border: 2rpx solid #EFF0F2;
border-radius: 12rpx; border-radius: 12rpx;
text-align: center;
} }
.popup-footer { .popup-footer {
display: flex; display: flex;
......
<van-popup custom-style="min-height: 280px;width:var(--fontSize686);" round z-index="999999" custom-class="popclass" bind:click-overlay="closeMenu" bind:before-enter="hideTabBar" bind:after-leave="showTabBar" show="{{ show }}"> <van-popup lock-scroll catchtouchmove="noScroll" custom-style="min-height: 280px;width:var(--fontSize686);" round z-index="999999" custom-class="popclass" bind:click-overlay="closeMenu" bind:before-enter="hideTabBar" bind:after-leave="showTabBar" show="{{ show }}">
<view class="title">确认需购买的商品</view> <view class="title">确认需购买的商品</view>
<view class="tips">温馨提示:请根据实际需求选择正确的价格方案</view> <view class="tips">温馨提示:请仔细确认当前售价,避免录错单</view>
<view class="goods"> <view class="goods" catchtouchmove="noScroll">
<scroll-view scroll-y style="height:350px;">
<view class="item-wrap {{i.active?'active':''}}" wx:for="{{goodsData.multipleSpecificationsGoods.skuGoodsList}}" wx:key="ind" wx:for-index="index" wx:for-item="i"> <view class="item-wrap {{i.active?'active':''}}" wx:for="{{goodsData.multipleSpecificationsGoods.skuGoodsList}}" wx:key="ind" wx:for-index="index" wx:for-item="i">
<view class="icon" catchtap="choose" data-index="{{index}}" data-item="{{i}}"> <view class="icon" catchtap="choose" data-index="{{index}}" data-item="{{i}}">
<block wx:if="{{i.active}}"> <block wx:if="{{i.active}}">
...@@ -28,12 +29,13 @@ ...@@ -28,12 +29,13 @@
{{i.sellPrice}} {{i.sellPrice}}
</view> </view>
</view> </view>
<view style="display:flex;align-items: center;" wx:if="{{i.active&&sceneType==1}}" >x <input type="number" catchtap="noScroll"class="input" value="{{i.count || 1}}" catchinput="input" data-index="{{index}}" data-item="{{i}}" /></view> <view style="display:flex;align-items: center;" wx:if="{{i.active&&sceneType==1}}">x <input type="number" catchtap="noScroll" class="input" value="{{i.count || 1}}" catchinput="input" bindblur="blur" data-index="{{index}}" data-item="{{i}}" /></view>
<view class="count" catchtap="showPopup" wx:else data-show-name="goodsBox">x{{i.count||1}}</view> <view class="count" catchtap="showPopup" wx:else data-show-name="goodsBox">x{{i.count||1}}</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</scroll-view>
</view> </view>
<view class="popup-footer {{ isFullSucreen?'isFullSucreen':'' }}"> <view class="popup-footer {{ isFullSucreen?'isFullSucreen':'' }}">
<view class="cancel btn text-center" bind:tap="hidePopup">取消</view> <view class="cancel btn text-center" bind:tap="hidePopup">取消</view>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
width: 100%; width: 100%;
color: #347BFF; color: #347BFF;
font-size: var(--fontSize24); font-size: var(--fontSize24);
/* z-index: 1; */
} }
.tipsIcon { .tipsIcon {
......
...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd' ...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 0; let index = 2;
const accountInfo = wx.getAccountInfoSync(); const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync(); const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion; const envName = accountInfo.miniProgram.envVersion;
......
...@@ -54,7 +54,8 @@ Component({ ...@@ -54,7 +54,8 @@ Component({
// startTime: `2024-04-23 00:00:00`, // startTime: `2024-04-23 00:00:00`,
// endTime: `2024-04-23 23:59:59` // endTime: `2024-04-23 23:59:59`
startTime: `${today} 00:00:00`, startTime: `${today} 00:00:00`,
endTime: `${today} 23:59:59` endTime: `${today} 23:59:59`,
bussinessType: 1, //"业务类型 1.延保 2.轻改"
}) })
let list = data?.list || [] let list = data?.list || []
list?.length && list.map(e => { list?.length && list.map(e => {
......
...@@ -13,6 +13,11 @@ Component({ ...@@ -13,6 +13,11 @@ Component({
keyWord: '', keyWord: '',
strTemp: '' strTemp: ''
}) })
if (this.data.chooseGoodsList.length == 0) {
this.setData({
isFlag: true
})
}
// this.getOrderBaseGoodsList(n) // this.getOrderBaseGoodsList(n)
let thisPage = wx.$router.getPageInstance() let thisPage = wx.$router.getPageInstance()
thisPage.getQuotationInfo(true) thisPage.getQuotationInfo(true)
...@@ -33,6 +38,8 @@ Component({ ...@@ -33,6 +38,8 @@ Component({
type: Array, type: Array,
observer: function (n) { observer: function (n) {
console.log(n, 'chooseGoodsList'); console.log(n, 'chooseGoodsList');
// wx.showLoading('请求中...')
this.setGoodsActive() this.setGoodsActive()
} }
}, },
...@@ -45,6 +52,7 @@ Component({ ...@@ -45,6 +52,7 @@ Component({
* 组件的初始数据 * 组件的初始数据
*/ */
data: { data: {
isFlag: false,
goodsList: [], goodsList: [],
recordList: [], recordList: [],
specificBox: false specificBox: false
...@@ -260,6 +268,7 @@ Component({ ...@@ -260,6 +268,7 @@ Component({
} = this.data } = this.data
this.setData({ this.setData({
goodsList: goodsData, goodsList: goodsData,
isFlag: false
}) })
this.setGoodsActive() this.setGoodsActive()
}, },
...@@ -271,6 +280,8 @@ Component({ ...@@ -271,6 +280,8 @@ Component({
show show
} = this.data } = this.data
if (show) { if (show) {
wx.$util.showLoading()
console.log(222222)
if (chooseGoodsList.length == 0) { if (chooseGoodsList.length == 0) {
goodsList.forEach(e => { goodsList.forEach(e => {
e.active = false e.active = false
...@@ -332,7 +343,10 @@ Component({ ...@@ -332,7 +343,10 @@ Component({
} }
this.setData({ this.setData({
goodsList, goodsList,
recordList recordList,
isFlag: true
}, () => {
wx.hideLoading()
}) })
} }
...@@ -573,7 +587,8 @@ Component({ ...@@ -573,7 +587,8 @@ Component({
}) })
this.setData({ this.setData({
show: false show: false,
isFlag: false
}) })
} }
} }
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<!-- <text class="tips">|建议价</text> <!-- <text class="tips">|建议价</text>
</view> --> </view> -->
<view class="box"> <view class="box">
<block wx:if="{{isFlag}}">
<block wx:for="{{goodsList}}" wx:key="ind" wx:for-index="ind" wx:for-item="i"> <block wx:for="{{goodsList}}" wx:key="ind" wx:for-index="ind" wx:for-item="i">
<view class="item-wrap"> <view class="item-wrap">
<view class="item {{minPrice?(minPrice/100)>= i.shopMinPrice ?'':'disableSelect':'' }}"> <view class="item {{minPrice?(minPrice/100)>= i.shopMinPrice ?'':'disableSelect':'' }}">
...@@ -82,6 +83,8 @@ ...@@ -82,6 +83,8 @@
</view> </view>
</block> </block>
</block>
</view> </view>
<!-- </block> --> <!-- </block> -->
</block> </block>
......
...@@ -276,7 +276,8 @@ ...@@ -276,7 +276,8 @@
position: relative; position: relative;
color: #222222; color: #222222;
} }
.goods-box .goods{
.goods-box .goods {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
...@@ -320,7 +321,20 @@ ...@@ -320,7 +321,20 @@
position: relative; position: relative;
margin-right: var(--fontSize32); margin-right: var(--fontSize32);
margin-left: auto; margin-left: auto;
min-width:160rpx; min-width: 160rpx;
}
.price-box-Modify {
display: flex;
align-items: center;
justify-content: flex-end;
font-weight: 400;
font-size: 28rpx;
color: #333333;
width: var(--fontSize240);
min-width: 160rpx;
height: var(--fontSize64);
margin-right: var(--fontSize32);
} }
.goods-box .goods .price-box text { .goods-box .goods .price-box text {
...@@ -557,19 +571,23 @@ ...@@ -557,19 +571,23 @@
display: block; display: block;
} }
.alias{
.alias {
font-size: 12px; font-size: 12px;
color: #222222!important; color: #222222 !important;
} }
.bottom_box{
.bottom_box {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.bottom_box .position {
.bottom_box .position {
color: #888888; color: #888888;
} }
.bottom_box .right{
.bottom_box .right {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
......
...@@ -27,7 +27,14 @@ ...@@ -27,7 +27,14 @@
{{item.goods.goodsAlias || item.goods.goodsNameAlias|| filter.replaceItemText(item.goods.upgradeGoodsName ,( item.goods.specificationData? '/'+item.goods.specificationData:'')) || filter.replaceItemText(item.goods.goodsName, (item.goods.specificationData? '/'+item.goods.specificationData:''))}} {{item.goods.goodsAlias || item.goods.goodsNameAlias|| filter.replaceItemText(item.goods.upgradeGoodsName ,( item.goods.specificationData? '/'+item.goods.specificationData:'')) || filter.replaceItemText(item.goods.goodsName, (item.goods.specificationData? '/'+item.goods.specificationData:''))}}
<!-- {{filter.replaceItemText(item.goods.goodsAlias) ||filter.replaceItemText(item.goods.upgradeGoodsName) || filter.replaceItemText(item.goods.goodsName)}} --> <!-- {{filter.replaceItemText(item.goods.goodsAlias) ||filter.replaceItemText(item.goods.upgradeGoodsName) || filter.replaceItemText(item.goods.goodsName)}} -->
</view> </view>
<view class="price-box"> <!-- goodsPriceModify:true 价格不可以修改,false价格可以修改 -->
<view class="price-box-Modify" wx:if="{{item.goods.goodsPriceModify}}">
<text>¥</text>
<view class="price">
{{ item.goods.price}}
</view>
</view>
<view class="price-box" wx:else>
<text>¥</text> <text>¥</text>
<view class="price"> <view class="price">
<input type="digit" value="{{ item.goods.price }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.checkError ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ item.goods.price }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.checkError ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
...@@ -48,9 +55,16 @@ ...@@ -48,9 +55,16 @@
<view class="packageBox"> <view class="packageBox">
<view class="itemSty" wx:for="{{ item.packageGoods.goodsList }}" wx:key="childind" wx:for-index="childind" wx:for-item="child"> <view class="itemSty" wx:for="{{ item.packageGoods.goodsList }}" wx:key="childind" wx:for-index="childind" wx:for-item="child">
<view class="name ">{{child.goodsAlias || child.goodsNameAlias || filter.replaceItemText(child.upgradeGoodsName , (item.specificationData? '/'+child.specificationData: '') ) ||filter.replaceItemText(child.goodsName ,( item.specificationData? '/'+child.specificationData: '') ) }}</view> <view class="name ">{{child.goodsAlias || child.goodsNameAlias || filter.replaceItemText(child.upgradeGoodsName , (item.specificationData? '/'+child.specificationData: '') ) ||filter.replaceItemText(child.goodsName ,( item.specificationData? '/'+child.specificationData: '') ) }}</view>
<view class="price-box"> <view class="price-box-Modify" wx:if="{{child.goodsPriceModify}}">
<text>¥</text>
<view class="price">
{{ child.price}}
</view>
</view>
<view class="price-box" wx:else>
<text>¥</text> <text>¥</text>
<view class="price"> <view class="price">
<input type="digit" value="{{ child.price }}" bindinput="changePricePackage" disabled="{{ orderObj.selectPayType ==0 ||child.goodsPriceModify}}" data-childind="{{ childind }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ child.checkError ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ child.price }}" bindinput="changePricePackage" disabled="{{ orderObj.selectPayType ==0 ||child.goodsPriceModify}}" data-childind="{{ childind }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ child.checkError ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
</view> </view>
...@@ -64,8 +78,8 @@ ...@@ -64,8 +78,8 @@
<image src="./images/del.png" /> <image src="./images/del.png" />
</view> </view>
<view class="goods-content" > <view class="goods-content">
<view class="alias" wx:if="{{item.multipleSpecificationsGoods.goods.goodsAlias}}" > <view class="alias" wx:if="{{item.multipleSpecificationsGoods.goods.goodsAlias}}">
商品别名:{{item.multipleSpecificationsGoods.goods.goodsAlias}} 商品别名:{{item.multipleSpecificationsGoods.goods.goodsAlias}}
</view> </view>
<view class="bottom_box"> <view class="bottom_box">
...@@ -74,12 +88,19 @@ ...@@ -74,12 +88,19 @@
<view class="position" wx:if="{{ item.multipleSpecificationsGoods.goods.specificationStr }}">{{item.multipleSpecificationsGoods.goods.specificationStr}}</view> <view class="position" wx:if="{{ item.multipleSpecificationsGoods.goods.specificationStr }}">{{item.multipleSpecificationsGoods.goods.specificationStr}}</view>
</view> </view>
<view class="right"> <view class="right">
<view class="price-box"> <view class="price-box-Modify" wx:if="{{item.multipleSpecificationsGoods.goods.goodsPriceModify}}">
<text>¥</text>
<view class="price">
{{ item.multipleSpecificationsGoods.goods.price}}
</view>
</view>
<view class="price-box" wx:else>
<text>¥</text> <text>¥</text>
<view class="price"> <view class="price">
<input type="digit" value="{{item.multipleSpecificationsGoods.goods.price}}" bindinput="changeSpecific" disabled="{{ orderObj.selectPayType ==0||item.multipleSpecificationsGoods.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.multipleSpecificationsGoods.goods.checkError ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{item.multipleSpecificationsGoods.goods.price}}" bindinput="changeSpecific" disabled="{{ orderObj.selectPayType ==0||item.multipleSpecificationsGoods.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.multipleSpecificationsGoods.goods.checkError ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox">x{{item.count||1}}</view> <view class="count" catchtap="showPopup" data-show-name="goodsBox">x{{item.count||1}}</view>
</view> </view>
</view> </view>
...@@ -150,6 +171,6 @@ ...@@ -150,6 +171,6 @@
</van-collapse> </van-collapse>
<Gl-Button-Group bindbtnTap="btnTap" textNameObj="{{ textNameObj }}" /> <Gl-Button-Group bindbtnTap="btnTap" textNameObj="{{ textNameObj }}" />
</view> </view>
<goods show="{{ goodsBox }}" wx:if="{{goodsBox}}" bindconfirm="chooseGoods" goodsData="{{ quotationGoodsList }}" chooseGoodsList="{{ orderInfo.vdQuotationGoodsList }}" /> <goods show="{{ goodsBox }}" bindconfirm="chooseGoods" goodsData="{{ quotationGoodsList }}" chooseGoodsList="{{ orderInfo.vdQuotationGoodsList }}" />
<sku-goods show="{{ skuGoodsBox }}" wx:if="{{skuGoodsBox}}" sceneType="0" goodsData="{{ skuGoodsData }}" chooseGoodsList="{{ orderInfo.vdQuotationGoodsList }}"></sku-goods> <sku-goods show="{{ skuGoodsBox }}" wx:if="{{skuGoodsBox}}" sceneType="0" goodsData="{{ skuGoodsData }}" chooseGoodsList="{{ orderInfo.vdQuotationGoodsList }}"></sku-goods>
<date-select show="{{ showDateSelect }}" bind:close="closeDateModal" selectPay="{{orderInfo.payType}}" bind:confirm="onChanteSuccessDate"></date-select> <date-select show="{{ showDateSelect }}" bind:close="closeDateModal" selectPay="{{orderInfo.payType}}" bind:confirm="onChanteSuccessDate"></date-select>
\ No newline at end of file \ No newline at end of file
...@@ -28,6 +28,7 @@ Page({ ...@@ -28,6 +28,7 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
scrollDisabled: false,
tipsProps: { tipsProps: {
tipsText: "该门店产生异常订单,请点击补录!", tipsText: "该门店产生异常订单,请点击补录!",
showTips: true, showTips: true,
...@@ -949,7 +950,7 @@ Page({ ...@@ -949,7 +950,7 @@ Page({
//多规格商品 //多规格商品
if (!item.packageName && item.specificationsValue) { if (!item.packageName && item.specificationsValue) {
let specificdata = this.handleSpecificationsEcho(item) let specificdata = this.handleSpecificationsEcho(item)
pre= pre.concat(specificdata) pre = pre.concat(specificdata)
} }
// item.price = // item.price =
...@@ -982,35 +983,41 @@ Page({ ...@@ -982,35 +983,41 @@ Page({
orderInfo.vdQuotationGoodsList.length && this.totalFee() orderInfo.vdQuotationGoodsList.length && this.totalFee()
} }
}) })
.catch(err => {}) .catch(err => { })
}, },
handleSpecificationsEcho(item) { handleSpecificationsEcho(item) {
console.log('item', item)
let { let {
quotationGoodsList quotationGoodsList
} = this.data, skuArr = [], } = this.data, skuArr = [],
arr = item.specificationsValue.split('/'), arr = item.specificationsValue.split('/'),
str = arr.join(';~;'), str = arr.join(';~;');
obj = {
goodsFlag: 2,
goods: null,
};
quotationGoodsList.forEach(data => { quotationGoodsList.forEach(data => {
if (data.goodsFlag == 2) { if (data.goodsFlag == 2) {
let tempData = data.multipleSpecificationsGoods.specificationGoodsMap[str] let tempData = data.multipleSpecificationsGoods.specificationGoodsMap[str]
if (tempData) { if (tempData) {
tempData.forEach(temp => { tempData.forEach(temp => {
if (temp.merchantGoodsId == item.goodsId) { if (temp.merchantGoodsId == item.goodsId) {
let obj = {
goodsFlag: 2,
goods: null,
}
obj.multipleSpecificationsGoods = {
goods: temp,
baseGoodsName: item.goodsName
}
temp.price = this.divideByHundred(item.goodsPrice) temp.price = this.divideByHundred(item.goodsPrice)
temp.goodsId = item.goodsId temp.goodsId = item.goodsId
temp.specificationStr = item.specificationsValue temp.specificationStr = item.specificationsValue
data.multipleSpecificationsGoods.goods = temp // data.multipleSpecificationsGoods.goods = temp
data.multipleSpecificationsGoods.baseGoodsName = item.goodsName // data.multipleSpecificationsGoods.baseGoodsName = item.goodsName
data.multipleSpecificationsGoods.specificationList.forEach((value, index) => { // data.multipleSpecificationsGoods.specificationList.forEach((value, index) => {
value.value = arr[index] // value.value = arr[index]
}) // })
// obj.multipleSpecificationsGoods = data.multipleSpecificationsGoods
obj.multipleSpecificationsGoods = data.multipleSpecificationsGoods console.log('🚀', obj)
skuArr.push(obj) skuArr.push(obj)
} }
}) })
...@@ -1367,7 +1374,7 @@ Page({ ...@@ -1367,7 +1374,7 @@ Page({
navBarHeight navBarHeight
}) })
}, },
init() {}, init() { },
onRoute(options) { onRoute(options) {
console.log(options, 'options') console.log(options, 'options')
// options.id = 9047 // options.id = 9047
...@@ -1606,7 +1613,7 @@ Page({ ...@@ -1606,7 +1613,7 @@ Page({
}) })
} }
}) })
.catch(err => {}) .catch(err => { })
}, },
setTime() { setTime() {
let _this = this; let _this = this;
...@@ -1637,13 +1644,18 @@ Page({ ...@@ -1637,13 +1644,18 @@ Page({
}); });
} }
}) })
.catch((err) => {}); .catch((err) => { });
// } // }
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad(options) {
/*获取屏幕高度*/
this.setData({
windowHeight: wx.getSystemInfoSync().windowHeight
})
const that = this const that = this
wx.$eventbus.on('set_car_info', res => { wx.$eventbus.on('set_car_info', res => {
that.setData({ that.setData({
...@@ -1659,7 +1671,7 @@ Page({ ...@@ -1659,7 +1671,7 @@ Page({
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */
onReady() {}, onReady() { },
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
...@@ -1683,13 +1695,13 @@ Page({ ...@@ -1683,13 +1695,13 @@ Page({
/** /**
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
onPullDownRefresh() {}, onPullDownRefresh() { },
/** /**
* 页面上拉触底事件的处理函数 * 页面上拉触底事件的处理函数
*/ */
onReachBottom() {}, onReachBottom() { },
/** /**
* 用户点击右上角分享 * 用户点击右上角分享
*/ */
onShareAppMessage() {} onShareAppMessage() { }
}) })
\ No newline at end of file \ No newline at end of file
...@@ -11,6 +11,11 @@ page { ...@@ -11,6 +11,11 @@ page {
/* min-height: 100vh; */ /* min-height: 100vh; */
} }
.scroll-disabled {
height: 100vh;
overflow: hidden;
}
.navigation-title { .navigation-title {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -43,7 +48,7 @@ page { ...@@ -43,7 +48,7 @@ page {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
/* height: calc(100vh - 50px); */ /* height: calc(100vh - 50px); */
overflow: scroll; // overflow: scroll;
} }
.btns { .btns {
...@@ -171,6 +176,7 @@ page { ...@@ -171,6 +176,7 @@ page {
// background: #EFF5FE; // background: #EFF5FE;
background-color: #fff; background-color: #fff;
z-index: 9; z-index: 9;
transform: translateZ(1px);
&.showTips { &.showTips {
bottom: 0rpx; bottom: 0rpx;
......
<!-- packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxml --> <!-- packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxml -->
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy> <glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<!-- <scroll-view class="container" scroll-y style="height:{{windowHeight}}px"> -->
<navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="{{ true }}" bindback="back"> <navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="{{ true }}" bindback="back">
<view class="navigation-title"> <view class="navigation-title">
<view class="navigation-title-text text-hide"> <view class="navigation-title-text text-hide">
...@@ -7,7 +8,8 @@ ...@@ -7,7 +8,8 @@
</view> </view>
</view> </view>
</navigation-bar> </navigation-bar>
<view class="layout {{(showTips||waitInputCount)?'fullSucreen-tips':'' }} " style="padding-top:{{ navBarHeight }}px;"> <!-- {{scrollDisabled? "": height:{{windowHeight}}px}} -->
<view class="layout {{(showTips||waitInputCount)?'fullSucreen-tips':'' }} {{scrollDisabled?'scroll-disabled':''}}" style="padding-top:{{ navBarHeight }}px; ">
<first-step id="FirstStep" serviceInfo="{{ owner }}" dataAttrName="{{ dataAttrName }}" orderInfo="{{ orderInfo }}" subBtnShow="{{ false }}" mode="{{mode}}" /> <first-step id="FirstStep" serviceInfo="{{ owner }}" dataAttrName="{{ dataAttrName }}" orderInfo="{{ orderInfo }}" subBtnShow="{{ false }}" mode="{{mode}}" />
<second-step id="SecondStep" orderInfo="{{ orderInfo }}" quotationGoodsList="{{ quotationGoodsList }}" bindconfirm="handleSecondConfirm" bindeditSave="handleEditSave" /> <second-step id="SecondStep" orderInfo="{{ orderInfo }}" quotationGoodsList="{{ quotationGoodsList }}" bindconfirm="handleSecondConfirm" bindeditSave="handleEditSave" />
</view> </view>
...@@ -29,6 +31,7 @@ ...@@ -29,6 +31,7 @@
<!-- <image class="closeIcon" bindtap="closeTips" src="../../../images/closeIcon.png" /> --> <!-- <image class="closeIcon" bindtap="closeTips" src="../../../images/closeIcon.png" /> -->
</view> </view>
</view> </view>
<!-- </scroll-view> -->
<view class="waitOrderCon {{ showTips? 'showTips':'' }}" wx:if="{{ waitInputCount && !orderInfo.resetOrder && !isErrorOrder&&!outTradeNo }}"> <view class="waitOrderCon {{ showTips? 'showTips':'' }}" wx:if="{{ waitInputCount && !orderInfo.resetOrder && !isErrorOrder&&!outTradeNo }}">
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" /> <tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" />
</view> </view>
......
...@@ -530,7 +530,7 @@ swiper{ ...@@ -530,7 +530,7 @@ swiper{
position: sticky; position: sticky;
top: var(--fontSize168); top: var(--fontSize168);
left: 0; left: 0;
z-index: 1000; z-index: 100;
} }
.date { .date {
flex-shrink: 0; flex-shrink: 0;
......
...@@ -138,103 +138,7 @@ Page({ ...@@ -138,103 +138,7 @@ Page({
merchantPayList: [], // 门店收款方对应支付方式 merchantPayList: [], // 门店收款方对应支付方式
configPayTypeList: [], // 园区店配置支持的支付方式 configPayTypeList: [], // 园区店配置支持的支付方式
recordOrderFlag: true, // 补录订单入口标识 recordOrderFlag: true, // 补录订单入口标识
skuGoodsData: { skuGoodsData: {}, //多规格商品数据
active: true,
count: 1,
goods: null,
goodsFlag: 2,
isFlag: true,
multipleSpecificationsGoods: {
skuGoodsList: [{
count: 1,
active: true,
errorTarget: false,
goodsAlias: "别名001",
goodsId: 15961,
lastOnShelfTime: 1747903884000,
maxSuitCarPrice: null,
merchantGoodsCode: "MG2025052215304361811",
merchantGoodsId: 15961,
merchantGoodsPosition: null,
minSellPrice: 1,
minSuitCarPrice: null,
position: null,
price: 4,
sellPrice: 4,
specificationData: "111111111;~;红色;~;超大大大;~;烦躁",
specificationNameSequence: "型号;~;颜色;~;规格;~;上班",
specificationStr: "111111111/红色/超大大大/烦躁",
specificationTypeSequence: "0;~;0;~;0;~;0",
upgradeGoodsAlias: null,
upgradeGoodsId: 6119,
upgradeGoodsName: "0522ymt其他精品002",
upgradeGoodsPosition: null,
upgradeGoodsServiceItemsList: null,
upgradeGoodsType: null,
upgradeGoodsTypeName: null,
validMinSellPrice: "N"
}, {
count: 1,
errorTarget: false,
goodsAlias: "别名001",
goodsId: 15969,
lastOnShelfTime: 1747903884000,
maxSuitCarPrice: null,
merchantGoodsCode: "MG2025052215304361811",
merchantGoodsId: 15961,
merchantGoodsPosition: null,
minSellPrice: 1,
minSuitCarPrice: null,
position: null,
price: 4,
sellPrice: 4,
specificationData: "111111111;~;红色;~;超大大大;~;烦躁",
specificationNameSequence: "型号;~;颜色;~;规格;~;上班",
specificationStr: "111111111/红色/超大大大/烦躁",
specificationTypeSequence: "0;~;0;~;0;~;0",
upgradeGoodsAlias: null,
upgradeGoodsId: 6119,
upgradeGoodsName: "0522ymt其他精品002",
upgradeGoodsPosition: null,
upgradeGoodsServiceItemsList: null,
upgradeGoodsType: null,
upgradeGoodsTypeName: null,
validMinSellPrice: "N"
},
{
count: 1,
active: true,
errorTarget: false,
goodsAlias: "别名001",
goodsId: 15960,
lastOnShelfTime: 1747903884000,
maxSuitCarPrice: null,
merchantGoodsCode: "MG2025052215304361811",
merchantGoodsId: 15961,
merchantGoodsPosition: null,
minSellPrice: 1,
minSuitCarPrice: null,
position: null,
price: 4,
sellPrice: 4,
specificationData: "111111111;~;红色;~;超大大大;~;烦躁",
specificationNameSequence: "型号;~;颜色;~;规格;~;上班",
specificationStr: "111111111/红色/超大大大/烦躁",
specificationTypeSequence: "0;~;0;~;0;~;0",
upgradeGoodsAlias: null,
upgradeGoodsId: 6119,
upgradeGoodsName: "0522ymt其他精品002",
upgradeGoodsPosition: null,
upgradeGoodsServiceItemsList: null,
upgradeGoodsType: null,
upgradeGoodsTypeName: null,
validMinSellPrice: "N"
}
],
baseGoodsName: '太阳膜'
},
packageGoods: null
}, //多规格商品数据
}, },
closeTips() { closeTips() {
this.setData({ this.setData({
...@@ -349,6 +253,7 @@ Page({ ...@@ -349,6 +253,7 @@ Page({
wx.$router.go(`ocr?type=${type}`); wx.$router.go(`ocr?type=${type}`);
}, },
showPopup(e) { showPopup(e) {
console.log(e)
let { let {
copyGoodsData, copyGoodsData,
packageList, packageList,
...@@ -1177,6 +1082,11 @@ Page({ ...@@ -1177,6 +1082,11 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
/*获取屏幕高度*/
this.setData({
windowHeight: wx.getSystemInfoSync().windowHeight
})
// console.log(app.globalData.YQorderSetting, 'app.globalData.YQorderSetting?.yqPhoneConfig') // console.log(app.globalData.YQorderSetting, 'app.globalData.YQorderSetting?.yqPhoneConfig')
console.log(options, 'options'); console.log(options, 'options');
if (options.scene) { if (options.scene) {
...@@ -1305,7 +1215,7 @@ Page({ ...@@ -1305,7 +1215,7 @@ Page({
message message
} = result; } = result;
if (code == 0) { if (code == 0) {
console.log('data', data)
data.forEach(val => { data.forEach(val => {
//单商品 //单商品
if (val.goodsFlag == 1) { if (val.goodsFlag == 1) {
...@@ -1370,6 +1280,8 @@ Page({ ...@@ -1370,6 +1280,8 @@ Page({
otherProduct.push(val) otherProduct.push(val)
} }
}) })
console.log('otherProduct', otherProduct)
console.log('frontGearArr', frontGearArr)
this.setData({ this.setData({
goodsData: data, goodsData: data,
copyGoodsData: data, copyGoodsData: data,
...@@ -1624,7 +1536,7 @@ Page({ ...@@ -1624,7 +1536,7 @@ Page({
e.count = e.number; e.count = e.number;
e.merchantGoodsId = e.merchantGoodsId || e.id; e.merchantGoodsId = e.merchantGoodsId || e.id;
let specificdata = this.handleSpecificationsEcho(e) let specificdata = this.handleSpecificationsEcho(e)
chooseList= chooseList.concat(specificdata) chooseList = chooseList.concat(specificdata)
} }
} }
}); });
...@@ -1868,7 +1780,7 @@ Page({ ...@@ -1868,7 +1780,7 @@ Page({
}); });
} }
}) })
.catch((err) => {}); .catch((err) => { });
}, },
async onRoute(res) { async onRoute(res) {
// debugger // debugger
...@@ -2056,15 +1968,15 @@ Page({ ...@@ -2056,15 +1968,15 @@ Page({
/** /**
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
onPullDownRefresh: function () {}, onPullDownRefresh: function () { },
/** /**
* 页面上拉触底事件的处理函数 * 页面上拉触底事件的处理函数
*/ */
onReachBottom: function () {}, onReachBottom: function () { },
/** /**
* 用户点击右上角分享 * 用户点击右上角分享
*/ */
onShareAppMessage: function () {}, onShareAppMessage: function () { },
}); });
\ No newline at end of file \ No newline at end of file
<wxs src="../../index.wxs" module="filter" /> <wxs src="../../index.wxs" module="filter" />
<block wx:if="{{ flag }}"> <block wx:if="{{ flag }}">
<!-- <scroll-view class="container" scroll-y style="height:{{windowHeight}}px"> -->
<!-- {{ isFullSucreen?'isFullSucreen':''}} --> <!-- {{ isFullSucreen?'isFullSucreen':''}} -->
<view class="main {{ tipsProps.showTips?'fullSucreen-tips':'' }} {{showTips? 'showTips':'' }}"> <view class="main {{ tipsProps.showTips?'fullSucreen-tips':'' }} {{showTips? 'showTips':'' }}">
<view class="box"> <view class="box">
...@@ -150,7 +152,7 @@ ...@@ -150,7 +152,7 @@
<text>¥</text> <text>¥</text>
<input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0 ||item.goods.goodsPriceModify}}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0 ||item.goods.goodsPriceModify}}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="1">x{{item.count}}</view> <view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="1" data-positionnnum="1">x{{item.count}}</view>
</view> </view>
</view> </view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
...@@ -183,7 +185,7 @@ ...@@ -183,7 +185,7 @@
<text>¥</text> <text>¥</text>
<input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="2">x{{item.count}}</view> <view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="2" data-positionnnum="2">x{{item.count}}</view>
</view> </view>
</view> </view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
...@@ -216,7 +218,7 @@ ...@@ -216,7 +218,7 @@
<text>¥</text> <text>¥</text>
<input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0 ||item.goods.goodsPriceModify}}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0 ||item.goods.goodsPriceModify}}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="2">x{{item.count}}</view> <view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="2" data-positionnnum="3" >x{{item.count}}</view>
</view> </view>
</view> </view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
...@@ -249,7 +251,7 @@ ...@@ -249,7 +251,7 @@
<text>¥</text> <text>¥</text>
<input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0 ||item.goods.goodsPriceModify}}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0 ||item.goods.goodsPriceModify}}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="2">x{{item.count}}</view> <view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="2" data-positionnnum="4">x{{item.count}}</view>
</view> </view>
</view> </view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
...@@ -282,7 +284,7 @@ ...@@ -282,7 +284,7 @@
<text>¥</text> <text>¥</text>
<input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="3">x{{item.count}}</view> <view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="3" data-positionnnum="5,6,7">x{{item.count}}</view>
</view> </view>
</view> </view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
...@@ -320,7 +322,7 @@ ...@@ -320,7 +322,7 @@
<text>¥</text> <text>¥</text>
<input type="digit" value="{{ g.price }}" disabled="{{g.goodsPriceModify }}" class="{{ g.errorTarget? 'error':'' }}" bindinput="changeMealPrice" data-item="{{ g }}" data-gindex="{{ gInx }}" data-index="{{ index }}" always-embed /> <input type="digit" value="{{ g.price }}" disabled="{{g.goodsPriceModify }}" class="{{ g.errorTarget? 'error':'' }}" bindinput="changeMealPrice" data-item="{{ g }}" data-gindex="{{ gInx }}" data-index="{{ index }}" always-embed />
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="3">x{{item.count}}</view> <view class="count" catchtap="showPopup" data-show-name="packageBox" data-type="3">x{{item.count}}</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -354,7 +356,7 @@ ...@@ -354,7 +356,7 @@
<text>¥</text> <text>¥</text>
<input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ item.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="4">x{{item.count}}</view> <view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="4" data-positionnnum="other">x{{item.count}}</view>
</view> </view>
</view> </view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
...@@ -380,7 +382,7 @@ ...@@ -380,7 +382,7 @@
<text>¥</text> <text>¥</text>
<input type="digit" value="{{ item.multipleSpecificationsGoods.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.multipleSpecificationsGoods.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.multipleSpecificationsGoods.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed /> <input type="digit" value="{{ item.multipleSpecificationsGoods.goods.sellPrice }}" bindinput="changePrice" disabled="{{ orderObj.selectPayType ==0||item.multipleSpecificationsGoods.goods.goodsPriceModify }}" data-item="{{ item }}" bindblur="priceBlur" data-index="{{ index }}" class="{{ item.multipleSpecificationsGoods.goods.errorTarget && (orderObj.selectPayType !=0) ? 'error':''}} {{orderObj.selectPayType ==0?'disabled':'' }}" always-embed />
</view> </view>
<view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="4">x{{item.count}}</view> <view class="count" catchtap="showPopup" data-show-name="goodsBox" data-type="4" data-positionnnum="other">x{{item.count}}</view>
</view> </view>
</view> </view>
<view class="icon" bindtap="delGoodsList" data-index="{{ index }}"> <view class="icon" bindtap="delGoodsList" data-index="{{ index }}">
...@@ -458,8 +460,9 @@ ...@@ -458,8 +460,9 @@
<view class="confirm text-center" bindtap="submit">直接下单</view> <view class="confirm text-center" bindtap="submit">直接下单</view>
</view> </view>
</view> </view>
<!-- </scroll-view> -->
</block> </block>
<!-- &&!outTradeNo -->
<view class="waitOrderCon {{ showTips? 'showTips':'' }}" wx:if="{{ waitInputCount && !associateOrderType && !isErrorOrder&&!outTradeNo && recordOrderFlag }}"> <view class="waitOrderCon {{ showTips? 'showTips':'' }}" wx:if="{{ waitInputCount && !associateOrderType && !isErrorOrder&&!outTradeNo && recordOrderFlag }}">
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" /> <tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" />
</view> </view>
...@@ -471,7 +474,7 @@ ...@@ -471,7 +474,7 @@
<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 }}" />
<remark-popup wx:if="{{ showRemark }}" show="{{ showRemark }}" bindconfirm="remarkConfirm" placeholder="请填写内容,最多30个字" maxlength="30" value="{{ orderObj.remark }}" /> <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="{{ scene }}" /> <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 }}" /> <goods show="{{ goodsBox }}" wx:if="{{goodsBox}}" bindconfirm="chooseGoods" goodsData="{{ goodsData }}" chooseGoodsList="{{ goodsList }}" isSolarFilm="{{ true }}" baseConfigData="{{ baseConfigData }}" />
<sku-goods show="{{ skuGoodsBox }}" sceneType="1" goodsData="{{ skuGoodsData }}" chooseGoodsList="{{ goodsList }}"></sku-goods> <sku-goods show="{{ skuGoodsBox }}" sceneType="1" goodsData="{{ skuGoodsData }}" chooseGoodsList="{{ goodsList }}"></sku-goods>
<customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" /> <customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" />
<van-popup show="{{ showSource }}" position="bottom" bind:close="onCloseSource"> <van-popup show="{{ showSource }}" position="bottom" bind:close="onCloseSource">
......
...@@ -44,22 +44,22 @@ ...@@ -44,22 +44,22 @@
<text class="required_text"> *</text> <text class="required_text"> *</text>
</view> </view>
</view> </view>
<picker bindchange="handlePickerChange" bindcancel="showShortcutPicker" value="{{ orderObj.pickerValue }}" range-key="name" range="{{ pickerdateList }}" disabled="{{ filter.filterDisabled(role, weeklyList, orderObj.reportDate, isEditReport) }}"> <picker disabled="{{ filter.filterDisabled(role, weeklyList, orderObj.reportDate, isEditReport) }}" bindchange="handlePickerChange" bindcancel="showShortcutPicker" value="{{ orderObj.pickerValue }}" range-key="name" range="{{ pickerdateList }}">
<view class="picker"> <view class="picker">
<image class="arrow" src="/components/images/arrow-x.png" /> <image class="arrow" src="/components/images/arrow-x.png" />
<view class="text-hide">{{pickerdateList[orderObj.pickerValue]['name']}}</view> <view class="text-hide">{{pickerdateList[orderObj.pickerValue]['name']}}</view>
</view> </view>
</picker> </picker>
</view> </view>
<!-- <view class="input-item"> <view class="input-item">
<view class="left"> <view class="left">
<view class="label disabled"> <view class="label disabled">
今日成交数 今日成交金额
<text class="required_text"> *</text> <text class="required_text"> *</text>
</view> </view>
</view> </view>
<input value="{{ orderObj.totalOrderCount }}" placeholder-class="placeholder-class" placeholder-style="{{ 'color: #D0D2D6' }};" class="content-input disabled" disabled="{{ true }}" type="{{ 'number' }}" /> <input value="{{ orderObj.totalOrderMoney }}" placeholder-class="placeholder-class" placeholder-style="{{ 'color: #D0D2D6' }};" class="content-input disabled" disabled="{{ true }}" type="{{ 'number' }}" />
</view> --> </view>
<!-- 备注 --> <!-- 备注 -->
<view class="remark_box"> <view class="remark_box">
<view class="label">备注</view> <view class="label">备注</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!