From 4f0517d5c30ec2962c16883f0552cfa6db2034dc Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 30 十月 2026 10:08:37 +0800
Subject: [PATCH] feat: 设备台账启用状态、审批签核展示与导入交互修复
---
src/views/equipmentManagement/ledger/Form.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/views/equipmentManagement/ledger/Form.vue b/src/views/equipmentManagement/ledger/Form.vue
index 46d5c98..f820cdc 100644
--- a/src/views/equipmentManagement/ledger/Form.vue
+++ b/src/views/equipmentManagement/ledger/Form.vue
@@ -57,8 +57,11 @@
</el-form-item>
</el-col>
<el-col :span="12">
- <el-form-item label="瀛樻斁浣嶇疆" prop="storageLocation">
- <el-input v-model="form.storageLocation" placeholder="璇疯緭鍏ュ瓨鏀句綅缃�" />
+ <el-form-item label="鍚敤鐘舵��" prop="isEnabled">
+ <el-radio-group v-model="form.isEnabled">
+ <el-radio :value="1">鍚敤</el-radio>
+ <el-radio :value="0">鍋滅敤</el-radio>
+ </el-radio-group>
</el-form-item>
</el-col>
<el-col :span="12">
@@ -246,7 +249,7 @@
type: undefined, // 璁惧绫诲瀷
areaId: undefined, // 鎵�灞炲尯鍩�
supplierName: undefined, // 渚涘簲鍟�
- storageLocation: undefined, // 瀛樻斁浣嶇疆
+ isEnabled: 1, // 鍚敤鐘舵�� 1-鍚敤 0-鍋滅敤锛屽仠鐢ㄨ澶囦笉鍙備笌宸℃
isDepr: 2, // 鏄惁鍚敤鎶樻棫 1-鏄� 2-鍚�
annualDepreciationAmount: undefined, // 姣忓勾鎶樻棫閲戦
unit: undefined, // 鍗曚綅
@@ -292,7 +295,7 @@
form.type = data.type;
form.supplierName = data.supplierName;
form.areaId = data.areaId;
- form.storageLocation = data.storageLocation;
+ form.isEnabled = data.isEnabled ?? 1;
form.isDepr = data.isDepr;
form.annualDepreciationAmount = data.annualDepreciationAmount;
form.unit = data.unit;
--
Gitblit v1.9.3