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 5af91801
authored
Nov 24, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
入库bug修复
1 parent
e52be289
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/views/purchaseOrder/components/orderDetailDialog.vue
src/views/purchaseOrder/components/orderDetailDialog.vue
View file @
5af9180
...
@@ -123,7 +123,9 @@ export default {
...
@@ -123,7 +123,9 @@ export default {
// 商品来源 1-商城采购 2-自采入库
// 商品来源 1-商城采购 2-自采入库
let
list
=
this
.
paramsObj
.
purchaseType
==
1
?
membraneTypeList
:
goodsTypeList
let
list
=
this
.
paramsObj
.
purchaseType
==
1
?
membraneTypeList
:
goodsTypeList
let
attr
=
this
.
paramsObj
.
purchaseType
==
1
?
'goodsType'
:
'goodsTypeName'
let
attr
=
this
.
paramsObj
.
purchaseType
==
1
?
'goodsType'
:
'goodsTypeName'
let
condition
=
list
.
includes
(
cellValue
[
attr
])
?
`
${
cellValue
.
conversionValue
?
cellValue
.
goodsNumber
*
cellValue
.
conversionValue
:
'-'
}
米`
:
`
${
cellValue
.
goodsNumber
}
件`
let
unit
=
list
.
includes
(
cellValue
[
attr
])
?
'米'
:
'件'
// let condition = list.includes(cellValue[attr]) ? `${cellValue.conversionValue ? cellValue.goodsNumber * cellValue.conversionValue : '-'}米` : `${cellValue.goodsNumber}件`
let
condition
=
(
cellValue
.
conversionValue
?
cellValue
.
goodsNumber
*
cellValue
.
conversionValue
:
cellValue
.
goodsNumber
)
+
unit
return
condition
return
condition
},
},
width
:
100
width
:
100
...
...
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