|
|
@@ -297,6 +297,7 @@
|
|
|
addappendcom() {
|
|
|
let _this = this
|
|
|
_this.appendformData.AppendType = '01'
|
|
|
+ console.log("------",this.appendformData)
|
|
|
_this.$axios.post('/suppliercertappend/addappend/', _this.appendformData)
|
|
|
.then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
@@ -334,8 +335,8 @@
|
|
|
_this.supplierList = res.data
|
|
|
if (_this.supplierList) {
|
|
|
_this.suplen = _this.supplierList.length
|
|
|
- _this.appendformData.SupplierId = _this.supplierList[0].SupplierId
|
|
|
- _this.appendformData.SupplierCertId = _this.supplierList[0].SupplierCertId
|
|
|
+ _this.appendformData.SupplierId = parseInt(_this.supplierList[0].SupplierId)
|
|
|
+ _this.appendformData.SupplierCertId = parseInt(_this.supplierList[0].SupplierCertId)
|
|
|
_this.appendformData.SupplierName = _this.supplierList[0].SupplierName
|
|
|
}
|
|
|
})
|