Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
89811115
Commit
89811115
authored
Oct 04, 2021
by
季圣华
Browse files
优化序列号模块
parent
f1b119a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/SerialNumberList.vue
View file @
89811115
...
...
@@ -59,8 +59,11 @@
<a>
删除
</a>
</a-popconfirm>
</span>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
depotHeadNumber
}}
</a>
<span
slot=
"inBillNoCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record.inBillNo)"
>
{{
record
.
inBillNo
}}
</a>
</span>
<span
slot=
"outBillNoCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record.outBillNo)"
>
{{
record
.
outBillNo
}}
</a>
</span>
<!-- 状态渲染模板 -->
<template
slot=
"customRenderFlag"
slot-scope=
"isSell"
>
...
...
@@ -127,16 +130,20 @@
{
title
:
'
商品名称
'
,
align
:
"
center
"
,
dataIndex
:
'
materialName
'
,
width
:
120
},
{
title
:
'
仓库
'
,
align
:
"
center
"
,
dataIndex
:
'
depotName
'
,
width
:
150
},
{
title
:
'
单据编号
'
,
align
:
"
center
"
,
dataIndex
:
'
depotHeadNumber
'
,
width
:
150
,
scopedSlots
:
{
customRender
:
'
numberCustomRender
'
},
title
:
'
入库单号
'
,
align
:
"
center
"
,
dataIndex
:
'
inBillNo
'
,
width
:
150
,
scopedSlots
:
{
customRender
:
'
inBillNoCustomRender
'
},
},
{
title
:
'
出库单号
'
,
align
:
"
center
"
,
dataIndex
:
'
outBillNo
'
,
width
:
150
,
scopedSlots
:
{
customRender
:
'
outBillNoCustomRender
'
},
},
{
title
:
'
已卖出
'
,
align
:
"
center
"
,
dataIndex
:
'
isSell
'
,
width
:
60
,
scopedSlots
:
{
customRender
:
'
customRenderFlag
'
}
},
{
title
:
'
创建时间
'
,
align
:
"
center
"
,
dataIndex
:
'
createTime
'
,
width
:
1
8
0
,
{
title
:
'
创建时间
'
,
align
:
"
center
"
,
dataIndex
:
'
createTime
'
,
width
:
1
6
0
,
scopedSlots
:
{
customRender
:
'
customRenderTime
'
}
},
{
title
:
'
更新时间
'
,
align
:
"
center
"
,
dataIndex
:
'
updateTime
'
,
width
:
1
8
0
,
{
title
:
'
更新时间
'
,
align
:
"
center
"
,
dataIndex
:
'
updateTime
'
,
width
:
1
6
0
,
scopedSlots
:
{
customRender
:
'
customRenderTime
'
}
},
{
...
...
@@ -174,10 +181,10 @@
this
.
$refs
.
modalForm
.
isReadOnly
=
true
}
},
myHandleDetail
(
record
)
{
findBillDetailByNumber
({
number
:
record
.
depotHeadNumber
}).
then
((
res
)
=>
{
myHandleDetail
(
billNo
)
{
findBillDetailByNumber
({
number
:
billNo
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
handleDetail
(
res
.
data
,
re
cord
.
depotHeadType
);
this
.
handleDetail
(
res
.
data
,
re
s
.
data
.
depotHeadType
);
}
})
}
...
...
Write
Preview
Supports
Markdown
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