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