11816 před 14 hodinami
rodič
revize
bc3b7fd9ef
1 změnil soubory, kde provedl 19 přidání a 19 odebrání
  1. 19
    19
      src/views/psExe.vue

+ 19
- 19
src/views/psExe.vue Zobrazit soubor

@@ -58,13 +58,13 @@
58 58
       <!-- 第二排:单独模块导入按钮(分组排版) -->
59 59
       <div class="action-buttons single-buttons">
60 60
         <div class="single-buttons-group">
61
-          <span class="group-title">基础业务:</span>
61
+          <span class="group-title"></span>
62 62
           <el-button
63 63
               type="primary"
64 64
               :loading="stockLoading"
65 65
               :disabled="!fileList.length"
66 66
               @click="handleStockImport"
67
-              size="small"
67
+              size="default"
68 68
           >
69 69
             {{ stockLoading ? '导入中...' : '库存业务' }}
70 70
           </el-button>
@@ -73,17 +73,17 @@
73 73
               :loading="payLoading"
74 74
               :disabled="!fileList.length"
75 75
               @click="handlePayImport"
76
-              size="small"
76
+              size="default"
77 77
               style="margin-left: 5px"
78 78
           >
79
-            {{ payLoading ? '导入中...' : '付款业务' }}
79
+            {{ payLoading ? '导入中...' : '货款付款' }}
80 80
           </el-button>
81 81
           <el-button
82 82
               type="primary"
83 83
               :loading="feePayLoading"
84 84
               :disabled="!fileList.length"
85 85
               @click="handleFeePayImport"
86
-              size="small"
86
+              size="default"
87 87
               style="margin-left: 5px"
88 88
           >
89 89
             {{ feePayLoading ? '导入中...' : '费用付款' }}
@@ -91,13 +91,13 @@
91 91
         </div>
92 92
 
93 93
         <div class="single-buttons-group" style="margin-top: 10px">
94
-          <span class="group-title">发票结算:</span>
94
+          <span class="group-title"></span>
95 95
           <el-button
96 96
               type="primary"
97 97
               :loading="feeInvoiceLoading"
98 98
               :disabled="!fileList.length"
99 99
               @click="handleFeeInvoiceImport"
100
-              size="small"
100
+              size="default"
101 101
           >
102 102
             {{ feeInvoiceLoading ? '导入中...' : '费用发票结算' }}
103 103
           </el-button>
@@ -106,7 +106,7 @@
106 106
               :loading="jinxiangInvoiceLoading"
107 107
               :disabled="!fileList.length"
108 108
               @click="handleJinxiangInvoiceImport"
109
-              size="small"
109
+              size="default"
110 110
               style="margin-left: 5px"
111 111
           >
112 112
             {{ jinxiangInvoiceLoading ? '导入中...' : '进项发票结算' }}
@@ -114,22 +114,22 @@
114 114
         </div>
115 115
 
116 116
         <div class="single-buttons-group" style="margin-top: 10px">
117
-          <span class="group-title">其他结算:</span>
117
+          <span class="group-title"></span>
118 118
           <el-button
119 119
               type="primary"
120 120
               :loading="daodandengjiLoading"
121 121
               :disabled="!fileList.length"
122 122
               @click="handleDaodandengjiImport"
123
-              size="small"
123
+              size="default"
124 124
           >
125
-            {{ daodandengjiLoading ? '导入中...' : '到货登记结算' }}
125
+            {{ daodandengjiLoading ? '导入中...' : '到单登记' }}
126 126
           </el-button>
127 127
           <el-button
128 128
               type="primary"
129 129
               :loading="shoukuanrenlingLoading"
130 130
               :disabled="!fileList.length"
131 131
               @click="handleShoukuanrenlingImport"
132
-              size="small"
132
+              size="default"
133 133
               style="margin-left: 5px"
134 134
           >
135 135
             {{ shoukuanrenlingLoading ? '导入中...' : '收款认领结算' }}
@@ -139,7 +139,7 @@
139 139
               :loading="xiaoshoujiesuanLoading"
140 140
               :disabled="!fileList.length"
141 141
               @click="handleXiaoshoujiesuanImport"
142
-              size="small"
142
+              size="default"
143 143
               style="margin-left: 5px"
144 144
           >
145 145
             {{ xiaoshoujiesuanLoading ? '导入中...' : '销售结算开票' }}
@@ -149,7 +149,7 @@
149 149
               :loading="dailijiesuanLoading"
150 150
               :disabled="!fileList.length"
151 151
               @click="handleDailijiesuanImport"
152
-              size="small"
152
+              size="default"
153 153
               style="margin-left: 5px"
154 154
           >
155 155
             {{ dailijiesuanLoading ? '导入中...' : '代理结算' }}
@@ -158,10 +158,10 @@
158 158
 
159 159
         <el-button
160 160
             @click="handleReset"
161
-            size="small"
162
-            style="margin-top: 10px; margin-left: 0"
161
+            size="large"
162
+            style="margin-top: 30px; margin-left: 100px"
163 163
         >
164
-          重置
164
+                          重置
165 165
         </el-button>
166 166
       </div>
167 167
 
@@ -310,10 +310,10 @@ const commonImport = async (apiMethod, loadingRef, businessName) => {
310 310
     if (response.status === 200) {
311 311
       const resultData = response.data
312 312
       if (resultData.code === 200 || resultData.success === true) {
313
-        successMessage.value = resultData.message || `${businessName}导入成功`
313
+        successMessage.value = resultData.data|| `${businessName}导入成功` ||
314 314
         ElMessage.success(`${businessName}导入成功`)
315 315
       } else {
316
-        errorMessage.value = resultData.message || `${businessName}导入失败`
316
+        errorMessage.value = resultData.data || `${businessName}导入失败`
317 317
         ElMessage.error(`${businessName}导入失败`)
318 318
       }
319 319
     }

Loading…
Zrušit
Uložit