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
06ea74d7
Commit
06ea74d7
authored
Aug 17, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三期出库流程表格修改
parent
03c50f25
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
18 deletions
+47
-18
index.vue
...ivateComponents/components/OutStorageExpireFlow/index.vue
+45
-17
storageDetailsCreateCom.vue
...arehousingNewOrEdit/component/storageDetailsCreateCom.vue
+1
-1
index.vue
...nents/components/PurchasingWarehousingNewOrEdit/index.vue
+1
-0
No files found.
applications/dee-mes/src/privateComponents/components/OutStorageExpireFlow/index.vue
View file @
06ea74d7
<
template
>
<div>
<DeeAsCom
v-if=
"basicData"
ref=
"list"
:basic-data=
"basicData"
:lay-config=
"
{
typeName: 'OutStorageExpire',
layKey: 'flowTable'
}"
@tb-printCode="tbPrintCode"
/>
<!--
<DeeAsCom
v-if=
"basicData"
ref=
"list"
:basic-data=
"basicData"
...
...
@@ -9,7 +19,7 @@
layKey: 'OutStorageExpireFlow'
}"
@tb-printCode="tbPrintCode"
/>
/>
-->
<PrintTag
ref=
"print"
:config=
"printConfig"
/>
</div>
</
template
>
...
...
@@ -32,13 +42,25 @@ export default {
printConfig
:
{
visible
:
false
,
width
:
300
,
prints
:
[]
prints
:
[],
dic
:
[]
}
}
},
mounted
()
{
this
.
$utils
.
getDicListByCode
(
'ObjStatus'
).
then
(
res
=>
{
this
.
dic
=
res
})
// defaultQueryParams = [{
// items: [{
// 'fieldName': 'id',
// 'operator': 'EQ',
// 'value': obtainedParams.basicData.id
// }],
// operator: 'AND'
// }]
},
methods
:
{
...
...
@@ -50,24 +72,30 @@ export default {
this
.
printConfig
=
Object
.
assign
({},
this
.
printConfig
,
{
visible
:
true
})
const
state
=
this
.
dic
.
find
(
item
=>
item
.
value
===
row
.
state
)
this
.
printConfig
.
prints
.
push
({
text
:
row
.
id
,
propertys
:
[
{
label
:
'编码'
,
value
:
row
.
extMaterial
.
resCode
},
{
label
:
'名称'
,
value
:
row
.
extMaterial
.
resName
},
{
label
:
'型号/牌号/件号'
,
value
:
row
.
extMaterial
.
modelNo
},
{
label
:
'规格'
,
value
:
row
.
extMaterial
.
spec
},
{
label
:
'批号'
,
value
:
row
.
lotNo
},
{
label
:
'系列号/序列号'
,
value
:
row
.
serialNo
},
{
label
:
'机型'
,
value
:
row
.
airModel
},
{
label
:
'验收单号'
,
value
:
row
.
purchaseOrderNo
},
{
label
:
'保证保管期'
,
value
:
''
},
{
label
:
'出库数量'
,
value
:
row
.
reqAmount
},
{
label
:
'贮存期'
,
value
:
''
},
{
label
:
'库位号'
,
value
:
''
},
{
label
:
'计量单位'
,
value
:
row
.
extMaterial
.
extUnit
.
unitName
},
{
label
:
'AO号'
,
value
:
''
},
{
label
:
'备注'
,
value
:
row
.
remark
||
''
}
{
label
:
'状态'
,
value
:
state
?
state
.
label
:
row
.
state
},
{
label
:
'申请单编号'
,
value
:
row
.
reqNo
},
{
label
:
'申请依据'
,
value
:
row
.
reqBill
},
{
label
:
'申请部门'
,
value
:
row
.
reqDept
},
{
label
:
'创建人'
,
value
:
row
.
creator
.
userName
},
{
label
:
'创建时间'
,
value
:
row
.
createTime
}
// { label: '名称', value: row.extMaterial.resName },
// { label: '型号/牌号/件号', value: row.extMaterial.modelNo },
// { label: '规格', value: row.extMaterial.spec },
// { label: '批号', value: row.lotNo },
// { label: '系列号/序列号', value: row.serialNo },
// { label: '机型', value: row.airModel },
// { label: '验收单号', value: row.purchaseOrderNo },
// { label: '保证保管期', value: '' },
// { label: '出库数量', value: row.reqAmount },
// { label: '贮存期', value: '' },
// { label: '库位号', value: '' },
// { label: '计量单位', value: row.extMaterial.extUnit.unitName },
// { label: 'AO号', value: '' },
// { label: '备注', value: row.remark || '' }
]
})
})
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/component/storageDetailsCreateCom.vue
View file @
06ea74d7
...
...
@@ -311,7 +311,7 @@ export default {
if
(
!
this
.
header
)
return
this
.
$set
(
this
.
form
,
'supplier'
,
this
.
header
.
supplierFullName
.
label
||
''
)
this
.
$set
(
this
.
form
,
'arrivalDate'
,
this
.
header
.
arrivalDate
)
const
childrenAddOrEdit
=
this
.
operateType
===
'ADD'
||
(
this
.
operateType
===
'MODIFY'
&&
!
this
.
form
.
isRoot
)
const
childrenAddOrEdit
=
this
.
header
.
materialTypeName
.
label
===
'外购成品'
&&
(
this
.
operateType
===
'ADD'
||
(
this
.
operateType
===
'MODIFY'
&&
!
this
.
form
.
isRoot
)
)
switch
(
this
.
header
.
billType
)
{
case
'器材'
:
case
'Material'
:
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/index.vue
View file @
06ea74d7
...
...
@@ -548,6 +548,7 @@ export default {
if
(
targetItem
)
{
targetItem
.
component
.
options
=
res
.
items
.
content
.
map
(
row
=>
({
value
:
row
.
id
,
label
:
row
.
typeName
}))
}
this
.
form
.
materialTypeId
=
''
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
...
...
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