From 072b7c1fa983cbfa9dc5b311fd815c8d9142ee33 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 15 五月 2026 13:25:57 +0800
Subject: [PATCH] 进销存pro 1.计量器具台账不要检定周期了,不要安装位置,加一个快到期提醒
---
src/views/financialManagement/payable/input-invoice.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/views/financialManagement/payable/input-invoice.vue b/src/views/financialManagement/payable/input-invoice.vue
index b809c98..660d0dd 100644
--- a/src/views/financialManagement/payable/input-invoice.vue
+++ b/src/views/financialManagement/payable/input-invoice.vue
@@ -104,11 +104,12 @@
<el-col :span="8">
<el-form-item label="绋庣巼" prop="taxRate">
<el-select v-model="form.taxRate" placeholder="璇烽�夋嫨绋庣巼" style="width: 100%;" @change="calculateTax">
- <el-option label="0%" :value="0" />
- <el-option label="3%" :value="3" />
- <el-option label="6%" :value="6" />
- <el-option label="9%" :value="9" />
- <el-option label="13%" :value="13" />
+ <el-option
+ v-for="dict in tax_rate"
+ :key="dict.value"
+ :label="dict.label"
+ :value="Number(dict.value)"
+ />
</el-select>
</el-form-item>
</el-col>
@@ -150,7 +151,7 @@
</template>
<script setup>
-import { ref, reactive, onMounted } from "vue";
+import { ref, reactive, onMounted, getCurrentInstance } from "vue";
import { ElMessage, ElMessageBox } from "element-plus";
import FormDialog from "@/components/Dialog/FormDialog.vue";
@@ -158,6 +159,9 @@
name: "杩涢」鍙戠エ",
});
+const { proxy } = getCurrentInstance();
+const { tax_rate } = proxy.useDict("tax_rate");
+
const filters = reactive({
invoiceCode: "",
invoiceNo: "",
--
Gitblit v1.9.3