Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0199d4af
authored
Jun 13, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
03a29fa9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
97 additions
and
82 deletions
components/SkuGoods/Goods.js
components/SkuGoods/Goods.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.sass
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxml
tabWorkOrder/pages/createOrder/createOrder.wxml
tabWorkOrder/pages/upgradeStaffDaily/upgradeStaffDaily.wxml
components/SkuGoods/Goods.js
View file @
0199d4a
...
@@ -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
})
}
},
/**
/**
* 组件的初始数据
* 组件的初始数据
*/
*/
...
@@ -204,13 +211,13 @@ Component({
...
@@ -204,13 +211,13 @@ Component({
})
})
},
},
},
},
lifetimes
:{
lifetimes
:
{
attached
(){
attached
()
{
console
.
log
(
77777
)
console
.
log
(
77777
)
this
.
setData
({
this
.
setData
({
windowHight
:
wx
.
getSystemInfoSync
().
windowHeight
windowHight
:
wx
.
getSystemInfoSync
().
windowHeight
})
})
}
}
}
}
})
})
\ No newline at end of file
\ No newline at end of file
components/SkuGoods/Goods.wxml
View file @
0199d4a
<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">
<view class="item-wrap {{i.active?'active':''}}" wx:for="{{goodsData.multipleSpecificationsGoods.skuGoodsList}}" wx:key="ind" wx:for-index="index" wx:for-item="i">
<scroll-view scroll-y style="height:350px;">
<view class="icon" catchtap="choose" data-index="{{index}}" data-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">
<block wx:if="{{i.active}}">
<view class="icon" catchtap="choose" data-index="{{index}}" data-item="{{i}}">
<image src="./images/radio.png" />
<block wx:if="{{i.active}}">
</block>
<image src="./images/radio.png" />
<block wx:else>
</block>
<view class="arc" />
<block wx:else>
</block>
<view class="arc" />
</view>
</block>
<view class="value">
</view>
<view class="alias" wx:if="{{i.goodsAlias}}">
<view class="value">
商品别名:{{i.goodsAlias}}
<view class="alias" wx:if="{{i.goodsAlias}}">
商品别名:{{i.goodsAlias}}
</view>
<view class="bottom_box">
<view class="left">
<view class="name">{{goodsData.multipleSpecificationsGoods.baseGoodsName}}</view>
<view class="position" wx:if="{{ i.specificationStr }}">{{i.specificationStr}}</view>
</view>
<view class="right">
<view class="price-box">
<text>¥</text>
<view class="price">
<!-- {{i}} -->
{{i.sellPrice}}
</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" 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>
</view>
</view>
</view>
<view class="bottom_box">
<view class="left">
<view class="name">{{goodsData.multipleSpecificationsGoods.baseGoodsName}}</view>
<view class="position" wx:if="{{ i.specificationStr }}">{{i.specificationStr}}</view>
</view>
<view class="right">
<view class="price-box">
<text>¥</text>
<view class="price">
<!-- {{i}} -->
{{i.sellPrice}}
</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" 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>
</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>
<view class="confirm btn text-center" bind:tap="confirm">确认</view>
<view class="confirm btn text-center" bind:tap="confirm">确认</view>
</view>
</view>
</van-popup>
</van-popup>
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
0199d4a
...
@@ -28,6 +28,7 @@ Page({
...
@@ -28,6 +28,7 @@ Page({
* 页面的初始数据
* 页面的初始数据
*/
*/
data
:
{
data
:
{
scrollDisabled
:
false
,
tipsProps
:
{
tipsProps
:
{
tipsText
:
"该门店产生异常订单,请点击补录!"
,
tipsText
:
"该门店产生异常订单,请点击补录!"
,
showTips
:
true
,
showTips
:
true
,
...
@@ -985,7 +986,7 @@ Page({
...
@@ -985,7 +986,7 @@ Page({
.
catch
(
err
=>
{
})
.
catch
(
err
=>
{
})
},
},
handleSpecificationsEcho
(
item
)
{
handleSpecificationsEcho
(
item
)
{
console
.
log
(
'item'
,
item
)
console
.
log
(
'item'
,
item
)
let
{
let
{
quotationGoodsList
quotationGoodsList
}
=
this
.
data
,
skuArr
=
[],
}
=
this
.
data
,
skuArr
=
[],
...
@@ -996,16 +997,16 @@ console.log('item',item)
...
@@ -996,16 +997,16 @@ console.log('item',item)
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
=
{
let
obj
=
{
goodsFlag
:
2
,
goodsFlag
:
2
,
goods
:
null
,
goods
:
null
,
}
}
obj
.
multipleSpecificationsGoods
=
{
obj
.
multipleSpecificationsGoods
=
{
goods
:
temp
,
goods
:
temp
,
baseGoodsName
:
item
.
goodsName
baseGoodsName
:
item
.
goodsName
}
}
temp
.
price
=
this
.
divideByHundred
(
item
.
goodsPrice
)
temp
.
price
=
this
.
divideByHundred
(
item
.
goodsPrice
)
temp
.
goodsId
=
item
.
goodsId
temp
.
goodsId
=
item
.
goodsId
...
@@ -1016,7 +1017,7 @@ console.log('item',item)
...
@@ -1016,7 +1017,7 @@ console.log('item',item)
// value.value = arr[index]
// value.value = arr[index]
// })
// })
// obj.multipleSpecificationsGoods = data.multipleSpecificationsGoods
// obj.multipleSpecificationsGoods = data.multipleSpecificationsGoods
console
.
log
(
'🚀'
,
obj
)
console
.
log
(
'🚀'
,
obj
)
skuArr
.
push
(
obj
)
skuArr
.
push
(
obj
)
}
}
})
})
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.sass
View file @
0199d4a
...
@@ -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
{
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxml
View file @
0199d4a
<!-- 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"> -->
<!-- <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">
车险信息
车险信息
</view>
</view>
</view>
</navigation-bar>
<view class="layout {{(showTips||waitInputCount)?'fullSucreen-tips':'' }} " style="padding-top:{{ navBarHeight }}px;">
<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" />
</view>
</view>
<view wx:if="{{showTips}}" class="btns {{isFullSucreen?'isFullSucreen-btn':''}}">
</navigation-bar>
<view class="tips">
<!-- {{scrollDisabled? "": height:{{windowHeight}}px}} -->
<image class=" tipsIcon" src="../../../images/tips.png" />
<view class="layout {{(showTips||waitInputCount)?'fullSucreen-tips':'' }} {{scrollDisabled?'scroll-disabled':''}}" style="padding-top:{{ navBarHeight }}px; ">
<view class="contentText">
<first-step id="FirstStep" serviceInfo="{{ owner }}" dataAttrName="{{ dataAttrName }}" orderInfo="{{ orderInfo }}" subBtnShow="{{ false }}" mode="{{mode}}" />
<view class="tradeNoCon">
<second-step id="SecondStep" orderInfo="{{ orderInfo }}" quotationGoodsList="{{ quotationGoodsList }}" bindconfirm="handleSecondConfirm" bindeditSave="handleEditSave" />
<view>交易参考号:</view>
</view>
<view class="tradeNo text-hide">{{tradeNo}}</view>
<view wx:if="{{showTips}}" class="btns {{isFullSucreen?'isFullSucreen-btn':''}}">
<view>(共{{outTradeArr.length}}条)</view>
<view class="tips">
</view>
<image class=" tipsIcon" src="../../../images/tips.png" />
<!-- <view>支付时间:{{accountDate}}</view> -->
<view class="contentText">
<view class="tipsbox">
<view class="tradeNoCon">
<view>支付金额:¥{{totalFee/100}}</view>
<view>交易参考号:</view>
<view class="tipsbtn" bindtap="tipsEvent">补录订单</view>
<view class="tradeNo text-hide">{{tradeNo}}</view>
</view>
<view>(共{{outTradeArr.length}}条)</view>
</view>
<!-- <view>支付时间:{{accountDate}}</view> -->
<view class="tipsbox">
<view>支付金额:¥{{totalFee/100}}</view>
<view class="tipsbtn" bindtap="tipsEvent">补录订单</view>
</view>
</view>
<!-- <image class="closeIcon" bindtap="closeTips" src="../../../images/closeIcon.png" /> -->
</view>
</view>
<!-- <image class="closeIcon" bindtap="closeTips" src="../../../images/closeIcon.png" /> -->
</view>
</view>
</view>
<!-- </scroll-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 }}" />
...
...
tabWorkOrder/pages/createOrder/createOrder.wxml
View file @
0199d4a
...
@@ -463,7 +463,6 @@
...
@@ -463,7 +463,6 @@
<!-- </scroll-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>
...
...
tabWorkOrder/pages/upgradeStaffDaily/upgradeStaffDaily.wxml
View file @
0199d4a
...
@@ -51,15 +51,15 @@
...
@@ -51,15 +51,15 @@
</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.totalOrder
Count
}}" placeholder-class="placeholder-class" placeholder-style="{{ 'color: #D0D2D6' }};" class="content-input disabled" disabled="{{ true }}" type="{{ 'number' }}" />
<input value="{{ orderObj.totalOrder
Money
}}" 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>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment