|
|
|
@ -708,11 +708,12 @@ export default {
|
|
|
|
|
this.editQuery.cpms = this.currentRow.cpms;
|
|
|
|
|
|
|
|
|
|
if (!this.$isNotBlank(this.currentRow.sptm) && !this.$isNotBlank(this.currentRow.ybbm)) {
|
|
|
|
|
getCodeRelDetail({dinamecode:this.currentRow.nameCode}).then((response) => {
|
|
|
|
|
getCodeRelDetail({diNameCode:this.currentRow.nameCode}).then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
if (this.response.data != null && this.response.data.length > 0) {
|
|
|
|
|
this.editQuery.sptm = this.response.data[0].sptm;
|
|
|
|
|
this.editQuery.ybbm = this.response.data[0].ybbm;
|
|
|
|
|
if (response.data != null && response.data.length > 0) {
|
|
|
|
|
this.editQuery.sptm = response.data[0].sptm;
|
|
|
|
|
this.editQuery.ybbm = response.data[0].ybbm;
|
|
|
|
|
this.getYbHcData()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}).catch(() => {
|
|
|
|
|