yaoyao 2 лет назад
Родитель
Сommit
b30155ef43

+ 5 - 0
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryUnsettled.vue

@@ -198,6 +198,11 @@ export default {
       formTableData:[],
       tableConfigDetail:{
         columns: [
+          {
+            prop: "yearMonthSignDate",
+            label: "年月",
+            type: "text"
+          },
           {
             prop: "invoicId",
             label: "开票号",

+ 5 - 0
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryUnsettled.vue

@@ -198,6 +198,11 @@ export default {
       findPageDetailList:{},
       tableConfigDetail:{
         columns: [
+          {
+            prop: "yearMonthSignDate",
+            label: "年月",
+            type: "text"
+          },
           {
             prop: "invoicId",
             label: "开票号",

+ 31 - 2
src/views/FinancialManagement/CarInsurance/PlatformSettlement/NonVehicleBalance.vue

@@ -225,7 +225,7 @@
         </el-col>
         <el-col :span="8">
           <el-form-item label="被保险人">
-              <el-input v-model="formDataListAdd.userId" class="inputType" size="small"></el-input>
+              <el-input v-model="formDataListAdd.insuredName" class="inputType" size="small"></el-input>
             </el-form-item>
         </el-col>
         <el-col :span="8">
@@ -638,7 +638,7 @@ export default {
         isPaginationShow:true,
         isShowIndex: true,
         isCheckBox:true,
-        operationWidth:'180',
+        operationWidth:'250',
         optBtns:[
           {
             type:'primary',
@@ -650,6 +650,11 @@ export default {
             label:'结算',
             click:(row, index) => {return this.balanceFun(row)},
         },
+        {
+            type:'primary',
+            label:'删除',
+            click:(row, index) => {return this.deleteBtn(row)},
+        },
         ]
     },
     formTableData:[],
@@ -831,6 +836,30 @@ export default {
   },
   
   methods: {
+    deleteBtn(row) {
+      this.$confirm('是否确认删除?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning'
+      }).then(() => {
+        this.$api.task.plyFeeDelete({id: row.id}).then(res => {
+          if (res.code == 200) {
+            this.$message({
+              type: 'success',
+              message: '删除成功!'
+           });
+           this.findPage()
+          } else {
+            this.$message.error(res.msg)
+          }
+        })
+      }).catch(() => {
+        this.$message({
+          type: 'info',
+          message: '已取消删除'
+        });          
+      });
+    },
     // 新增
     handAdd() {
       this.dialogVisibleAdd = true