11816 hace 1 día
padre
commit
bc3b7fd9ef
Se han modificado 1 ficheros con 19 adiciones y 19 borrados
  1. 19
    19
      src/views/psExe.vue

+ 19
- 19
src/views/psExe.vue Ver fichero

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

Loading…
Cancelar
Guardar