From aa2f510e46e826b9851f9b5d21e642134d63e956 Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期一, 16 六月 2025 10:50:10 +0800 Subject: [PATCH] 刀具寿命 --- src/views/tms/modules/outBound/OutboundModal.vue | 30 +++++++++++++++++++++++++++++- 1 files changed, 29 insertions(+), 1 deletions(-) diff --git a/src/views/tms/modules/outBound/OutboundModal.vue b/src/views/tms/modules/outBound/OutboundModal.vue index a0e748a..7c8b4ec 100644 --- a/src/views/tms/modules/outBound/OutboundModal.vue +++ b/src/views/tms/modules/outBound/OutboundModal.vue @@ -56,6 +56,20 @@ @change="(e) => handleChange(e, record.key, col, index)" :min="1" /> + <a-input-number + v-if="col.dataIndex === 'ratedLife'" + :disabled="record.quantity > 1" + :value="text" + @change="(e) => handleChange(e, record.key, col, index)" + :min="1" + /> + <a-input-number + v-if="col.dataIndex === 'useLife'" + :disabled="record.quantity > 1" + :value="text" + @change="(e) => handleChange(e, record.key, col, index)" + :min="1" + /> </div> </template> <span slot="action" v-if="disableSubmit === false" slot-scope="text, record, index"> @@ -161,6 +175,18 @@ title:'鍑哄簱搴撲綅', align:"center", dataIndex: 'outboundLocation' + }, + { + title:'棰濆畾瀵垮懡', + align:"center", + dataIndex: 'ratedLife', + scopedSlots: { customRender: 'ratedLife' }, + }, + { + title:'浣跨敤瀵垮懡', + align:"center", + dataIndex: 'useLife', + scopedSlots: { customRender: 'useLife' }, }, // { // title:'鍑哄簱鐘舵��;1.鏈嚭搴擄紱2.閮ㄥ垎鍑哄簱锛�3.鍑哄簱瀹屾垚', @@ -302,7 +328,9 @@ toolId: item.toolId, outboundQuantity: item.outboundQuantity, outStorehouseType: this.model.outStorehouseType, - storageLocation: item.storageLocation + storageLocation: item.storageLocation, + ratedLife:item.ratedLife, + useLife:item.useLife } }) this.confirmLoading = true; -- Gitblit v1.9.3