|
@@ -87,12 +87,13 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if (!this.pageFlag) {
|
|
|
- this.pageFlag = true
|
|
|
+ if (!_this.pageFlag) {
|
|
|
+ console.log('11111111111111111111111', _this.chooseInfo, chooseData)
|
|
|
_this.$refs.table.setTableSelected(_this.chooseInfo, chooseData) // 设置表格选中项
|
|
|
+ _this.pageFlag = true
|
|
|
}
|
|
|
}
|
|
|
- this.spinning = false
|
|
|
+ _this.spinning = false
|
|
|
return data
|
|
|
})
|
|
|
},
|
|
@@ -103,9 +104,9 @@ export default {
|
|
|
columns () {
|
|
|
const arr = [
|
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
|
- { title: '供应商名称', dataIndex: 'supplier.supplierName', width: '50%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
- { title: '联系人', dataIndex: 'supplier.contact', align: 'left', width: '26%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
- { title: '联系电话', dataIndex: 'supplier.contactMobile', width: '20%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
+ { title: '供应商名称', dataIndex: 'supplier.supplierName', width: '96%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true }
|
|
|
+ // { title: '联系人', dataIndex: 'supplier.contact', align: 'left', width: '26%', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
+ // { title: '联系电话', dataIndex: 'supplier.contactMobile', width: '20%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
]
|
|
|
return arr
|
|
|
},
|
|
@@ -140,6 +141,7 @@ export default {
|
|
|
}
|
|
|
this.$refs.table.clearSelected()
|
|
|
this.$refs.table.refresh(true)
|
|
|
+ this.pageFlag = false
|
|
|
},
|
|
|
clearTable () {
|
|
|
this.rowSelectionInfo = null
|