@dongkboy пре 2 година
родитељ
комит
0c4f6202f4

+ 2 - 2
config/dev.env.js

@@ -5,8 +5,8 @@ const prodEnv = require('./prod.env')
 module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG:'"dev"',
-  // BASE_URL: '"http://39.98.239.48/web-api"',//测试服务器
-  BASE_URL:'"http://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
+  BASE_URL: '"http://39.98.239.48/web-api"',//测试服务器
+  // BASE_URL:'"http://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.253:8082/"',//田智
   // BASE_URL: '"http:///192.168.0.36:8080/"',//靖燕龙

+ 10 - 2
src/views/FinancialManagement/CarInsurance/CompanySettlement/DocQuery.vue

@@ -253,7 +253,7 @@
     </el-table-column>
       </el-table>
     </el-dialog>
-    <el-dialog title="核销" :visible.sync="writeOffVisible" width="70%">
+    <el-dialog title="核销" :visible.sync="writeOffVisible" width="70%"  @open="closeDialog">
       <el-form
         :model="writeOffRequest"
         label-width="130px"
@@ -953,6 +953,7 @@ export default {
                 type: "success",
               });
               this.writeOffVisible = false;
+              this.onSubmit();
             } else {
               this.$message({
                 message: res.msg,
@@ -1072,7 +1073,14 @@ export default {
         });
     },
     //--数据字典 end --
-
+    closeDialog(index) {
+      //  0:车辆  1:车主  2:投保人  3:被保人
+      this.writeOffRequest.feeType="";
+      this.writeOffRequest.amount="";
+      this.writeOffRequest.checkno="";
+      this.writeOffRequest.dirid="";
+      this.writeOffRequest.remark="";
+    },
     // 右侧列表的方法Start
     findPage(data) {
       // 获取分页数据