|
|
@@ -668,12 +668,13 @@ export default {
|
|
|
lock: true,
|
|
|
text: '正在设置请稍后...'
|
|
|
})
|
|
|
- // let params = {
|
|
|
- // SupplierId: parseInt(_this.SupplierId),
|
|
|
- // IsManufacturer: index
|
|
|
- // }
|
|
|
- _this.$axios.post('suppliercertsub/modify-manufacturer/' + this.Ids.join() + "/" + parseInt(_this.SupplierId)
|
|
|
- + "/"+index, {})
|
|
|
+ let postData = {
|
|
|
+ CertSubIdList: [],
|
|
|
+ SupplierId: parseInt(this.SupplierId),
|
|
|
+ SupplierCertId: parseInt(this.SupplierCertId),
|
|
|
+ IsManufacturer: index
|
|
|
+ }
|
|
|
+ _this.$axios.post('suppliercertsub/modify-manufacturer/' + this.Ids.join(),postData)
|
|
|
.then(function (response) {
|
|
|
if (response.data.code === 0) {
|
|
|
_this.$message({
|
|
|
@@ -700,9 +701,6 @@ export default {
|
|
|
console.error(ex)
|
|
|
_this.Ids = []
|
|
|
})
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
showDialog () {
|
|
|
// this.getorgtreelist()
|