fix:修复标准项目评估流程中发起时选择的标准编号回显的BUG
This commit is contained in:
@@ -1103,7 +1103,11 @@ export default {
|
|||||||
//选择拆分标准确定事件
|
//选择拆分标准确定事件
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
if (this.selectedList.length === 1) {
|
if (this.selectedList.length === 1) {
|
||||||
this.listForm.standNumber = this.selectedList[0].standSortShow + "\xa0\xa0" + this.selectedList[0].standNumber + "-" + this.selectedList[0].standYear;
|
if(this.selectedList[0].standYear){
|
||||||
|
this.listForm.standNumber = this.selectedList[0].standSortShow + "\xa0\xa0" + this.selectedList[0].standNumber + "-" + this.selectedList[0].standYear;
|
||||||
|
}else{
|
||||||
|
this.listForm.standNumber = this.selectedList[0].standSortShow + "\xa0\xa0" + this.selectedList[0].standNumber ;
|
||||||
|
}
|
||||||
this.listForm.standName = this.selectedList[0].standName;
|
this.listForm.standName = this.selectedList[0].standName;
|
||||||
this.listForm.standType = this.selectedList[0].standType;
|
this.listForm.standType = this.selectedList[0].standType;
|
||||||
this.listForm.standId = this.selectedList[0].id;
|
this.listForm.standId = this.selectedList[0].id;
|
||||||
|
|||||||
Reference in New Issue
Block a user