diff --git a/SC-web/src/views/scm/basicInformation/tradeupload/ContractBox.vue b/SC-web/src/views/scm/basicInformation/tradeupload/ContractBox.vue index 7d30fcb0..d97f72ab 100644 --- a/SC-web/src/views/scm/basicInformation/tradeupload/ContractBox.vue +++ b/SC-web/src/views/scm/basicInformation/tradeupload/ContractBox.vue @@ -98,12 +98,16 @@ this.checkedRow = row }, init(param) { + if(param){ + this.name = param.name + this.contractType = param.contractType + } this.visible = true this.listLoading = true - this.listQuery.name = param.name + this.listQuery.name = this.name this.listQuery.contractCode = this.contractCode this.listQuery.contractName = this.contractName - this.listQuery.contractType = param.contractType + this.listQuery.contractType = this.contractType this.listQuery.menuId = '380264320186993413' let listQuery = this.listQuery request({