|
|
@@ -30,7 +30,7 @@
|
|
|
</el-pagination>
|
|
|
</el-card>
|
|
|
|
|
|
- <el-dialog :title="Title" :visible.sync="visible" top="5vh">
|
|
|
+ <el-dialog v-loading="loading" element-loading-text="正在添加请稍后..." :title="Title" :visible.sync="visible" top="5vh">
|
|
|
<el-form ref="BusinessForm" :model="BusinessForm" label-width="100px">
|
|
|
<el-row>
|
|
|
<!-- <el-col :span="12" v-if="SupplierTypeCode == '01' && Title == '新增准入范围'">
|
|
|
@@ -78,7 +78,7 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog title="基建类业务列表" :visible.sync="basicDialog" top="5vh">
|
|
|
+ <el-dialog title="基建类业务列表" :visible.sync="basicDialog" top="5vh">
|
|
|
<span style="float: right;">
|
|
|
<el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;" @click="seachdata()">查询
|
|
|
</el-button>
|
|
|
@@ -144,6 +144,7 @@
|
|
|
}
|
|
|
};
|
|
|
return {
|
|
|
+ loading:false,
|
|
|
Ids:[],
|
|
|
SupplierId: 0,
|
|
|
SupplierTypeCode: '',
|
|
|
@@ -293,6 +294,7 @@
|
|
|
_this.BusinessForm.SupplierId = parseInt(_this.BusinessForm.SupplierId)
|
|
|
_this.BusinessForm.SupplierCertId = parseInt(_this.BusinessForm.SupplierCertId)
|
|
|
_this.BusinessForm.SubClassId = parseInt(_this.BusinessForm.SubClassId)
|
|
|
+ _this.loading=true
|
|
|
_this.$axios.post('/suppliercertsub/addbusiness/', _this.BusinessForm)
|
|
|
.then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
@@ -302,6 +304,7 @@
|
|
|
})
|
|
|
_this.BusinessForm.Id = res.data.item + ''
|
|
|
_this.visible = false
|
|
|
+ _this.loading=false
|
|
|
_this.initData()
|
|
|
} else {
|
|
|
_this.$message({
|