|
@@ -1,9 +1,9 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<Toptitle title="板材统计表详情">
|
|
|
- <Button type="primary" style="margin-right: 10px" @click="checkTotal">查看合计</Button>
|
|
|
+ <!-- <Button type="primary" style="margin-right: 10px" @click="checkTotal">查看合计</Button>
|
|
|
<Button @click="AllSelect" style="margin-right: 10px" type="primary">{{state?'取消全选':'全选'}}</Button>
|
|
|
- <Button type="primary" ghost @click='exportData()' style="margin-right: 10px">导出</Button>
|
|
|
+ <Button type="primary" ghost @click='exportData()' style="margin-right: 10px">导出</Button> -->
|
|
|
<Button type="primary" @click="$router.go(-1)">返回</Button>
|
|
|
</Toptitle>
|
|
|
<Form :label-width='80' style="display:flex;flex-wrap:wrap;margin-top:15px">
|
|
@@ -120,9 +120,7 @@ export default {
|
|
|
// const text = `${row.long?row.long:0}*${row.wide?row.wide:0}*${row.thick?row.thick:0}`
|
|
|
// return h('span',{},text)
|
|
|
// }},
|
|
|
- {title:'原料尺寸',align:'center',minWidth:150,key:'storage_size'},
|
|
|
- {title:'计量单位',align:'center',minWidth:80,key:'unit'},
|
|
|
- {title:'精裁面积',align:'center',minWidth:150,key:'cut_area'},
|
|
|
+ {title:'原料尺寸',align:'center',minWidth:150,key:'measure'},
|
|
|
{title:'数量',align:'center',minWidth:80,key:'num'},
|
|
|
],
|
|
|
tableData:[],
|
|
@@ -244,9 +242,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
initUnderData(row){
|
|
|
- this.axios.post('/api/finance_quota_detail_material',{order_no:this.$route.query.order_no,
|
|
|
+ this.axios.post('/api/finance_quota_detail_material_algorithm',{order_no:this.$route.query.order_no,
|
|
|
url_number:this.url_number,...row}).then(res=>{
|
|
|
- this.tableData = res.data.data;
|
|
|
+ this.tableData = res.data;
|
|
|
})
|
|
|
},
|
|
|
show(item,index){
|