给商品和单据增加序列号和批次字段

This commit is contained in:
季圣华
2021-09-28 00:28:36 +08:00
parent 09b603c80e
commit 79c696b150
7 changed files with 107 additions and 63 deletions

View File

@@ -106,6 +106,10 @@
<a-tag v-if="enableSerialNumber==1" color="green">有</a-tag>
<a-tag v-if="enableSerialNumber==0" color="orange">无</a-tag>
</template>
<template slot="customRenderEnableBatchNumber" slot-scope="enableBatchNumber">
<a-tag v-if="enableBatchNumber==1" color="green">有</a-tag>
<a-tag v-if="enableBatchNumber==0" color="orange">无</a-tag>
</template>
</a-table>
</div>
<!-- table区域-end -->
@@ -175,11 +179,14 @@
{title: '序列号', dataIndex: 'enableSerialNumber', width: '4%', align: "center",
scopedSlots: { customRender: 'customRenderEnableSerialNumber' }
},
{title: '批号', dataIndex: 'enableBatchNumber', width: '3%', align: "center",
scopedSlots: { customRender: 'customRenderEnableBatchNumber' }
},
{
title: '操作',
dataIndex: 'action',
align:"center",
width: '8%',
width: '6%',
scopedSlots: { customRender: 'action' },
}
],