Commit 8bbec4b2 by 王志慧

fixed

1 parent 6470af86
...@@ -48,7 +48,6 @@ export default { ...@@ -48,7 +48,6 @@ export default {
dialogShow: { dialogShow: {
get() { get() {
if (this.visible) { if (this.visible) {
this.getDetail({ currentPage: 1, pageSize: 20 }) this.getDetail({ currentPage: 1, pageSize: 20 })
} }
return this.visible return this.visible
...@@ -131,13 +130,19 @@ export default { ...@@ -131,13 +130,19 @@ export default {
label: '已发货数量', label: '已发货数量',
prop: 'purchaseNumber', prop: 'purchaseNumber',
width: 110, width: 110,
line: 1 line: 1,
formatter: cellValue => {
return membraneTypeList.includes(cellValue.goodsType) ? `${cellValue.purchaseNumber}卷` : `${cellValue.purchaseNumber}件`
}
}, },
{ {
label: '已入库数量', label: '已入库数量',
prop: 'inputNumber', prop: 'inputNumber',
width: 110, width: 110,
line: 1 line: 1,
formatter: cellValue => {
return membraneTypeList.includes(cellValue.goodsType) ? `${cellValue.inputNumber}米` : `${cellValue.inputNumber}件`
}
} }
) )
} else { } else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!