|
|
@@ -40,24 +40,20 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
columns: [
|
|
|
- {
|
|
|
- type: 'index',
|
|
|
- columnKey: 'index',
|
|
|
- align: 'center',
|
|
|
- label: '序号',
|
|
|
- width: 55,
|
|
|
- showOverflowTooltip: true,
|
|
|
- fixed: 'left'
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'code',
|
|
|
- label: '编码',
|
|
|
- slot: 'code',
|
|
|
- align: 'center',
|
|
|
- width: 180,
|
|
|
- showOverflowTooltip: true,
|
|
|
- fixed: 'left'
|
|
|
- },
|
|
|
+ {type: 'index',columnKey: 'index',align: 'center',label: '序号',width: 55,showOverflowTooltip: true},
|
|
|
+ {prop: 'sampleCode',label: '编码',slot: 'sampleCode',align: 'center',width: 160,showOverflowTooltip: true},
|
|
|
+ {prop: 'categoryCode',label: '物品编码',slot: 'categoryCode', align: 'center',width: 160,showOverflowTooltip: true},
|
|
|
+ {prop: 'categoryName',label: '物品名称',slot: 'categoryName', align: 'center',width: 160,showOverflowTooltip: true},
|
|
|
+ {prop: 'specification',label: '规格',slot: 'specification', align: 'center',width: 100,showOverflowTooltip: true},
|
|
|
+ {prop: 'brandNum',label: '牌号',slot: 'brandNum', align: 'center',width: 100,showOverflowTooltip: true},
|
|
|
+ {prop: 'modelType',label: '型号',slot: 'modelType', align: 'center',width: 160,showOverflowTooltip: true},
|
|
|
+ {prop: 'unit',label: '计量单位',slot: 'unit', align: 'center',width: 100,showOverflowTooltip: true},
|
|
|
+ {prop: 'batchNo',label: '批次号',slot: 'batchNo', align: 'center',width: 100,showOverflowTooltip: true},
|
|
|
+ {prop: 'weight',label: '重量',slot: 'weight', align: 'center',width: 100,showOverflowTooltip: true},
|
|
|
+ {prop: 'weightUnit',label: '重量单位',slot: 'weightUnit', align: 'center',width: 100,showOverflowTooltip: true},
|
|
|
+ {prop: 'weightUnit',label: '重量单位',slot: 'weightUnit', align: 'center',width: 100,showOverflowTooltip: true},
|
|
|
+ {prop: 'disposeTime',label: '处置时间',slot: 'disposeTime', align: 'center',width: 180,showOverflowTooltip: true},
|
|
|
+ {columnKey: 'action',label: '操作',align: 'center',width: 120,resizable: false,slot: 'action',fixed: 'right'}
|
|
|
]
|
|
|
};
|
|
|
},
|
|
|
@@ -81,4 +77,4 @@ export default {
|
|
|
},
|
|
|
}
|
|
|
};
|
|
|
-</script>
|
|
|
+</script>
|