Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0a7345f7
authored
Feb 28, 2026
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.6.2' into 'master'
上线合并 See merge request
!15
2 parents
8ecdc964
728c2c17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
9 deletions
packageWorkspace/pages/orderApprovalManage/orderApprovalDetail/orderApprovalDetail.js
packageWorkspace/pages/orderApprovalManage/orderApprovalDetail/orderApprovalDetail.sass
packageWorkspace/pages/orderApprovalManage/orderApprovalDetail/orderApprovalDetail.wxml
packageWorkspace/pages/orderApprovalManage/orderApprovalDetail/orderApprovalDetail.js
View file @
0a7345f
...
...
@@ -42,7 +42,20 @@ Page({
},
{
label
:
'提单时间'
,
key
:
'applyDate'
}],
},
{
label
:
'备注'
,
key
:
'orderRemark'
,
flexStart
:
true
},
{
label
:
'交易流水号'
,
key
:
'outTradeNo'
,
flexStart
:
true
},
{
label
:
'凭证'
,
key
:
'payVoucherList'
,
image
:
true
,
flexStart
:
true
}],
},
/**
...
...
@@ -88,6 +101,17 @@ Page({
})
}
return
dto
},
previewImage
(
e
)
{
let
{
url
,
index
}
=
e
.
currentTarget
.
dataset
let
urlList
=
url
.
map
(
v
=>
{
return
v
.
payVoucher
})
wx
.
previewImage
({
urls
:
urlList
,
current
:
urlList
[
index
]
})
},
/**
...
...
@@ -104,7 +128,7 @@ Page({
const
processedData
=
this
.
processOrderData
(
res
.
data
||
{})
this
.
setData
({
orderInfo
:
processedData
,
'orderInfo.applyDate'
:
res
.
data
.
applyDate
?
dayjs
(
res
.
data
.
applyDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
'orderInfo.applyDate'
:
res
.
data
.
applyDate
?
dayjs
(
res
.
data
.
applyDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
})
if
(
res
.
data
?.
oldGoodsOrderDTO
)
{
this
.
setData
({
...
...
packageWorkspace/pages/orderApprovalManage/orderApprovalDetail/orderApprovalDetail.sass
View file @
0a7345f
...
...
@@ -46,7 +46,10 @@ page {
align-items
:
center
;
font-size
:
26rpx
;
color
:
#222222
;
margin-bottom
:
12rpx
;
margin-bottom
:
12rpx
;
&
.flex-start
{
align-items
:
flex-start
;
}
&
:last-child
{
margin-bottom
:
0
;
}
...
...
@@ -56,7 +59,8 @@ page {
color
:
#999999
;
flex-shrink
:
0
;
}
.info-item
{
.info-value
{
word-break
:
break-all
;
.text-hide
{
max-width
:
280rpx
;
overflow
:
hidden
;
...
...
@@ -70,7 +74,19 @@ page {
margin
:
0
8rpx
;
}
}
}
}
.image-value
{
display
:
flex
;
align-items
:
center
;
flex-wrap
:
wrap
;
gap
:
16rpx
;
.image-item
{
width
:
112rpx
;
height
:
112rpx
;
border-radius
:
16rpx
;
overflow
:
hidden
;
}
}
}
}
.empty-box
{
...
...
packageWorkspace/pages/orderApprovalManage/orderApprovalDetail/orderApprovalDetail.wxml
View file @
0a7345f
...
...
@@ -14,16 +14,24 @@
<!-- 订单信息 -->
<view class="section">
<view class="section-title">订单信息</view>
<view class="info-item" wx:for="{{orderForm}}" wx:key="index">
<view class="info-item
{{item.flexStart ? 'flex-start': ''}}
" wx:for="{{orderForm}}" wx:key="index">
<text class="info-label">{{item.label}}</text>
<block wx:if="{{item.format}}">
<view class="info-
item
">{{djOrderTypeMap[orderInfo[item.key]]}}</view>
<view class="info-
value
">{{djOrderTypeMap[orderInfo[item.key]]}}</view>
</block>
<block wx:elif="{{item.arr}}">
<view class="info-
item
"><text class="name text-hide">{{orderInfo[item.key[0]]}}</text><text class="split">|</text><text class="text-hide">{{orderInfo[item.key[1]]}}</text></view>
<view class="info-
value
"><text class="name text-hide">{{orderInfo[item.key[0]]}}</text><text class="split">|</text><text class="text-hide">{{orderInfo[item.key[1]]}}</text></view>
</block>
<block wx:elif="{{item.image}}">
<view class="image-value" wx:if="{{orderInfo[item.key].length}}">
<view class="image-item" bindtap="previewImage" data-index="{{ subIndex }}" data-url="{{ orderInfo[item.key] }}" wx:for="{{orderInfo[item.key]}}" wx:for-item="subItem" wx:for-index="subIndex" wx:key="subIndex">
<image src="{{subItem.payVoucher}}" mode=""/>
</view>
</view>
<view wx:else>-</view>
</block>
<block wx:else>
<text class="info-value"><text style="margin-right: 8rpx;" wx:if="{{item.unit}}">{{item.unit}}</text>{{ orderInfo[item.key] }}</text>
<text class="info-value"><text style="margin-right: 8rpx;" wx:if="{{item.unit}}">{{item.unit}}</text>{{ orderInfo[item.key]
|| '-'
}}</text>
</block>
</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