From a5a80af9017fdb8d378eb6f682e24dae99d19977 Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期五, 15 八月 2025 10:12:09 +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