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
657c9e4c
Commit
657c9e4c
authored
Sep 23, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验收入库bug修改
parent
c10d130b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
6 deletions
+41
-6
index.vue
...nents/components/PurchasingWarehousingNewOrEdit/index.vue
+4
-0
index.vue
...ponents/components/PurchasingWarehousingProcess/index.vue
+17
-2
index.vue
...ts/components/PurchasingWarehousingProcess_view/index.vue
+20
-4
No files found.
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/index.vue
View file @
657c9e4c
...
...
@@ -455,6 +455,9 @@ export default {
}
}
},
// { title: '是否虚拟件', key: 'isVirtual', width: '100', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
// return cellValue ? '是' : '否'
// } },
{
title
:
'创建时间'
,
key
:
'createTime'
,
headerAlign
:
'center'
}
],
tableData
:
[],
...
...
@@ -840,6 +843,7 @@ export default {
if
(
item
.
children
)
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
child
.
parentIndex
=
item
.
parentIndex
+
'.'
+
(
j
+
1
)
child
.
state
=
''
})
}
})
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess/index.vue
View file @
657c9e4c
...
...
@@ -7,7 +7,7 @@
<
template
>
<div
:key=
"refreshKey"
class=
"purchasingwarehousing-process"
>
<dee-as-com
:lay-config=
"
{ typeName: 'InStoragePurchase', layKey: 'flowView_view' }
"
:lay-config=
"
topLayConfig
"
:basic-data=
"
{ id: basicData.inventoryReqId }"
/>
<div
class=
"sub-title"
>
...
...
@@ -121,6 +121,9 @@ export default {
}
}
},
// { title: '是否虚拟件', key: 'isVirtual', width: '100', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
// return cellValue ? '是' : '否'
// } },
{
title
:
'创建时间'
,
key
:
'createTime'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'120'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
return
row
.
createTime
&&
row
.
createTime
.
split
(
' '
)[
0
]
...
...
@@ -137,11 +140,22 @@ export default {
pageSize
:
20
,
total
:
0
,
pageSizes
:
[
10
,
20
,
50
,
100
]
}
},
topLayConfig
:
{
typeName
:
'InStoragePurchase'
,
layKey
:
'flowView_view'
}
}
},
computed
:
{},
watch
:
{
'basicData.state'
:
{
immediate
:
true
,
handler
(
val
)
{
if
(
val
===
'Apply'
)
{
this
.
$set
(
this
.
topLayConfig
,
'layKey'
,
'flowtable_edit'
)
}
else
{
this
.
$set
(
this
.
topLayConfig
,
'layKey'
,
'flowView_view'
)
}
}
}
},
created
()
{
// 初始化数据
...
...
@@ -240,6 +254,7 @@ export default {
if
(
item
.
children
)
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
child
.
parentIndex
=
item
.
parentIndex
+
'.'
+
(
j
+
1
)
child
.
state
=
''
})
}
})
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess_view/index.vue
View file @
657c9e4c
...
...
@@ -7,7 +7,7 @@
<
template
>
<div
class=
"purchasingwarehousing-process"
>
<dee-as-com
:lay-config=
"
{ typeName: 'InStoragePurchase', layKey: 'flowView_view' }
"
:lay-config=
"
topLayConfig
"
:basic-data=
"
{ id: basicData.inventoryReqId }"
/>
<div
class=
"sub-title"
>
...
...
@@ -25,7 +25,7 @@
@pagination-size-change="changePageSize"
@pagination-current-change="changePageNum"
>
<dee-tools
slot=
"header"
:tools=
"tools"
mode=
"normal"
:collapse=
"false"
/></dee-up-table>
<dee-tools
v-if=
"basicData.state === 'In_Confirm'"
slot=
"header"
:tools=
"tools"
mode=
"normal"
:collapse=
"false"
/></dee-up-table>
<EditDrawer
ref=
"editDrawer"
:basic-data=
"basicData"
/>
<!-- 打印标签 -->
<PrintTag
ref=
"print"
:config=
"printConfig"
/>
...
...
@@ -47,6 +47,7 @@ export default {
}
},
data
()
{
const
_that
=
this
return
{
tableData
:
[],
optionsTree
:
{
...
...
@@ -77,10 +78,11 @@ export default {
},
selections
:
[],
selectable
:
(
row
,
index
)
=>
{
if
(
row
.
isRoot
&&
row
.
state
===
'In_Confirm'
)
{
if
(
row
.
isRoot
&&
row
.
state
===
'In_Confirm'
&&
_that
.
basicData
.
state
===
'In_Confirm'
)
{
return
true
}
}
},
topLayConfig
:
{
typeName
:
'InStoragePurchase'
,
layKey
:
'flowView_view'
}
}
},
...
...
@@ -223,6 +225,9 @@ export default {
}
}
},
// { title: '是否虚拟件', key: 'isVirtual', width: '100', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
// return cellValue ? '是' : '否'
// } },
{
title
:
'创建时间'
,
key
:
'createTime'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'120'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
return
row
.
createTime
&&
row
.
createTime
.
split
(
' '
)[
0
]
...
...
@@ -237,6 +242,16 @@ export default {
}
},
watch
:
{
'basicData.state'
:
{
immediate
:
true
,
handler
(
val
)
{
if
(
val
===
'Apply'
)
{
this
.
$set
(
this
.
topLayConfig
,
'layKey'
,
'flowtable_edit'
)
}
else
{
this
.
$set
(
this
.
topLayConfig
,
'layKey'
,
'flowView_view'
)
}
}
}
},
created
()
{
// 初始化数据
...
...
@@ -374,6 +389,7 @@ export default {
if
(
item
.
children
)
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
child
.
parentIndex
=
item
.
parentIndex
+
'.'
+
(
j
+
1
)
child
.
state
=
''
const
targetInventory
=
this
.
$utils
.
getTargetJobResponses
(
child
,
'JobResponseInEntry'
)
if
(
targetInventory
)
{
child
.
exWorkUnitName
=
targetInventory
.
extWorkUnit
&&
targetInventory
.
extWorkUnit
.
extcode
||
''
...
...
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