fix: bug修复

20240109-yw
chenhc 9 months ago
parent 38db820cf6
commit 64ebc93ded

@ -1403,7 +1403,7 @@ export default {
}, },
addOrderMutiCert(){ addOrderMutiCert(){
if (isBlank(this.currentRow.corpId)) { if (isBlank(this.currentRow.corpId)) {
this.$message.error("请先选择用户") this.$message.error("请先选择往来单位")
return; return;
} }
this.inputCertQuery={ this.inputCertQuery={
@ -1526,7 +1526,7 @@ export default {
}, },
getBizDetailList() { getBizDetailList() {
if (isBlank(this.currentRow.corpId)) { if (isBlank(this.currentRow.corpId)) {
this.$message.error("请先选择用户") this.$message.error("请先选择往来单位")
return; return;
} }
this.bizDetailLoading = true; this.bizDetailLoading = true;

@ -1246,9 +1246,8 @@ export default {
} }
}, },
getBizDetailList() { getBizDetailList() {
console.log("hshhhshhshshhshshs")
if (isBlank(this.currentRow.companyIdFk)) { if (isBlank(this.currentRow.companyIdFk)) {
this.$message.error("请先选择用户") this.$message.error("请先选择往来单位")
return; return;
} }
this.bizDetailLoading = true; this.bizDetailLoading = true;
@ -1285,7 +1284,7 @@ export default {
addOrderMutiAuth(){ addOrderMutiAuth(){
if (isBlank(this.currentRow.companyIdFk)) { if (isBlank(this.currentRow.companyIdFk)) {
this.$message.error("请先选择用户") this.$message.error("请先选择往来单位")
return; return;
} }
this.inputAuthQuery={ this.inputAuthQuery={
@ -1295,7 +1294,7 @@ export default {
}, },
addOrderMutiCert(){ addOrderMutiCert(){
if (isBlank(this.currentRow.companyIdFk)) { if (isBlank(this.currentRow.companyIdFk)) {
this.$message.error("请先选择用户") this.$message.error("请先选择往来单位")
return; return;
} }
this.inputCertQuery={ this.inputCertQuery={
@ -1529,18 +1528,18 @@ export default {
if (this.editType == 0) { if (this.editType == 0) {
this.inputQuery.manufacturerId = getUUID('') this.inputQuery.manufacturerId = getUUID('')
} else { } else {
this.certQuery.customerId = this.inputQuery.customerId // this.certQuery.customerId = this.$store.getters.customerId
this.selectedOptions = this.inputQuery.placeAreaCode.split(',') // this.selectedOptions = this.inputQuery.placeAreaCode.split(',')
if (this.inputQuery.productionAreaCode != '' && this.inputQuery.productionAreaCode != null && this.inputQuery.productionAreaCode != undefined) { // if (this.inputQuery.productionAreaCode != '' && this.inputQuery.productionAreaCode != null && this.inputQuery.productionAreaCode != undefined) {
this.selectedOptions2 = this.inputQuery.productionAreaCode.split(',') // this.selectedOptions2 = this.inputQuery.productionAreaCode.split(',')
} // }
} }
this.certQuery.manufacturerIdFk = this.inputQuery.manufacturerId // this.certQuery.manufacturerIdFk = this.inputQuery.manufacturerId
this.manufacturerId = this.inputQuery.manufacturerId // this.manufacturerId = this.inputQuery.manufacturerId
this.customerId = this.inputQuery.customerId // this.customerId = this.$store.getters.customerId
// this.getData(); // this.getData();
this.getCompanyCertList() // this.getCompanyCertList()
this.findMethod() this.findMethod()
this.uploadUrl = this.BASE_URL + '/udiwms/upload/register/file' this.uploadUrl = this.BASE_URL + '/udiwms/upload/register/file'
this.fileUrl = this.BASE_URL + '/udiwms/image/register/file/getImage?type=image2&name=' this.fileUrl = this.BASE_URL + '/udiwms/image/register/file/getImage?type=image2&name='

Loading…
Cancel
Save