|
|
@@ -31,11 +31,12 @@
|
|
|
record.processed === null ||
|
|
|
record.processed === false
|
|
|
"
|
|
|
+ type="danger"
|
|
|
@click="operate(record)"
|
|
|
>
|
|
|
关闭
|
|
|
</a-button>
|
|
|
- <a-button v-if="record.processed === true" @click="operate(record)">
|
|
|
+ <a-button v-if="record.processed === true" type="primary" @click="operate(record)">
|
|
|
打开
|
|
|
</a-button>
|
|
|
</template>
|
|
|
@@ -70,7 +71,6 @@ const columns = reactive(
|
|
|
title: '单位名称',
|
|
|
key: 'cname',
|
|
|
dataIndex: 'cname',
|
|
|
- width:180,
|
|
|
},
|
|
|
{
|
|
|
title: '单据号',
|
|
|
@@ -88,31 +88,26 @@ const columns = reactive(
|
|
|
title: '盘点状态',
|
|
|
key: 'inventoryStatus',
|
|
|
dataIndex: 'inventoryStatus',
|
|
|
- width:180,
|
|
|
},
|
|
|
{
|
|
|
title: '盘点总数',
|
|
|
key: 'totalCount',
|
|
|
dataIndex: 'totalCount',
|
|
|
- width:160,
|
|
|
},
|
|
|
{
|
|
|
title: '已盘点数量',
|
|
|
key: 'countedQuantity',
|
|
|
dataIndex: 'countedQuantity',
|
|
|
- width:160,
|
|
|
},
|
|
|
{
|
|
|
title: '状态',
|
|
|
key: 'processed',
|
|
|
dataIndex: 'processed',
|
|
|
- width:180,
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|
|
|
key: 'operation',
|
|
|
dataIndex: 'operation',
|
|
|
- width:180,
|
|
|
fixed:'right',
|
|
|
},
|
|
|
].map(item => ({ ...item, align: 'center' })),
|