Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TFMOM
TF-MOM-WEB
Commits
70d96369
Commit
70d96369
authored
Jan 12, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库界面列表数据为空的时候展示为“/"
parent
64714680
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
33 deletions
+33
-33
index.vue
...ateComponents/components/InStorageRecallItemCom/index.vue
+5
-5
index.vue
...nents/components/PurchasingWarehousingNewOrEdit/index.vue
+7
-7
index.vue
...ponents/components/PurchasingWarehousingProcess/index.vue
+7
-7
index.vue
...ts/components/PurchasingWarehousingProcess_view/index.vue
+7
-7
index.vue
...Components/components/PurchasingWarehousingView/index.vue
+7
-7
No files found.
applications/dee-mes/src/privateComponents/components/InStorageRecallItemCom/index.vue
View file @
70d96369
...
@@ -403,25 +403,25 @@ export default {
...
@@ -403,25 +403,25 @@ export default {
},
},
{
{
title
:
'编码'
,
key
:
'typeCode'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'编码'
,
key
:
'typeCode'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
''
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
''
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
'
/
'
return
value
return
value
}
}
},
},
...
@@ -432,7 +432,7 @@ export default {
...
@@ -432,7 +432,7 @@ export default {
{
title
:
'架次'
,
key
:
'sorties'
,
headerAlign
:
'center'
},
{
title
:
'架次'
,
key
:
'sorties'
,
headerAlign
:
'center'
},
{
{
title
:
'计量单位'
,
key
:
'unitName'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'计量单位'
,
key
:
'unitName'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
''
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
'
/
'
return
value
return
value
}
}
},
},
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/index.vue
View file @
70d96369
...
@@ -403,37 +403,37 @@ export default {
...
@@ -403,37 +403,37 @@ export default {
}
}
},
},
{
title
:
'物料编码'
,
key
:
'typeCode'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'100'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
{
title
:
'物料编码'
,
key
:
'typeCode'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'100'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
''
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'物料名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'物料名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
''
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'规格'
,
width
:
'150'
,
key
:
'spec'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'规格'
,
width
:
'150'
,
key
:
'spec'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
spec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
spec
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'供应状态'
,
width
:
'150'
,
key
:
'supplyStatus'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'供应状态'
,
width
:
'150'
,
key
:
'supplyStatus'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
supplyStatus
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
supplyStatus
:
'
/
'
return
value
return
value
}
}
},
},
...
@@ -443,7 +443,7 @@ export default {
...
@@ -443,7 +443,7 @@ export default {
{
title
:
'炉/批号'
,
key
:
'lotNo'
,
width
:
'150'
,
headerAlign
:
'center'
},
{
title
:
'炉/批号'
,
key
:
'lotNo'
,
width
:
'150'
,
headerAlign
:
'center'
},
{
{
title
:
'计量单位'
,
key
:
'unitName'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'计量单位'
,
key
:
'unitName'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
''
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
'
/
'
return
value
return
value
}
}
},
},
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess/index.vue
View file @
70d96369
...
@@ -57,37 +57,37 @@ export default {
...
@@ -57,37 +57,37 @@ export default {
}
}
},
},
{
title
:
'物料编码'
,
key
:
'typeCode'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'100'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
{
title
:
'物料编码'
,
key
:
'typeCode'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'100'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
''
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'物料名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'物料名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
''
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'规格'
,
width
:
'150'
,
key
:
'spec'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'规格'
,
width
:
'150'
,
key
:
'spec'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
spec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
spec
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'供应状态'
,
width
:
'150'
,
key
:
'supplyStatus'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'供应状态'
,
width
:
'150'
,
key
:
'supplyStatus'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
supplyStatus
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
supplyStatus
:
'
/
'
return
value
return
value
}
}
},
},
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
{
title
:
'炉/批号'
,
key
:
'lotNo'
,
width
:
'150'
,
headerAlign
:
'center'
},
{
title
:
'炉/批号'
,
key
:
'lotNo'
,
width
:
'150'
,
headerAlign
:
'center'
},
{
{
title
:
'计量单位'
,
key
:
'unitName'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'计量单位'
,
key
:
'unitName'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
''
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
'
/
'
return
value
return
value
}
}
},
},
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess_view/index.vue
View file @
70d96369
...
@@ -170,37 +170,37 @@ export default {
...
@@ -170,37 +170,37 @@ export default {
},
},
{
{
title
:
'物料编码'
,
key
:
'typeCode'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'100'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'物料编码'
,
key
:
'typeCode'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'100'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
''
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'物料名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'物料名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
''
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'规格'
,
width
:
'150'
,
key
:
'spec'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'规格'
,
width
:
'150'
,
key
:
'spec'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
spec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
spec
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'供应状态'
,
width
:
'150'
,
key
:
'supplyStatus'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'供应状态'
,
width
:
'150'
,
key
:
'supplyStatus'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
supplyStatus
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
supplyStatus
:
'
/
'
return
value
return
value
}
}
},
},
...
@@ -210,7 +210,7 @@ export default {
...
@@ -210,7 +210,7 @@ export default {
{
title
:
'炉/批号'
,
key
:
'lotNo'
,
width
:
'150'
,
headerAlign
:
'center'
},
{
title
:
'炉/批号'
,
key
:
'lotNo'
,
width
:
'150'
,
headerAlign
:
'center'
},
{
{
title
:
'计量单位'
,
key
:
'unitName'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'计量单位'
,
key
:
'unitName'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
''
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
'
/
'
return
value
return
value
}
}
},
},
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingView/index.vue
View file @
70d96369
...
@@ -38,37 +38,37 @@ export default {
...
@@ -38,37 +38,37 @@ export default {
},
},
{
{
title
:
'物料编码'
,
key
:
'typeCode'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'100'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'物料编码'
,
key
:
'typeCode'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'100'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
''
const
value
=
row
.
resCode
?
row
.
resCode
:
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'物料名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'物料名称'
,
key
:
'resName'
,
width
:
'120'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
''
const
value
=
row
.
resName
?
row
.
resName
:
row
.
extMaterial
?
row
.
extMaterial
.
resName
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'牌号/型号/件号'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
modelNo
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'技术条件'
,
width
:
'150'
,
key
:
'modelNo'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
techSpec
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'规格'
,
width
:
'150'
,
key
:
'spec'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'规格'
,
width
:
'150'
,
key
:
'spec'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
spec
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
spec
:
'
/
'
return
value
return
value
}
}
},
},
{
{
title
:
'供应状态'
,
width
:
'150'
,
key
:
'supplyStatus'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'供应状态'
,
width
:
'150'
,
key
:
'supplyStatus'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
supplyStatus
:
''
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
supplyStatus
:
'
/
'
return
value
return
value
}
}
},
},
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
{
title
:
'炉/批号'
,
key
:
'lotNo'
,
width
:
'150'
,
headerAlign
:
'center'
},
{
title
:
'炉/批号'
,
key
:
'lotNo'
,
width
:
'150'
,
headerAlign
:
'center'
},
{
{
title
:
'计量单位'
,
key
:
'unitName'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'计量单位'
,
key
:
'unitName'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
''
const
value
=
row
.
reqUnit
?
row
.
reqUnit
:
row
.
extMaterial
?
row
.
extMaterial
.
extUnit
.
unitName
:
'
/
'
return
value
return
value
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment