Commit 8bbec4b2 by 王志慧

fixed

1 parent 6470af86
<template>
<GLDialog v-if="dialogShow" bigTitle="详细信息" mode="big" :visible.sync="dialogShow" :close-on-click-modal="false" @onOk="dialogShow = false" @onCancel="dialogShow = false" :hasFooter="false">
<GLDialog v-if="dialogShow" bigTitle="详细信息" mode="big" :visible.sync="dialogShow" :close-on-click-modal="false" @onOk="dialogShow = false" @onCancel="dialogShow = false" :hasFooter="false">
<div class="detail-content" v-if="dialogShow">
<div class="addressTitle">
<img src="@/images/addressIcon.webp" alt="" class="icon" />
......@@ -48,7 +48,6 @@ export default {
dialogShow: {
get() {
if (this.visible) {
this.getDetail({ currentPage: 1, pageSize: 20 })
}
return this.visible
......@@ -121,7 +120,7 @@ export default {
}
},
created() {
this.dynamicParams()
this.dynamicParams()
},
methods: {
dynamicParams() {
......@@ -131,13 +130,19 @@ export default {
label: '已发货数量',
prop: 'purchaseNumber',
width: 110,
line: 1
line: 1,
formatter: cellValue => {
return membraneTypeList.includes(cellValue.goodsType) ? `${cellValue.purchaseNumber}卷` : `${cellValue.purchaseNumber}件`
}
},
{
label: '已入库数量',
prop: 'inputNumber',
width: 110,
line: 1
line: 1,
formatter: cellValue => {
return membraneTypeList.includes(cellValue.goodsType) ? `${cellValue.inputNumber}米` : `${cellValue.inputNumber}件`
}
}
)
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!