Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
33aa2aef
Commit
33aa2aef
authored
Jul 31, 2023
by
kzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询盘点
parent
bc1379dd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
173 additions
and
35 deletions
+173
-35
check.js
src/api/equipment/check.js
+7
-0
check.vue
src/views/equipment/check.vue
+90
-12
checkProcess.vue
src/views/equipment/checkProcess.vue
+65
-12
equipmentAbandonment.vue
src/views/equipment/equipmentAbandonment.vue
+11
-11
No files found.
src/api/equipment/check.js
View file @
33aa2aef
...
@@ -44,4 +44,11 @@ export function deleteByType(data){
...
@@ -44,4 +44,11 @@ export function deleteByType(data){
url
:
'/wbwarehouseinventorytemp/deleteByType/'
+
data
,
url
:
'/wbwarehouseinventorytemp/deleteByType/'
+
data
,
method
:
'delete'
method
:
'delete'
})
})
}
export
function
checkInventory
(
query
)
{
return
request
({
url
:
'/wbwarehouse/checkInventory/'
+
query
,
method
:
'get'
,
});
}
}
\ No newline at end of file
src/views/equipment/check.vue
View file @
33aa2aef
...
@@ -37,6 +37,10 @@
...
@@ -37,6 +37,10 @@
<el-button
style=
"padding: 8px 7px;"
icon=
"el-icon-refresh"
size=
"small"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
style=
"padding: 8px 7px;"
icon=
"el-icon-refresh"
size=
"small"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
<div
style=
"float: right"
>
<div
style=
"float: right"
>
<el-form-item>
<el-button
style=
"padding: 8px 7px;"
:type=
"'warning'"
:size=
"smallSize"
icon=
"el-icon-view"
@
click=
"checkInventory"
>
查看盘点
</el-button>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
style=
"padding: 8px 7px;"
:type=
"typePrimary"
:size=
"smallSize"
:icon=
"addIcon"
@
click=
"checkType"
>
开始盘点
{{
check
}}
</el-button>
<el-button
style=
"padding: 8px 7px;"
:type=
"typePrimary"
:size=
"smallSize"
:icon=
"addIcon"
@
click=
"checkType"
>
开始盘点
{{
check
}}
</el-button>
</el-form-item>
</el-form-item>
...
@@ -49,26 +53,26 @@
...
@@ -49,26 +53,26 @@
</el-form>
</el-form>
<div
class=
"placeholder"
/>
<div
class=
"placeholder"
/>
<div
style=
"padding:5px 10px"
>
<div
style=
"padding:5px 10px"
>
<div
class=
"mb12 font-small-bold"
>
设备管理
列表
</div>
<div
class=
"mb12 font-small-bold"
>
库存盘点
列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"pn"
prop=
"pn"
width=
"
1
20"
>
<el-table-column
label=
"pn"
prop=
"pn"
width=
"
2
20"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
width=
"
1
20"
>
<el-table-column
label=
"lot"
prop=
"lot"
width=
"
2
20"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"位置"
prop=
"plocation"
>
<el-table-column
label=
"位置"
prop=
"plocation"
width=
"220"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"phd"
>
<el-table-column
label=
"厚度"
prop=
"phd"
width=
"220"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
...
@@ -78,9 +82,9 @@
...
@@ -78,9 +82,9 @@
{{
scope
.
row
.
createName
||
'-'
}}
{{
scope
.
row
.
createName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"
cre
ateDate"
>
<el-table-column
label=
"操作时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"
upd
ateDate"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
cre
ateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
<span>
{{
scope
.
row
.
upd
ateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"80px"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"80px"
>
...
@@ -202,14 +206,44 @@
...
@@ -202,14 +206,44 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
" 操作时间:"
prop=
"
cre
ateDate"
>
<el-form-item
label=
" 操作时间:"
prop=
"
upd
ateDate"
>
<el-input
v-model
.
trim=
"singleDetails.
cre
ateDate"
:readonly=
"true"
/>
<el-input
v-model
.
trim=
"singleDetails.
upd
ateDate"
:readonly=
"true"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
</el-dialog>
</el-dialog>
<el-drawer
title=
"库存盘点列表"
:visible
.
sync=
"table"
direction=
"rtl"
size=
"50%"
>
<el-table
v-loading=
"loading"
border
:data=
"tableList"
@
selection-change=
"handleSelectionChange"
style=
"padding: 0 10px;"
>
<el-table-column
label=
"pn"
prop=
"pn"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"位置"
prop=
"plocation"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"phd"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</el-table-column>
</el-table>
</el-drawer>
</div>
</div>
</template>
</template>
...
@@ -223,7 +257,7 @@ import {
...
@@ -223,7 +257,7 @@ import {
getRole
,
getRole
,
updateRole
updateRole
}
from
'@/api/system/role'
}
from
'@/api/system/role'
import
{
checkType
,
listCheck
,
addList
,
deleteByType
}
from
'@/api/equipment/check'
import
{
checkType
,
listCheck
,
addList
,
deleteByType
,
checkInventory
}
from
'@/api/equipment/check'
import
{
roleMenuTreeselect
,
roleMenuTreeselectMC
,
treeselect
as
menuTreeselect
}
from
'@/api/system/menu'
import
{
roleMenuTreeselect
,
roleMenuTreeselectMC
,
treeselect
as
menuTreeselect
}
from
'@/api/system/menu'
import
{
roleDeptTreeselect
,
treeselect
as
deptTreeselect
}
from
'@/api/system/dept'
import
{
roleDeptTreeselect
,
treeselect
as
deptTreeselect
}
from
'@/api/system/dept'
// import { getRolesByInsId } from '../../../api/businessManage/template'
// import { getRolesByInsId } from '../../../api/businessManage/template'
...
@@ -236,6 +270,8 @@ export default {
...
@@ -236,6 +270,8 @@ export default {
Ptype
:
''
,
Ptype
:
''
,
checkList
:
[],
checkList
:
[],
},
},
table
:
false
,
tableList
:[],
// 选中的列表
// 选中的列表
selectList
:[],
selectList
:[],
// TODO: 表单里的单项详情参数
// TODO: 表单里的单项详情参数
...
@@ -246,7 +282,7 @@ export default {
...
@@ -246,7 +282,7 @@ export default {
location
:
''
,
location
:
''
,
thickness
:
''
,
thickness
:
''
,
createBy
:
''
,
createBy
:
''
,
createTim
e
:
''
updateDat
e
:
''
},
},
// 是否显示弹出层(数据详情)
// 是否显示弹出层(数据详情)
openDetails
:
false
,
openDetails
:
false
,
...
@@ -348,6 +384,31 @@ export default {
...
@@ -348,6 +384,31 @@ export default {
delFlag
:
0
delFlag
:
0
},
},
// 表单参数
// 表单参数
form
:
{
form
:
{
...
@@ -394,6 +455,23 @@ export default {
...
@@ -394,6 +455,23 @@ export default {
// });
// });
},
},
methods
:
{
methods
:
{
checkInventory
()
{
this
.
$confirm
(
'确认查询盘点吗?'
)
.
then
(
_
=>
{
this
.
table
=
true
checkInventory
(
1
)
.
then
(
response
=>
{
// 处理返回的数据
this
.
tableList
=
response
.
data
console
.
log
(
response
);
})
.
catch
(
error
=>
{
// 处理请求错误
console
.
error
(
error
);
});
done
();
}).
catch
(
_
=>
{});
},
// TODO: 获取所选行详情信息操作
// TODO: 获取所选行详情信息操作
handleDetail
(
row
)
{
handleDetail
(
row
)
{
this
.
singleDetails
=
this
.
formReset
this
.
singleDetails
=
this
.
formReset
...
@@ -414,7 +492,7 @@ export default {
...
@@ -414,7 +492,7 @@ export default {
if
(
flag
.
data
>
0
&&
flag
.
code
===
200
)
{
if
(
flag
.
data
>
0
&&
flag
.
code
===
200
)
{
this
.
$message
.
success
(
"结束盘点成功"
);
this
.
$message
.
success
(
"结束盘点成功"
);
}
else
{
}
else
{
this
.
$message
.
error
(
"
结束盘点失败
"
);
this
.
$message
.
error
(
"
当前未开始盘点
"
);
}
}
});
});
})
})
...
...
src/views/equipment/checkProcess.vue
View file @
33aa2aef
...
@@ -37,6 +37,10 @@
...
@@ -37,6 +37,10 @@
<el-button
style=
"padding: 8px 7px;"
icon=
"el-icon-refresh"
size=
"small"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
style=
"padding: 8px 7px;"
icon=
"el-icon-refresh"
size=
"small"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form-item>
<div
style=
"float: right"
>
<div
style=
"float: right"
>
<el-form-item>
<el-button
style=
"padding: 8px 7px;"
:type=
"'warning'"
:size=
"smallSize"
icon=
"el-icon-view"
@
click=
"checkInventory"
>
查看盘点
</el-button>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
style=
"padding: 8px 7px;"
:type=
"typePrimary"
:size=
"smallSize"
:icon=
"addIcon"
@
click=
"checkType"
>
开始盘点
{{
check
}}
</el-button>
<el-button
style=
"padding: 8px 7px;"
:type=
"typePrimary"
:size=
"smallSize"
:icon=
"addIcon"
@
click=
"checkType"
>
开始盘点
{{
check
}}
</el-button>
</el-form-item>
</el-form-item>
...
@@ -48,26 +52,26 @@
...
@@ -48,26 +52,26 @@
</el-form>
</el-form>
<div
class=
"placeholder"
/>
<div
class=
"placeholder"
/>
<div
style=
"padding:5px 10px"
>
<div
style=
"padding:5px 10px"
>
<div
class=
"mb12 font-small-bold"
>
设备管理
列表
</div>
<div
class=
"mb12 font-small-bold"
>
库存盘点
列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"pn"
prop=
"pn"
width=
"
1
20"
>
<el-table-column
label=
"pn"
prop=
"pn"
width=
"
2
20"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
width=
"
1
20"
>
<el-table-column
label=
"lot"
prop=
"lot"
width=
"
2
20"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"plocation"
prop=
"plocation"
>
<el-table-column
label=
"plocation"
prop=
"plocation"
width=
"220"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"phd"
>
<el-table-column
label=
"厚度"
prop=
"phd"
width=
"220"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
...
@@ -77,9 +81,9 @@
...
@@ -77,9 +81,9 @@
{{
scope
.
row
.
createName
||
'-'
}}
{{
scope
.
row
.
createName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"
cre
ateDate"
>
<el-table-column
label=
"操作时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"
upd
ateDate"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
cre
ateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
<span>
{{
scope
.
row
.
upd
ateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"80px"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"80px"
>
...
@@ -201,14 +205,44 @@
...
@@ -201,14 +205,44 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
" 操作时间:"
prop=
"
cre
ateDate"
>
<el-form-item
label=
" 操作时间:"
prop=
"
upd
ateDate"
>
<el-input
v-model
.
trim=
"singleDetails.
cre
ateDate"
:readonly=
"true"
/>
<el-input
v-model
.
trim=
"singleDetails.
upd
ateDate"
:readonly=
"true"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
</el-dialog>
</el-dialog>
<el-drawer
title=
"库存盘点列表"
:visible
.
sync=
"table"
direction=
"rtl"
size=
"50%"
>
<el-table
v-loading=
"loading"
border
:data=
"tableList"
@
selection-change=
"handleSelectionChange"
style=
"padding: 0 10px;"
>
<el-table-column
label=
"pn"
prop=
"pn"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"位置"
prop=
"plocation"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"phd"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</el-table-column>
</el-table>
</el-drawer>
</div>
</div>
</template>
</template>
...
@@ -224,7 +258,7 @@ import {
...
@@ -224,7 +258,7 @@ import {
updateRole
updateRole
}
from
'@/api/system/role'
}
from
'@/api/system/role'
import
{
listCheck
}
from
'@/api/equipment/checkProcess'
import
{
listCheck
}
from
'@/api/equipment/checkProcess'
import
{
checkType
,
addList
,
deleteByType
}
from
'@/api/equipment/check'
import
{
checkType
,
addList
,
deleteByType
,
checkInventory
}
from
'@/api/equipment/check'
import
{
roleMenuTreeselect
,
roleMenuTreeselectMC
,
treeselect
as
menuTreeselect
}
from
'@/api/system/menu'
import
{
roleMenuTreeselect
,
roleMenuTreeselectMC
,
treeselect
as
menuTreeselect
}
from
'@/api/system/menu'
import
{
roleDeptTreeselect
,
treeselect
as
deptTreeselect
}
from
'@/api/system/dept'
import
{
roleDeptTreeselect
,
treeselect
as
deptTreeselect
}
from
'@/api/system/dept'
// import { getRolesByInsId } from '../../../api/businessManage/template'
// import { getRolesByInsId } from '../../../api/businessManage/template'
...
@@ -240,8 +274,10 @@ export default {
...
@@ -240,8 +274,10 @@ export default {
location
:
''
,
location
:
''
,
thickness
:
''
,
thickness
:
''
,
createBy
:
''
,
createBy
:
''
,
createTim
e
:
''
updateDat
e
:
''
},
},
table
:
false
,
tableList
:[],
// 是否显示弹出层(数据详情)
// 是否显示弹出层(数据详情)
openDetails
:
false
,
openDetails
:
false
,
// // TODO: 模拟测试数据
// // TODO: 模拟测试数据
...
@@ -385,6 +421,23 @@ export default {
...
@@ -385,6 +421,23 @@ export default {
// });
// });
},
},
methods
:
{
methods
:
{
checkInventory
()
{
this
.
$confirm
(
'确认查询盘点吗?'
)
.
then
(
_
=>
{
this
.
table
=
true
checkInventory
(
2
)
.
then
(
response
=>
{
// 处理返回的数据
this
.
tableList
=
response
.
data
console
.
log
(
response
);
})
.
catch
(
error
=>
{
// 处理请求错误
console
.
error
(
error
);
});
done
();
}).
catch
(
_
=>
{});
},
// TODO: 获取所选行详情信息操作
// TODO: 获取所选行详情信息操作
handleDetail
(
row
)
{
handleDetail
(
row
)
{
this
.
singleDetails
=
this
.
formReset
this
.
singleDetails
=
this
.
formReset
...
@@ -405,7 +458,7 @@ export default {
...
@@ -405,7 +458,7 @@ export default {
if
(
flag
.
data
>
0
)
{
if
(
flag
.
data
>
0
)
{
this
.
$message
.
success
(
"结束盘点成功"
);
this
.
$message
.
success
(
"结束盘点成功"
);
}
else
{
}
else
{
this
.
$message
.
error
(
"
结束盘点失败
"
);
this
.
$message
.
error
(
"
当前未开始盘点
"
);
}
}
});
});
})
})
...
...
src/views/equipment/equipmentAbandonment.vue
View file @
33aa2aef
...
@@ -51,26 +51,26 @@
...
@@ -51,26 +51,26 @@
</el-form>
</el-form>
<div
class=
"placeholder"
/>
<div
class=
"placeholder"
/>
<div
style=
"padding:5px 10px"
>
<div
style=
"padding:5px 10px"
>
<div
class=
"mb12 font-small-bold"
>
设备
管理
列表
</div>
<div
class=
"mb12 font-small-bold"
>
设备
废弃
列表
</div>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
border
:data=
"equipmentList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
/>
<el-table-column
label=
"pn"
prop=
"pn"
width=
"
1
20"
>
<el-table-column
label=
"pn"
prop=
"pn"
width=
"
2
20"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
pn
||
'-'
}}
{{
scope
.
row
.
pn
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"lot"
prop=
"lot"
width=
"
1
20"
>
<el-table-column
label=
"lot"
prop=
"lot"
width=
"
2
20"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
lot
||
'-'
}}
{{
scope
.
row
.
lot
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"plocation"
prop=
"plocation"
>
<el-table-column
label=
"plocation"
prop=
"plocation"
width=
"220"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
plocation
||
'-'
}}
{{
scope
.
row
.
plocation
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"厚度"
prop=
"phd"
>
<el-table-column
label=
"厚度"
prop=
"phd"
width=
"220"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
phd
||
'-'
}}
{{
scope
.
row
.
phd
||
'-'
}}
</
template
>
</
template
>
...
@@ -80,9 +80,9 @@
...
@@ -80,9 +80,9 @@
{{
scope
.
row
.
createName
||
'-'
}}
{{
scope
.
row
.
createName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"
cre
ateDate"
>
<el-table-column
label=
"操作时间"
:show-overflow-tooltip=
"true"
align=
"center"
prop=
"
upd
ateDate"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
cre
ateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
<span>
{{
scope
.
row
.
upd
ateDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"150px"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"150px"
>
...
@@ -203,8 +203,8 @@
...
@@ -203,8 +203,8 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
" 操作时间:"
prop=
"
cre
ateDate"
>
<el-form-item
label=
" 操作时间:"
prop=
"
upd
ateDate"
>
<el-input
v-model
.
trim=
"singleDetails.
cre
ateDate"
:readonly=
"true"
/>
<el-input
v-model
.
trim=
"singleDetails.
upd
ateDate"
:readonly=
"true"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -289,7 +289,7 @@ export default {
...
@@ -289,7 +289,7 @@ export default {
location
:
''
,
location
:
''
,
thickness
:
''
,
thickness
:
''
,
createBy
:
''
,
createBy
:
''
,
createTim
e
:
''
updateDat
e
:
''
},
},
// 是否显示弹出层(数据详情)
// 是否显示弹出层(数据详情)
openDetails
:
false
,
openDetails
:
false
,
...
@@ -471,7 +471,7 @@ export default {
...
@@ -471,7 +471,7 @@ export default {
handleDetail
(
row
)
{
handleDetail
(
row
)
{
this
.
singleDetails
=
this
.
formReset
this
.
singleDetails
=
this
.
formReset
this
.
singleDetails
=
row
this
.
singleDetails
=
row
this
.
title
=
'
详情
信息'
this
.
title
=
'
废弃
信息'
this
.
openDetails
=
!
this
.
openDetails
this
.
openDetails
=
!
this
.
openDetails
},
},
handelTab
(
i
,
e
)
{
handelTab
(
i
,
e
)
{
...
...
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