【fix】bug80812
This commit is contained in:
@@ -77,6 +77,7 @@ export default {
|
|||||||
this.$refs.businessSelect.visible = true
|
this.$refs.businessSelect.visible = true
|
||||||
if (!this.isMultiple) {
|
if (!this.isMultiple) {
|
||||||
this.$refs.businessSelect.selectedRowKeys[0] = this.value.id
|
this.$refs.businessSelect.selectedRowKeys[0] = this.value.id
|
||||||
|
this.$refs.businessSelect.selectedCompany = this.value
|
||||||
} else {
|
} else {
|
||||||
// 很重要 内部的删除像没有作用一样
|
// 很重要 内部的删除像没有作用一样
|
||||||
if(this.value.id) {
|
if(this.value.id) {
|
||||||
@@ -93,7 +94,7 @@ export default {
|
|||||||
* @param value
|
* @param value
|
||||||
*/
|
*/
|
||||||
handleOk(value) {
|
handleOk(value) {
|
||||||
console.log('--------value---------', 'value')
|
console.log('--------value---------', value)
|
||||||
let company = {id: undefined, companyName: undefined}
|
let company = {id: undefined, companyName: undefined}
|
||||||
// 多选的时候 全部放在一起,以逗号分隔
|
// 多选的时候 全部放在一起,以逗号分隔
|
||||||
if (this.isMultiple) {
|
if (this.isMultiple) {
|
||||||
|
|||||||
Reference in New Issue
Block a user