Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-purchase
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 8e92bbcd
authored
Oct 13, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修复购物车总价显示格式并调整发货列表列宽
- 在购物车组件中将总价格式化为两位小数 - 在发货列表组件中统一调整各列宽度为120px,优化表格显示
1 parent
ea6d36c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
src/views/DeliverList/index.vue
src/views/purchaseOrder/components/shoppingCartCom.vue
src/views/DeliverList/index.vue
View file @
8e92bbc
...
...
@@ -212,11 +212,13 @@ export default {
tableColumns
:
[
{
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
prop
:
'upgradeGoodsName'
,
width
:
'120px'
},
{
label
:
'商品编码'
,
prop
:
'type'
prop
:
'type'
,
width
:
'120px'
},
{
label
:
'规格'
,
...
...
@@ -234,11 +236,13 @@ export default {
},
{
label
:
'所属分类'
,
prop
:
'goodsTypeName'
prop
:
'goodsTypeName'
,
width
:
'120px'
},
{
label
:
'发货数量'
,
prop
:
''
,
width
:
'120px'
,
formatter
:
cellValue
=>
{
return
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
`
${
cellValue
.
purchaseNumber
}
卷`
:
`
${
cellValue
.
purchaseNumber
}
件`
}
...
...
@@ -254,6 +258,7 @@ export default {
{
label
:
'承运单号'
,
prop
:
'deliveryNumber'
,
width
:
'120px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
deliveryNumber
||
'--'
}
...
...
@@ -261,6 +266,7 @@ export default {
{
label
:
'承运公司'
,
prop
:
'deliveryCompany'
,
width
:
'120px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
deliveryCompany
||
'--'
}
...
...
@@ -281,7 +287,8 @@ export default {
},
{
label
:
'所属商户'
,
prop
:
'merchantName'
prop
:
'merchantName'
,
width
:
'120px'
},
{
label
:
'备注'
,
...
...
@@ -291,6 +298,7 @@ export default {
{
label
:
'状态'
,
prop
:
'putStatus'
,
width
:
'120px'
,
addHtml
:
'putStatus'
}
]
...
...
src/views/purchaseOrder/components/shoppingCartCom.vue
View file @
8e92bbc
...
...
@@ -553,7 +553,7 @@ export default {
this.goodsSelectTotalNumber = goodsSelectTotalNumber
this.goodsTotalNumber = goodsTotalNumber
this.isAllCheck = checkoutFlag
this.totalPrice = totalPrice
this.totalPrice = totalPrice
.toFixed(2)
}
,
handleGoodsNumChange(goodsNumber, id, upgradeGoodsId, suitCarTypeList) {
goodsNumber = parseInt(goodsNumber)
...
...
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