|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in productLineList"
|
|
|
|
|
:key="item.workCenterCode"
|
|
|
|
|
:label="item.workCenterName"
|
|
|
|
|
:label="item.productLineName"
|
|
|
|
|
:value="item.workCenterCode"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
@ -53,16 +53,16 @@
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
<!-- <el-col :span="1.5">-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- type="warning"-->
|
|
|
|
|
<!-- plain-->
|
|
|
|
|
<!-- icon="el-icon-download"-->
|
|
|
|
|
<!-- size="mini"-->
|
|
|
|
|
<!-- @click="handleExport"-->
|
|
|
|
|
<!-- >导出-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="warning"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
>导出
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
@ -82,13 +82,13 @@
|
|
|
|
|
<el-table-column label="已下线数量" align="center" prop="COMPLETE_AMOUNT" v-if="columns[7].visible"/>
|
|
|
|
|
<el-table-column label="完成率(%)" align="center" prop="ORDER_RATE" v-if="columns[8].visible"/>
|
|
|
|
|
</el-table>
|
|
|
|
|
<!-- <pagination-->
|
|
|
|
|
<!-- v-show="total>0"-->
|
|
|
|
|
<!-- :total="total"-->
|
|
|
|
|
<!-- :page.sync="queryParams.pageNum"-->
|
|
|
|
|
<!-- :limit.sync="queryParams.pageSize"-->
|
|
|
|
|
<!-- @pagination="getList"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="total>0"
|
|
|
|
|
:total="total"
|
|
|
|
|
:page.sync="queryParams.pageNum"
|
|
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -128,11 +128,11 @@ export default {
|
|
|
|
|
daterangeBeginTime: [],
|
|
|
|
|
// 查询参数
|
|
|
|
|
queryParams: {
|
|
|
|
|
// pageNum: 1,
|
|
|
|
|
// pageSize: 10,
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
beginBeginTime: null,
|
|
|
|
|
endBeginTime: null,
|
|
|
|
|
WORK_CENTER_CODE: null,
|
|
|
|
|
WORK_CENTER_CODE: '3103',
|
|
|
|
|
PRODUCT_LINE_NAME: null,
|
|
|
|
|
ORDER_CODE: null,
|
|
|
|
|
MATERIAL_CODE: null,
|
|
|
|
@ -179,8 +179,8 @@ export default {
|
|
|
|
|
this.queryParams.endBeginTime = null
|
|
|
|
|
}
|
|
|
|
|
inventoryRateReportList(this.queryParams).then(response => {
|
|
|
|
|
this.reportList = response.data
|
|
|
|
|
// this.total = response.total;
|
|
|
|
|
this.reportList = response.rows
|
|
|
|
|
this.total = response.total
|
|
|
|
|
this.loading = false
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
@ -221,9 +221,9 @@ export default {
|
|
|
|
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
handleExport() {
|
|
|
|
|
this.download('/report/productionReport/export', {
|
|
|
|
|
this.download('/report/productionReport/inventoryRateReportList/export', {
|
|
|
|
|
...this.queryParams
|
|
|
|
|
}, `report_${new Date().getTime()}.xlsx`)
|
|
|
|
|
}, `清单率报表_${new Date().getTime()}.xlsx`)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|