From 06bea42e538d820b1837c14ba87691a63bf51936 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 19 三月 2026 17:42:22 +0800
Subject: [PATCH] 军泰伟业 1.修改生产模块的图纸编号和规格型号字段

---
 src/views/salesManagement/paymentShipping/index.vue |   30 +++++++++++-------------------
 1 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/src/views/salesManagement/paymentShipping/index.vue b/src/views/salesManagement/paymentShipping/index.vue
index 0bcfd87..69b4b05 100644
--- a/src/views/salesManagement/paymentShipping/index.vue
+++ b/src/views/salesManagement/paymentShipping/index.vue
@@ -27,6 +27,7 @@
             <el-option label="寰呭彂璐�" value="寰呭彂璐�"></el-option>
             <el-option label="宸插彂璐�" value="宸插彂璐�"></el-option>
             <el-option label="宸茬鏀�" value="宸茬鏀�"></el-option>
+            <el-option label="宸叉挙閿�" value="宸叉挙閿�"></el-option>
           </el-select>
         </el-col>
         <el-col :span="6">
@@ -98,7 +99,7 @@
     </el-card>
 
     <!-- 鏂板/缂栬緫瀵硅瘽妗� -->
-    <el-dialog v-model="dialogVisible" :title="dialogTitle" width="700px">
+    <FormDialog v-model="dialogVisible" :title="dialogTitle" :width="'700px'" @close="dialogVisible = false" @confirm="handleSubmit" @cancel="dialogVisible = false">
       <el-form :model="form" :rules="rules" ref="formRef" label-width="100px">
         <el-row :gutter="20">
           <el-col :span="12">
@@ -148,6 +149,7 @@
                 <el-option label="寰呭彂璐�" value="寰呭彂璐�"></el-option>
                 <el-option label="宸插彂璐�" value="宸插彂璐�"></el-option>
                 <el-option label="宸茬鏀�" value="宸茬鏀�"></el-option>
+                <el-option label="宸叉挙閿�" value="宸叉挙閿�"></el-option>
               </el-select>
             </el-form-item>
           </el-col>
@@ -185,10 +187,10 @@
           <el-button type="primary" @click="handleSubmit">纭� 瀹�</el-button>
         </div>
       </template>
-    </el-dialog>
+    </FormDialog>
 
     <!-- 浠樻瀵硅瘽妗� -->
-    <el-dialog v-model="paymentDialogVisible" title="璁㈠崟浠樻" width="500px">
+    <FormDialog v-model="paymentDialogVisible" title="璁㈠崟浠樻" :width="'500px'" @close="paymentDialogVisible = false" @confirm="savePayment" @cancel="paymentDialogVisible = false">
       <el-form label-width="100px">
         <el-form-item label="璁㈠崟鍙�">
           <span>{{ currentRecord.orderNo }}</span>
@@ -214,16 +216,10 @@
           <el-input type="textarea" v-model="paymentRemark" rows="3" placeholder="璇疯緭鍏ヤ粯娆惧娉�"></el-input>
         </el-form-item>
       </el-form>
-      <template #footer>
-        <div class="dialog-footer">
-          <el-button @click="paymentDialogVisible = false">鍙� 娑�</el-button>
-          <el-button type="primary" @click="savePayment">纭� 瀹�</el-button>
-        </div>
-      </template>
-    </el-dialog>
+    </FormDialog>
 
     <!-- 鍙戣揣瀵硅瘽妗� -->
-    <el-dialog v-model="shippingDialogVisible" title="璁㈠崟鍙戣揣" width="500px">
+    <FormDialog v-model="shippingDialogVisible" title="璁㈠崟鍙戣揣" :width="'500px'" @close="shippingDialogVisible = false" @confirm="saveShipping" @cancel="shippingDialogVisible = false">
       <el-form label-width="100px">
         <el-form-item label="璁㈠崟鍙�">
           <span>{{ currentRecord.orderNo }}</span>
@@ -257,13 +253,7 @@
           <el-input type="textarea" v-model="shippingRemark" rows="3" placeholder="璇疯緭鍏ュ彂璐у娉�"></el-input>
         </el-form-item>
       </el-form>
-      <template #footer>
-        <div class="dialog-footer">
-          <el-button @click="shippingDialogVisible = false">鍙� 娑�</el-button>
-          <el-button type="primary" @click="saveShipping">纭� 瀹�</el-button>
-        </div>
-      </template>
-    </el-dialog>
+    </FormDialog>
   </div>
 </template>
 
@@ -273,6 +263,7 @@
 import { Plus, Search } from '@element-plus/icons-vue'
 import {listPage,add,update,deletePaymentShipping} from "@/api/salesManagement/paymentShipping.js"
 import Pagination from '@/components/PIMTable/Pagination.vue'
+import FormDialog from '@/components/Dialog/FormDialog.vue'
 
 const total = ref(0)
 onMounted(() => {
@@ -357,7 +348,8 @@
   const statusMap = {
     '寰呭彂璐�': 'warning',
     '宸插彂璐�': 'primary',
-    '宸茬鏀�': 'success'
+    '宸茬鏀�': 'success',
+    '宸叉挙閿�': 'warning'
   }
   return statusMap[status] || 'info'
 }

--
Gitblit v1.9.3