From fecaf0050852d71e42444e2216a8844474f0de29 Mon Sep 17 00:00:00 2001
From: zhuguifei <312353457@qq.com>
Date: 星期五, 10 四月 2026 14:18:20 +0800
Subject: [PATCH] fix: 1.储丝单柜卷包产量处理包装机换班后产量不清零导致重复计算问题(2026.04.04后数据新增dac_up_time生效) 2.前端请求超时时间修改为20s
---
ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue | 42 +++++++++++++++++++++++++++++++-----------
1 files changed, 31 insertions(+), 11 deletions(-)
diff --git a/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue b/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
index c607874..47ed21d 100644
--- a/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
+++ b/ruoyi-plus-soybean/src/views/md/instrument/modules/instrument-operate-drawer.vue
@@ -56,15 +56,15 @@
function createDefaultModel(): Model {
return {
- id: '',
- instrumentCode: '',
- instrumentName: '',
- ifStd: '',
- isc: null,
- workShop: '',
- enable: 1,
- del: 0,
- instrumentDes: ''
+ id: '',
+ instrumentCode: '',
+ instrumentName: '',
+ ifStd: '',
+ isc: null,
+ workShop: '',
+ enable: 1,
+ del: 0,
+ instrumentDes: ''
};
}
@@ -93,12 +93,32 @@
// request
if (props.operateType === 'add') {
- const { error } = await fetchCreateInstrument({ id, instrumentCode, instrumentName, ifStd, isc, workShop, enable, del, instrumentDes });
+ const { error } = await fetchCreateInstrument({
+ id,
+ instrumentCode,
+ instrumentName,
+ ifStd,
+ isc,
+ workShop,
+ enable,
+ del,
+ instrumentDes
+ });
if (error) return;
}
if (props.operateType === 'edit') {
- const { error } = await fetchUpdateInstrument({ id, instrumentCode, instrumentName, ifStd, isc, workShop, enable, del, instrumentDes });
+ const { error } = await fetchUpdateInstrument({
+ id,
+ instrumentCode,
+ instrumentName,
+ ifStd,
+ isc,
+ workShop,
+ enable,
+ del,
+ instrumentDes
+ });
if (error) return;
}
--
Gitblit v1.9.3