优化
This commit is contained in:
@@ -84,7 +84,7 @@ export default {
|
||||
add: false,
|
||||
edit: false,
|
||||
del: false,
|
||||
download: false,
|
||||
download: true,
|
||||
reset: true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
<el-table-column prop="plan_org_name" label="申报单位" width="100" />
|
||||
<el-table-column prop="device_name" label="关键设备" width="100" />
|
||||
<el-table-column prop="plan_finish_date" label="交货日期" width="90" />
|
||||
<el-table-column prop="old_mark" label="牌号" />
|
||||
<el-table-column prop="old_mark" min-width="100" label="牌号" />
|
||||
<el-table-column prop="material_code" label="物料编码" min-width="150"/>
|
||||
<el-table-column :formatter="seriesFormat" min-width="80" prop="product_series" label="系列" />
|
||||
<el-table-column prop="product_type_name" label="生产方式" />
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
<el-table-column prop="plan_month" label="计划月份" />
|
||||
<el-table-column prop="plan_finish_date" label="交货日期" width="90" />
|
||||
<el-table-column prop="material_code" label="物料编码" min-width="150"/>
|
||||
<el-table-column prop="old_mark" label="牌号" />
|
||||
<el-table-column prop="old_mark" min-width="100" label="牌号" />
|
||||
<el-table-column prop="product_type_name" label="生产方式" />
|
||||
<el-table-column prop="product_weight" label="需求重量" :formatter="crud.formatNum3"/>
|
||||
<el-table-column prop="fact_weight" label="生产重量" :formatter="crud.formatNum3" width="150" align="center">
|
||||
|
||||
@@ -226,6 +226,7 @@
|
||||
size="mini"
|
||||
:data="crud.data"
|
||||
style="width: 100%;"
|
||||
:max-height="590"
|
||||
:highlight-current-row="true"
|
||||
@selection-change="mySelectionChange"
|
||||
>
|
||||
@@ -308,7 +309,12 @@ export default {
|
||||
name: 'workorder',
|
||||
components: { ChangeDialog, ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination },
|
||||
cruds() {
|
||||
return CRUD({ title: '工令', idField: 'workorder_id', url: 'api/workorder', crudMethod: { ...workorder },
|
||||
return CRUD({ title: '工令',
|
||||
props: {
|
||||
// 每页数据条数
|
||||
size: 20
|
||||
},
|
||||
idField: 'workorder_id', url: 'api/workorder', crudMethod: { ...workorder },
|
||||
optShow: {
|
||||
add: true,
|
||||
edit: false,
|
||||
|
||||
@@ -118,7 +118,7 @@ export default {
|
||||
add: false,
|
||||
edit: false,
|
||||
del: false,
|
||||
download: false,
|
||||
download: true,
|
||||
reset: true
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user