|
|
@@ -9,11 +9,17 @@
|
|
|
prop="useQualificationType"
|
|
|
align="center"
|
|
|
label="资质类型">
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
+ <div><span class="required">*</span>资质类型</div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="useQualificationName"
|
|
|
align="center"
|
|
|
label="使用资质名称">
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
+ <div><span class="required">*</span>使用资质名称</div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="useQualificationRemark"
|
|
|
@@ -23,7 +29,7 @@
|
|
|
<el-table-column
|
|
|
label="操作"
|
|
|
align="center"
|
|
|
- width="100"
|
|
|
+ width="90"
|
|
|
v-if="!view">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button @click="editRow(scope.row, scope.$index)" type="text" size="mini">编辑</el-button>
|
|
|
@@ -45,6 +51,7 @@
|
|
|
append-to-body
|
|
|
width="70%"
|
|
|
:maxable="true"
|
|
|
+ destroy-on-close
|
|
|
>
|
|
|
<el-card shadow="never">
|
|
|
<el-form ref="form" :model="form">
|
|
|
@@ -261,7 +268,7 @@ export default {
|
|
|
deleteRow(index) {
|
|
|
this.tableData.splice(index, 1);
|
|
|
this.updateRowInfo();
|
|
|
- this.calculateTotalPrice();
|
|
|
+ // this.calculateTotalPrice();
|
|
|
},
|
|
|
async calculateTotalPrice() {
|
|
|
let data = await this.generateForm.getData(false);
|
|
|
@@ -288,7 +295,7 @@ export default {
|
|
|
}
|
|
|
console.log('this.tableData', this.tableData);
|
|
|
this.updateRowInfo()
|
|
|
- this.calculateTotalPrice()
|
|
|
+ // this.calculateTotalPrice()
|
|
|
this.handleClose(); // 保存后关闭弹窗
|
|
|
// 重置form
|
|
|
this.form = {};
|
|
|
@@ -322,4 +329,7 @@ export default {
|
|
|
padding-left: 10px;
|
|
|
padding-right: 10px;
|
|
|
}
|
|
|
+.required {
|
|
|
+ color: red;
|
|
|
+}
|
|
|
</style>
|