From 3049bbb1999cdd0cf1403b7397397fe8b2b54678 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期一, 04 八月 2025 13:32:41 +0800
Subject: [PATCH] yys  修改bug

---
 src/views/procurementManagement/invoiceEntry/components/Modal.vue |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/views/procurementManagement/invoiceEntry/components/Modal.vue b/src/views/procurementManagement/invoiceEntry/components/Modal.vue
index ae6a79f..f29b78a 100644
--- a/src/views/procurementManagement/invoiceEntry/components/Modal.vue
+++ b/src/views/procurementManagement/invoiceEntry/components/Modal.vue
@@ -58,6 +58,7 @@
               v-model="form.invoiceAmount"
               placeholder="鑷姩濉厖"
               clearable
+              :disabled="true"
             />
           </el-form-item>
         </el-col>
@@ -77,6 +78,8 @@
               style="width: 100%"
               v-model="form.entryDate"
               type="date"
+              value-format="YYYY-MM-DD"
+              format="YYYY-MM-DD"
               clearable
             />
           </el-form-item>
@@ -103,6 +106,8 @@
               style="width: 100%"
               v-model="form.enterDate"
               type="date"
+              value-format="YYYY-MM-DD"
+              format="YYYY-MM-DD"
               clearable
             />
           </el-form-item>
@@ -123,6 +128,7 @@
             placeholder="璇疯緭鍏�"
             :min="0"
             :step="0.1"
+						:precision="2"
             clearable
             style="width: 100%"
             @change="invoiceNumBlur(row)"
@@ -133,6 +139,7 @@
             v-model="row.ticketsAmount"
             placeholder="璇疯緭鍏�"
             :min="0"
+						:precision="2"
             :step="0.1"
             clearable
             style="width: 100%"
@@ -142,10 +149,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>
@@ -220,10 +227,12 @@
   {
     label: "浜у搧澶х被",
     prop: "productCategory",
+		width: 120,
   },
   {
     label: "瑙勬牸鍨嬪彿",
     prop: "specificationModel",
+		width: 120,
   },
   {
     label: "鍗曚綅",
@@ -410,7 +419,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