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 07e080af
authored
Sep 25, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 版本开发
1 parent
8e65a313
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
113 additions
and
16 deletions
config.js
pages/tabWorkOrder/index.wxs
pages/tabWorkOrder/pages/index/index.js
pages/tabWorkOrder/pages/index/index.sass
pages/tabWorkOrder/pages/index/index.wxml
tabWorkOrder/pages/createAConstructionOrder/createAConstructionOrder.wxml
config.js
View file @
07e080a
...
@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
...
@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
1
;
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
;
...
...
pages/tabWorkOrder/index.wxs
View file @
07e080a
...
@@ -17,7 +17,7 @@ var subStatus = function (item) {
...
@@ -17,7 +17,7 @@ var subStatus = function (item) {
"N": 'constructionFlaging',
"N": 'constructionFlaging',
"Z": ''
"Z": ''
}
}
return staus[item.constructionFlaged] || '
constructionFlaging
'
return staus[item.constructionFlaged] || ''
}
}
/*
/*
* 导出
* 导出
...
...
pages/tabWorkOrder/pages/index/index.js
View file @
07e080a
This diff is collapsed.
Click to expand it.
pages/tabWorkOrder/pages/index/index.sass
View file @
07e080a
...
@@ -237,22 +237,26 @@ page {
...
@@ -237,22 +237,26 @@ page {
width
:
var
(
--
fontSize32
)
;
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
background
:
url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/constructionFlaging.png)
;
background
:
url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/constructionFlaging.png)
;
background-size
:
100%
;
}
}
.
list
.
item
.
goods-list
.
constructionFlaged
:
:
after
{
.
list
.
item
.
goods-list
.
constructionFlaged
:
:
after
{
width
:
var
(
--
fontSize32
)
;
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
background
:
url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/constructionFlaged.png)
;
background
:
url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/constructionFlaged.png)
;
background-size
:
100%
;
}
}
.list
.item
.goods-list
.goods
.goods-name
{
.list
.item
.goods-list
.goods
.goods-name
{
font-size
:
var
(
--
fontSize28
)
;
font-size
:
var
(
--
fontSize28
)
;
// color: #292D33;
color
:
#292D33
;
color
:
#292D33
;
max-width
:
var
(
--
fontSize430
)
;
max-width
:
var
(
--
fontSize430
)
;
}
}
.list
.item.gray
.goods-list
.goods
.goods-name
{
.list
.item.gray
.goods-list
.goods
.goods-name
{
color
:
#666666
;
// color: #666666;
color
:
#292D33
;
}
}
.
list
.
item
.
gray
.
goods-list
.
goods
:
:
after
{
.
list
.
item
.
gray
.
goods-list
.
goods
:
:
after
{
...
@@ -261,14 +265,18 @@ page {
...
@@ -261,14 +265,18 @@ page {
.list
.item
.goods-list
.goods
.goods-price
{
.list
.item
.goods-list
.goods
.goods-price
{
font-size
:
var
(
--
fontSize20
)
;
font-size
:
var
(
--
fontSize20
)
;
color
:
#666666
;
//
color: #666666;
display
:
flex
;
display
:
flex
;
align-items
:
baseline
;
align-items
:
baseline
;
font-size
:
24rpx
;
color
:
#5A5E66
;
}
}
.list
.item
.goods-list
.goods
.goods-price
text
{
.list
.item
.goods-list
.goods
.goods-price
text
{
font-size
:
var
(
--
fontSize24
)
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#2A2A2A
;
// color: #2A2A2A;
font-size
:
24rpx
;
color
:
#5A5E66
;
}
}
.list
.item
.goods-more
{
.list
.item
.goods-more
{
...
@@ -647,3 +655,12 @@ page {
...
@@ -647,3 +655,12 @@ page {
.padding_20
{
.padding_20
{
padding
:
0
var
(
--
fontSize14
)
;
padding
:
0
var
(
--
fontSize14
)
;
}
}
.packgoodsListCon
{
margin-top
:
20rpx
;
box-sizing
:
border-box
;
background
:
#F7F8FA
;
border-radius
:
8rpx
;
padding
:
16rpx
;
color
:
#5A5E66
;
}
\ No newline at end of file
\ No newline at end of file
pages/tabWorkOrder/pages/index/index.wxml
View file @
07e080a
...
@@ -8,7 +8,15 @@
...
@@ -8,7 +8,15 @@
<view class="search-box">
<view class="search-box">
<view class="search-input">
<view class="search-input">
<image src="/images/search.png" class="search-icon" />
<image src="/images/search.png" class="search-icon" />
<input type="text" placeholder="客户姓名/商品名称/订单编号/手机号" class="input" value="{{ keyword }}" placeholder-class="input-placeholder" bindinput="input" bindconfirm="search" />
<input
type="text"
placeholder="客户姓名/商品名称/订单编号/手机号"
class="input"
value="{{ keyword }}"
placeholder-class="input-placeholder"
bindinput="input"
bindconfirm="search"
/>
<block wx:if="{{ keyword }}">
<block wx:if="{{ keyword }}">
<image src="/images/clear.png" class="search-clear" bindtap="clear" />
<image src="/images/clear.png" class="search-clear" bindtap="clear" />
</block>
</block>
...
@@ -24,14 +32,40 @@
...
@@ -24,14 +32,40 @@
</view>
</view>
<!-- 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销 -->
<!-- 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销 -->
<block wx:if="{{ flag }}">
<block wx:if="{{ flag }}">
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{ true }}" bindrefresherrefresh="search" bindscrolltolower="scrollonReachBottom" bindscroll="onPageScroll" class="list" style="height:calc(100vh - {{ navBarHeight }}px - var(--fontSize160));" refresher-threshold="104" refresher-triggered="{{ triggered }}">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{ true }}"
bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom"
bindscroll="onPageScroll"
class="list"
style="height:calc(100vh - {{ navBarHeight }}px - var(--fontSize160));"
refresher-threshold="104"
refresher-triggered="{{ triggered }}"
>
<block wx:if="{{ list.length > 0 }}">
<block wx:if="{{ list.length > 0 }}">
<block wx:for="{{ list }}" wx:key="index">
<block wx:for="{{ list }}" wx:key="index">
<block wx:for="{{ item }}" wx:for-item="li" wx:for-index="ind" wx:key="ind">
<block wx:for="{{ item }}" wx:for-item="li" wx:for-index="ind" wx:key="ind">
<view style="{{ li.txtStyle }}" class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}" data-ind="{{ ind }}" data-index="{{ index }}">
<view
style="{{ li.txtStyle }}"
class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}"
data-ind="{{ ind }}"
data-index="{{ index }}"
>
<!-- 广汇订单出库成功 -->
<!-- 广汇订单出库成功 -->
<image wx:if="{{ li.outboundStatus == 4 }}" class="stockIcon" src="../../images/stockIcon.png" />
<image wx:if="{{ li.outboundStatus == 4 }}" class="stockIcon" src="../../images/stockIcon.png" />
<view class="item content" catchtap="jump" data-ind="{{ ind }}" data-index="{{ index }}" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchE" data-name="{{ li.status == 3 ? 'confirmOrder' : li.status == 1 ? 'createOrder' : 'orderDetail' }}" data-item="{{ li }}">
<view
class="item content"
catchtap="jump"
data-ind="{{ ind }}"
data-index="{{ index }}"
bindtouchstart="touchstart"
bindtouchmove="touchmove"
bindtouchend="touchE"
data-name="{{ li.status == 3 ? 'confirmOrder' : li.status == 1 ? 'createOrder' : 'orderDetail' }}"
data-item="{{ li }}"
>
<view class="status text-center" style="color:{{ li.statuscolor }};background-color:{{li.statusbackground }};">
<view class="status text-center" style="color:{{ li.statuscolor }};background-color:{{li.statusbackground }};">
<block wx:if="{{ li.status == 1||li.status == 3 }}">
<block wx:if="{{ li.status == 1||li.status == 3 }}">
<block wx:if="{{ status[li.status].background }}">
<block wx:if="{{ status[li.status].background }}">
...
@@ -48,12 +82,23 @@
...
@@ -48,12 +82,23 @@
<view class="name">
<view class="name">
<!-- <image src="/images/avatar.png" /> -->
<!-- <image src="/images/avatar.png" /> -->
<view class="name-text text-hide">{{li.customer.customerName}}</view>
<view class="name-text text-hide">{{li.customer.customerName}}</view>
<image class="name-sex-icon" src="{{ IMG_URL}}{{li.customer.customerSex == 1 ? 'miniProgram/icon-man.png' : 'miniProgram/icon-woman.png' }}" mode="" />
<image
class="name-sex-icon"
src="{{ IMG_URL}}{{li.customer.customerSex == 1 ? 'miniProgram/icon-man.png' : 'miniProgram/icon-woman.png' }}"
mode=""
/>
</view>
</view>
<view class="goods-list" style="padding-bottom:{{ li.subOrderList.length<1?0:'' }}">
<view class="goods-list" style="padding-bottom:{{ li.subOrderList.length<1?0:'' }}">
<block wx:if="{{ li.subOrderList.length }}">
<block wx:if="{{ li.subOrderList.length }}">
<block wx:for="{{ li.subOrderList }}" wx:key="sindex" wx:for-item="i" wx:for-index="sindex">
<block wx:for="{{ li.subOrderList }}" wx:key="sindex" wx:for-item="i" wx:for-index="sindex">
<view class="goods {{filter.subStatus(li.constructionFlag)}}" wx:if="{{ li.showAllGoodsListFlag ? true : sindex < 2 }}">
<view
catch:tap="foldUp"
data-item="{{ i }}"
data-index="{{ sindex }}"
data-listindex="{{ ind }}"
class="goods {{ filter.subStatus(li.constructionFlag) }}"
wx:if="{{ li.showAllGoodsListFlag ? true : sindex < 2 }}"
>
<view class="goods-name text-hide">
<view class="goods-name text-hide">
{{filter.replaceItemText(i.upgradeGoodsAlias) ||filter.replaceItemText(i.upgradeGoodsName) || i.packageName||''}}
{{filter.replaceItemText(i.upgradeGoodsAlias) ||filter.replaceItemText(i.upgradeGoodsName) || i.packageName||''}}
</view>
</view>
...
@@ -62,6 +107,23 @@
...
@@ -62,6 +107,23 @@
<text>{{i.totalPrice || 0}}</text>
<text>{{i.totalPrice || 0}}</text>
</view>
</view>
</view>
</view>
<!-- 显示套餐子商品 -->
<view
class="packgoodsListCon"
wx:if="{{ i.packageGoodsOrderList&&!i.foldUp&&( li.showAllGoodsListFlag ? true : sindex < 2) }}"
>
<block wx:for="{{ i.packageGoodsOrderList }}" wx:key="sindex" wx:for-item="packchild" wx:for-index="sindex">
<view class="goods {{ filter.subStatus(li.constructionFlag) }}">
<view class="goods-name text-hide">
{{filter.replaceItemText(packchild.upgradeGoodsAlias) ||filter.replaceItemText(packchild.upgradeGoodsName) || packchild.packageName||''}}
</view>
<view class="goods-price">
¥
<text>{{packchild.totalPrice || 0}}</text>
</view>
</view>
</block>
</view>
</block>
</block>
<block wx:if="{{ li.subOrderList.length > 2 }}">
<block wx:if="{{ li.subOrderList.length > 2 }}">
<view class="goods-more">
<view class="goods-more">
...
@@ -72,7 +134,7 @@
...
@@ -72,7 +134,7 @@
</block>
</block>
</view>
</view>
<view class="order-list">
<view class="order-list">
<block wx:for="{{
li.deliveryUserId? pointsMultiObj:orderObj }}" wx:key="sindex" wx:for-index="sindex" wx:for-item="i">
<block wx:for="{{
li.deliveryUserId? pointsMultiObj:orderObj }}" wx:key="sindex" wx:for-index="sindex" wx:for-item="i">
<view class="order">
<view class="order">
<view class="order-label">{{i.label}}</view>
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<view class="order-value">
...
@@ -133,7 +195,14 @@
...
@@ -133,7 +195,14 @@
<!-- footer -->
<!-- footer -->
</view>
</view>
<block wx:if="{{ isMake }}">
<block wx:if="{{ isMake }}">
<view wx:if="{{ !li['confirmIndex'] }}" class="del" catchtap="delBtn" data-ind="{{ ind }}" data-item="{{ li }}" data-index="{{ index }}">
<view
wx:if="{{ !li['confirmIndex'] }}"
class="del"
catchtap="delBtn"
data-ind="{{ ind }}"
data-item="{{ li }}"
data-index="{{ index }}"
>
<view>撤销</view>
<view>撤销</view>
<view>工单</view>
<view>工单</view>
</view>
</view>
...
@@ -185,11 +254,22 @@
...
@@ -185,11 +254,22 @@
<gl-image class="icon" src="/miniProgram/order3.png"></gl-image>
<gl-image class="icon" src="/miniProgram/order3.png"></gl-image>
战败下单
战败下单
</view>
</view>
<view wx:if="{{isSettingExpiredTraffic && !isScan}}" class="modalbox cancle {{ selectType == 3?'act': '' }}" bindtap="selectType" data-type="3">
<view
wx:if="{{ isSettingExpiredTraffic && !isScan }}"
class="modalbox cancle {{ selectType == 3?'act': '' }}"
bindtap="selectType"
data-type="3"
>
<gl-image class="icon" src="/miniProgram/order4.png"></gl-image>
<gl-image class="icon" src="/miniProgram/order4.png"></gl-image>
失效客户
失效客户
</view>
</view>
</view>
</view>
</modal>
</modal>
<recording-order-popup wx:if="{{ showOrderpop }}" show="{{ showOrderpop }}" bind:success="navigator" title="请选择交易参考号" />
<recording-order-popup wx:if="{{ showOrderpop }}" show="{{ showOrderpop }}" bind:success="navigator" title="请选择交易参考号" />
<order-prompt-popup wx:if="{{ showPromptDialog }}" show="{{ showPromptDialog }}" bindcancel="promptCancel" bindconfirm="promptHandleConfirm" sceneObj="{{sceneObj}}"></order-prompt-popup>
\ No newline at end of file
\ No newline at end of file
<order-prompt-popup
wx:if="{{ showPromptDialog }}"
show="{{ showPromptDialog }}"
bindcancel="promptCancel"
bindconfirm="promptHandleConfirm"
sceneObj="{{ sceneObj }}"
></order-prompt-popup>
\ No newline at end of file
\ No newline at end of file
tabWorkOrder/pages/createAConstructionOrder/createAConstructionOrder.wxml
View file @
07e080a
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
disabled="{{ false }}"
disabled="{{ false }}"
></gl-cell>
></gl-cell>
<view class="goodsListCon">
<view class="goodsListCon">
<view class="goods" wx:for="{{ confirmInfo.subOrderList }}">
<view class="goods" wx:for="{{ confirmInfo.subOrderList }}"
wx:key="{{item.upgradeGoodsId}}"
>
<view class="dot"></view>
<view class="dot"></view>
<view class="name">{{item.upgradeGoodsName}}</view>
<view class="name">{{item.upgradeGoodsName}}</view>
</view>
</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