update 国内标准、选择标准抽屉
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
</div>
|
||||
<a-table
|
||||
:columns="columns"
|
||||
rowKey="serial_number"
|
||||
:scroll="{x: 1500}"
|
||||
rowKey="standardNumber"
|
||||
:scroll="{x: 900}"
|
||||
:data-source="dataList"
|
||||
:pagination="ipagination"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
@@ -101,23 +101,23 @@ export default {
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('number'),
|
||||
dataIndex: 'serial_number',
|
||||
dataIndex: 'standardNumber',
|
||||
ellipsis: true,
|
||||
align: 'left',
|
||||
width: 480
|
||||
align: 'center',
|
||||
width: 150
|
||||
},
|
||||
{
|
||||
title: this.$t('title'),
|
||||
dataIndex: 'title',
|
||||
dataIndex: 'standardName',
|
||||
ellipsis: true,
|
||||
align: 'left',
|
||||
width: 480
|
||||
align: 'center',
|
||||
width: 150
|
||||
},
|
||||
{
|
||||
title: this.$t('textStatus'),
|
||||
dataIndex: 'state',
|
||||
align: 'left',
|
||||
width: 480
|
||||
dataIndex: 'standardState_dictText',
|
||||
align: 'center',
|
||||
width: 150
|
||||
}
|
||||
],
|
||||
dataList: []
|
||||
@@ -171,7 +171,7 @@ export default {
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
// let content = JSON.parse(JSON.stringify(this.selectedRowList))
|
||||
this.selectedRowList.forEach(res => {
|
||||
serialNumber.push(res.serial_number)
|
||||
serialNumber.push(res.standardNumber)
|
||||
replaceStandardId.push(res.id)
|
||||
})
|
||||
this.$emit('input', serialNumber.join(','))
|
||||
|
||||
Reference in New Issue
Block a user