From 054ced58ea3a99a3a6774bf43c9fb794781f0651 Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期一, 16 六月 2025 11:16:58 +0800 Subject: [PATCH] 额定寿命 --- src/views/tms/modules/outBound/OutboundOrderModal.vue | 34 +++++++++++++++++++++++++++++++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/views/tms/modules/outBound/OutboundOrderModal.vue b/src/views/tms/modules/outBound/OutboundOrderModal.vue index 9d1a4e7..29c765c 100644 --- a/src/views/tms/modules/outBound/OutboundOrderModal.vue +++ b/src/views/tms/modules/outBound/OutboundOrderModal.vue @@ -18,7 +18,7 @@ </a-col> <a-col :span="12"> <a-form-model-item label="鍑哄簱绫诲瀷" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="outStorehouseType"> - <j-dict-select-tag :disabled="disableSubmit" @change="handleTypeChange" type="list" v-model="model.outStorehouseType" dictCode="out_storehouse_type" placeholder="璇烽�夋嫨鍑哄簱绫诲瀷" disabled/> + <j-dict-select-tag :disabled="disableSubmit" @change="handleTypeChange" type="list" v-model="model.outStorehouseType" dictCode="out_storehouse_type" placeholder="璇烽�夋嫨鍑哄簱绫诲瀷"/> </a-form-model-item> </a-col> </a-row> @@ -94,7 +94,22 @@ <div :key="col.dataIndex"> <a-input-number v-if="col.dataIndex === 'outboundQuantity'" - :disabled="record.quantity <= 1" + :disabled="record.accuracyClass === '1'" + :value="text" + @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" @@ -206,6 +221,18 @@ align:"center", dataIndex: 'outboundLocation' }, + // { + // title:'棰濆畾瀵垮懡', + // align:"center", + // dataIndex: 'ratedLife', + // scopedSlots: { customRender: 'ratedLife' }, + // }, + // { + // title:'浣跨敤瀵垮懡', + // align:"center", + // dataIndex: 'useLife', + // scopedSlots: { customRender: 'useLife' }, + // }, // { // title:'鍑哄簱鐘舵��;1.鏈嚭搴擄紱2.閮ㄥ垎鍑哄簱锛�3.鍑哄簱瀹屾垚', // align:"center", @@ -259,7 +286,8 @@ outboundQuantity: data[i].quantity, storageLocation: data[i].warehouseId, warehouseName: data[i].warehouseName, - outboundLocation: data[i].positionCode + outboundLocation: data[i].positionCode, + accuracyClass:data[i].accuracyClass }) } this.ipagination.total = this.dataSource.length -- Gitblit v1.9.3