|
|
@@ -294,7 +294,6 @@
|
|
|
.then(() => {
|
|
|
_this.$axios.delete('suppliercertsub/businessdelete/' + val.Id, {})
|
|
|
.then(function (response) {
|
|
|
- // response
|
|
|
if (response.data.code === 0) {
|
|
|
_this.$message({
|
|
|
type: "success",
|
|
|
@@ -315,13 +314,15 @@
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
showDialog() {
|
|
|
+ this.OneCode = ''
|
|
|
+ this.selectedorg = []
|
|
|
+ this.keyword = ''
|
|
|
+ this.seachdata()
|
|
|
this.Title = '新增准入范围'
|
|
|
this.BusinessForm.Id = ''
|
|
|
this.BusinessForm.SupplierId = this.SupplierId
|
|
|
this.BusinessForm.SupplierCertId = this.SupplierCertId
|
|
|
this.BusinessForm.SupplierTypeCode = this.SupplierTypeCode
|
|
|
- this.OneCode = ''
|
|
|
- this.selectedorg = []
|
|
|
this.BusinessForm.SubClassId = ''
|
|
|
this.BusinessForm.Code = ''
|
|
|
this.BusinessForm.Name = ''
|
|
|
@@ -375,7 +376,6 @@
|
|
|
_this.CurrentItemCount = res.data.currentItemCount
|
|
|
})
|
|
|
.catch(err => {
|
|
|
- // handle error
|
|
|
console.error(err)
|
|
|
})
|
|
|
} else if (_this.SupplierTypeCode == '03') { //获取技术服务类业务列表
|
|
|
@@ -385,7 +385,6 @@
|
|
|
_this.techTreeList = window.toolfun_gettreejson(res.data.items, 'Id', 'ParentId', 'Id,Name')
|
|
|
})
|
|
|
.catch(err => {
|
|
|
- // handle error
|
|
|
console.error(err)
|
|
|
})
|
|
|
}
|
|
|
@@ -416,7 +415,6 @@
|
|
|
}
|
|
|
})
|
|
|
.catch(err => {
|
|
|
- // handle error
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
@@ -432,6 +430,7 @@
|
|
|
},
|
|
|
getChooseCode(val) {
|
|
|
this.ClassId = val.Id
|
|
|
+ this.BusinessForm.SubClassId = val.Id
|
|
|
this.BusinessForm.Code = val.Code
|
|
|
this.BusinessForm.Name = val.Name
|
|
|
this.basicDialog = false
|