|
@@ -170,7 +170,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- title: '计量单位',
|
|
|
+ title: '单位',
|
|
|
dataIndex: 'unit',
|
|
|
customRender: (text, record, index) => {
|
|
|
return BaseTool.Object.getField(this.unitMap, text)
|
|
@@ -277,7 +277,7 @@ export default {
|
|
|
handleEdit (record) {
|
|
|
selectSpareInfoListByModelId({ id: record.id }).then(res => {
|
|
|
const modal = this.$refs.baseModal
|
|
|
- const data = {data:res.data,modelId:record.id}
|
|
|
+ const data = { data: res.data, modelId: record.id }
|
|
|
modal.base(data)
|
|
|
})
|
|
|
},
|
|
@@ -324,7 +324,7 @@ export default {
|
|
|
onExpand (expandedKeys) {
|
|
|
this.expandedKeys = expandedKeys
|
|
|
this.autoExpandParent = false
|
|
|
- },
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|