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
Show 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 {
...
@@ -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'
}
{
title
:
'创建时间'
,
key
:
'createTime'
,
headerAlign
:
'center'
}
],
],
tableData
:
[],
tableData
:
[],
...
@@ -840,6 +843,7 @@ export default {
...
@@ -840,6 +843,7 @@ export default {
if
(
item
.
children
)
{
if
(
item
.
children
)
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
child
.
parentIndex
=
item
.
parentIndex
+
'.'
+
(
j
+
1
)
child
.
parentIndex
=
item
.
parentIndex
+
'.'
+
(
j
+
1
)
child
.
state
=
''
})
})
}
}
})
})
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess/index.vue
View file @
657c9e4c
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<
template
>
<
template
>
<div
:key=
"refreshKey"
class=
"purchasingwarehousing-process"
>
<div
:key=
"refreshKey"
class=
"purchasingwarehousing-process"
>
<dee-as-com
<dee-as-com
:lay-config=
"
{ typeName: 'InStoragePurchase', layKey: 'flowView_view' }
"
:lay-config=
"
topLayConfig
"
:basic-data=
"
{ id: basicData.inventoryReqId }"
:basic-data=
"
{ id: basicData.inventoryReqId }"
/>
/>
<div
class=
"sub-title"
>
<div
class=
"sub-title"
>
...
@@ -121,6 +121,9 @@ export default {
...
@@ -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
)
=>
{
title
:
'创建时间'
,
key
:
'createTime'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'120'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
return
row
.
createTime
&&
row
.
createTime
.
split
(
' '
)[
0
]
return
row
.
createTime
&&
row
.
createTime
.
split
(
' '
)[
0
]
...
@@ -137,11 +140,22 @@ export default {
...
@@ -137,11 +140,22 @@ export default {
pageSize
:
20
,
pageSize
:
20
,
total
:
0
,
total
:
0
,
pageSizes
:
[
10
,
20
,
50
,
100
]
pageSizes
:
[
10
,
20
,
50
,
100
]
}
},
topLayConfig
:
{
typeName
:
'InStoragePurchase'
,
layKey
:
'flowView_view'
}
}
}
},
},
computed
:
{},
computed
:
{},
watch
:
{
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
()
{
created
()
{
// 初始化数据
// 初始化数据
...
@@ -240,6 +254,7 @@ export default {
...
@@ -240,6 +254,7 @@ export default {
if
(
item
.
children
)
{
if
(
item
.
children
)
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
child
.
parentIndex
=
item
.
parentIndex
+
'.'
+
(
j
+
1
)
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 @@
...
@@ -7,7 +7,7 @@
<
template
>
<
template
>
<div
class=
"purchasingwarehousing-process"
>
<div
class=
"purchasingwarehousing-process"
>
<dee-as-com
<dee-as-com
:lay-config=
"
{ typeName: 'InStoragePurchase', layKey: 'flowView_view' }
"
:lay-config=
"
topLayConfig
"
:basic-data=
"
{ id: basicData.inventoryReqId }"
:basic-data=
"
{ id: basicData.inventoryReqId }"
/>
/>
<div
class=
"sub-title"
>
<div
class=
"sub-title"
>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
@pagination-size-change="changePageSize"
@pagination-size-change="changePageSize"
@pagination-current-change="changePageNum"
@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"
/>
<EditDrawer
ref=
"editDrawer"
:basic-data=
"basicData"
/>
<!-- 打印标签 -->
<!-- 打印标签 -->
<PrintTag
ref=
"print"
:config=
"printConfig"
/>
<PrintTag
ref=
"print"
:config=
"printConfig"
/>
...
@@ -47,6 +47,7 @@ export default {
...
@@ -47,6 +47,7 @@ export default {
}
}
},
},
data
()
{
data
()
{
const
_that
=
this
return
{
return
{
tableData
:
[],
tableData
:
[],
optionsTree
:
{
optionsTree
:
{
...
@@ -77,10 +78,11 @@ export default {
...
@@ -77,10 +78,11 @@ export default {
},
},
selections
:
[],
selections
:
[],
selectable
:
(
row
,
index
)
=>
{
selectable
:
(
row
,
index
)
=>
{
if
(
row
.
isRoot
&&
row
.
state
===
'In_Confirm'
)
{
if
(
row
.
isRoot
&&
row
.
state
===
'In_Confirm'
&&
_that
.
basicData
.
state
===
'In_Confirm'
)
{
return
true
return
true
}
}
}
},
topLayConfig
:
{
typeName
:
'InStoragePurchase'
,
layKey
:
'flowView_view'
}
}
}
},
},
...
@@ -223,6 +225,9 @@ export default {
...
@@ -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
)
=>
{
title
:
'创建时间'
,
key
:
'createTime'
,
align
:
'center'
,
headerAlign
:
'center'
,
width
:
'120'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
return
row
.
createTime
&&
row
.
createTime
.
split
(
' '
)[
0
]
return
row
.
createTime
&&
row
.
createTime
.
split
(
' '
)[
0
]
...
@@ -237,6 +242,16 @@ export default {
...
@@ -237,6 +242,16 @@ export default {
}
}
},
},
watch
:
{
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
()
{
created
()
{
// 初始化数据
// 初始化数据
...
@@ -374,6 +389,7 @@ export default {
...
@@ -374,6 +389,7 @@ export default {
if
(
item
.
children
)
{
if
(
item
.
children
)
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
item
.
children
.
forEach
((
child
,
j
)
=>
{
child
.
parentIndex
=
item
.
parentIndex
+
'.'
+
(
j
+
1
)
child
.
parentIndex
=
item
.
parentIndex
+
'.'
+
(
j
+
1
)
child
.
state
=
''
const
targetInventory
=
this
.
$utils
.
getTargetJobResponses
(
child
,
'JobResponseInEntry'
)
const
targetInventory
=
this
.
$utils
.
getTargetJobResponses
(
child
,
'JobResponseInEntry'
)
if
(
targetInventory
)
{
if
(
targetInventory
)
{
child
.
exWorkUnitName
=
targetInventory
.
extWorkUnit
&&
targetInventory
.
extWorkUnit
.
extcode
||
''
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