Commit 22f982ad by chenwq

fix(采购组件): 恢复膜卷号显示功能并修复表格列配置

取消注释膜卷号模板代码并添加对应的表格列配置,确保膜卷信息能够正常显示
1 parent bea7eed3
......@@ -38,7 +38,7 @@
</div>
</div>
<d2-table ref="recordTable" v-if="item.deliveryCardList === null || item.deliveryCardList.length == 0" :table-data="item.goodsWarehousingList" :table-params="tableParams" :has-page="false">
<!-- <template slot="filmRollNo" slot-scope="scope">
<template slot="filmRollNo" slot-scope="scope">
<div v-if="scope.scope.filmRollList && scope.scope.filmRollList.length == 1">
{{ scope.scope.filmRollList[0] }}
</div>
......@@ -58,7 +58,7 @@
<div v-else>
<span style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">{{ '-' }}</span>
</div>
</template> -->
</template>
</d2-table>
<div v-else class="message">
已自动入库至商户的权益卡管理中,可前往“库存管理-权益卡管理”中查询
......@@ -99,14 +99,12 @@ export default {
formatter: (cellValue) => {
return (cellValue.increaseStockNum || cellValue.increaseStockNum == 0) ? (this.membraneTypeList.includes(cellValue.goodsType) ? parseFloat(cellValue.increaseStockNum / cellValue.alternateUnits).toFixed(2) : parseFloat(cellValue.increaseStockNum).toFixed(2)) + (this.membraneTypeList.includes(cellValue.goodsType) ? '卷' : '件') : '-'
}
},
// {
// label: '膜卷号',
// name: '',
// type: 'slot',
// addHtml: 'filmRollNo'
// },
{
}, {
label: '膜卷号',
name: '',
type: 'slot',
addHtml: 'filmRollNo'
}, {
label: '入库仓库',
prop: 'yqMerchantName'
// width: '150px'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!