From 3635df0bf15df4c2ed450804ac9c1b0027573b2c Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 17 七月 2025 14:13:56 +0800 Subject: [PATCH] 1.弹框提交按钮位置统一 --- src/views/procurementManagement/invoiceEntry/components/Modal.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/procurementManagement/invoiceEntry/components/Modal.vue b/src/views/procurementManagement/invoiceEntry/components/Modal.vue index f4f3045..af73652 100644 --- a/src/views/procurementManagement/invoiceEntry/components/Modal.vue +++ b/src/views/procurementManagement/invoiceEntry/components/Modal.vue @@ -123,6 +123,7 @@ placeholder="璇疯緭鍏�" :min="0" :step="0.1" + :precision="2" clearable style="width: 100%" @change="invoiceNumBlur(row)" @@ -133,6 +134,7 @@ v-model="row.ticketsAmount" placeholder="璇疯緭鍏�" :min="0" + :precision="2" :step="0.1" clearable style="width: 100%" @@ -142,10 +144,10 @@ </PIMTable> </el-form> <template #footer> + <el-button type="primary" :loading="modalLoading" @click="submitForm"> + {{ modalOptions.confirmText }} + </el-button> <el-button @click="closeModal">{{ modalOptions.cancelText }}</el-button> - <el-button type="primary" :loading="modalLoading" @click="submitForm"> - {{ modalOptions.confirmText }} - </el-button> </template> </el-dialog> </template> @@ -412,7 +414,7 @@ const submitForm = () => { formRef.value.validate(async (valid, fields) => { if (valid) { - modalLoading.value = true; + // modalLoading.value = true; const { code } = await addOrUpdateRegistration({ purchaseLedgerId: id.value, purchaseContractNumber: form.purchaseLedgerNo, -- Gitblit v1.9.3