From f58c33cff459aa6544ecade64866d3ebb26bfac5 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期四, 31 七月 2025 18:21:02 +0800 Subject: [PATCH] 工具盘点-新增、编辑调整差异值可谓负数,和列表保持一致 --- src/views/tms/stocktakingBound/modules/ToolsStocktakingBoundModal.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/tms/stocktakingBound/modules/ToolsStocktakingBoundModal.vue b/src/views/tms/stocktakingBound/modules/ToolsStocktakingBoundModal.vue index d0d4230..28184ab 100644 --- a/src/views/tms/stocktakingBound/modules/ToolsStocktakingBoundModal.vue +++ b/src/views/tms/stocktakingBound/modules/ToolsStocktakingBoundModal.vue @@ -83,7 +83,7 @@ <a-input-number :disabled="disableSubmit" :value="text" v-if="col.dataIndex == 'practicalQuantity'" :min="0" :max="99999" @change="(e) => handleChange(e, record.key, col, index)" style="width: 100%;" /> - <a-input-number :value="text" v-if="col.dataIndex == 'differenceValue'" :min="0" :max="99999" + <a-input-number :value="text" v-if="col.dataIndex == 'differenceValue'" :disabled="true" @change="(e) => handleChange(e, record.key, col, index)" style="width: 100%;" /> <j-dict-select-tag :value="text" v-if="col.dataIndex == 'surplusDeficit'" @@ -169,14 +169,14 @@ }, { title: '鍒�鍏风紪鍙�', - dataIndex: 'toolCode', + dataIndex: 'toolId', align: 'center', - width: 150 + width: 180 }, { title: '宸ュ叿绫诲瀷', - dataIndex: 'applicationType', + dataIndex: 'applicationType_dictText', align: 'center', width: 150 }, @@ -327,11 +327,12 @@ this.$bus.$on('selectionRows', (data) => { for (let i = 0; i < data.length; i++) { this.dataSource.push({ - toolId: data[i].id, + toolId: data[i].toolId, toolCode: data[i].toolCode, classifyId: data[i].classifyId, - applicationType: data[i].applicationType_dictText, + applicationType_dictText: data[i].applicationType_dictText, chineseName: data[i].chineseName, + availableQuantity:data[i].availableCount, toolModel: data[i].toolModel, material: data[i].material, toolMaterial: data[i].toolMaterial, -- Gitblit v1.9.3