|
|
|
@ -96,7 +96,8 @@
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
@click="handleOrderDetails(scope.row)"
|
|
|
|
|
v-hasPermi="['report:pointDnb:edit']"
|
|
|
|
|
>查看订单明细</el-button>
|
|
|
|
|
>查看订单明细
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
@ -117,7 +118,6 @@ import {
|
|
|
|
|
} from '@/api/report/reportAPI'
|
|
|
|
|
import { findProductLineList } from '@//api/base/productLine'
|
|
|
|
|
import { parseTime } from '@//utils/ruoyi'
|
|
|
|
|
import { getPointDnb } from '@//api/report/pointDnb'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: 'ReportInfo',
|
|
|
|
@ -153,8 +153,8 @@ export default {
|
|
|
|
|
beginBeginTime: null,
|
|
|
|
|
endBeginTime: null,
|
|
|
|
|
productLineCode: 'CX_02',
|
|
|
|
|
beginStationCode: null,
|
|
|
|
|
endStationCode: null,
|
|
|
|
|
beginStationCode: '109',
|
|
|
|
|
endStationCode: '280',
|
|
|
|
|
ORDER_CODE: null,
|
|
|
|
|
MATERIAL_CODE: null,
|
|
|
|
|
MATERIAL_NAME: null,
|
|
|
|
@ -175,7 +175,7 @@ export default {
|
|
|
|
|
{ key: 5, label: `物料名称`, visible: true },
|
|
|
|
|
{ key: 6, label: `产品编号`, visible: true },
|
|
|
|
|
{ key: 7, label: `产品名称`, visible: true },
|
|
|
|
|
{ key: 8, label: `数量`, visible: true },
|
|
|
|
|
{ key: 8, label: `数量`, visible: true }
|
|
|
|
|
],
|
|
|
|
|
// 产线选项
|
|
|
|
|
productLineList: [],
|
|
|
|
@ -193,7 +193,7 @@ export default {
|
|
|
|
|
findProductLineList({ productLineType: 1 }).then(response => {
|
|
|
|
|
this.productLineList = response.data
|
|
|
|
|
}).then(() => {
|
|
|
|
|
return findProductLineList({ productLineType: 2, parentId: this.queryParams.productLineCode })
|
|
|
|
|
return findProductLineList({ productLineType: 2, parentId: this.queryParams.productLineCode, executionSort: '1'})
|
|
|
|
|
}).then(response => {
|
|
|
|
|
this.findStationList = response.data
|
|
|
|
|
})
|
|
|
|
@ -208,7 +208,7 @@ export default {
|
|
|
|
|
this.loading = true
|
|
|
|
|
WIPInquiryReportList(this.queryParams).then(response => {
|
|
|
|
|
this.reportList = response.data
|
|
|
|
|
this.totalSum = 0;
|
|
|
|
|
this.totalSum = 0
|
|
|
|
|
this.reportList.forEach(e => {
|
|
|
|
|
this.totalSum += e.COMP_AMOUNT
|
|
|
|
|
})
|
|
|
|
@ -254,9 +254,9 @@ export default {
|
|
|
|
|
|
|
|
|
|
/** 获取工位方法 */
|
|
|
|
|
getStationList() {
|
|
|
|
|
this.queryParams.beginStationCode = null;
|
|
|
|
|
this.queryParams.endStationCode = null;
|
|
|
|
|
findProductLineList({ productLineType: 2, parentId: this.queryParams.productLineCode })
|
|
|
|
|
this.queryParams.beginStationCode = null
|
|
|
|
|
this.queryParams.endStationCode = null
|
|
|
|
|
findProductLineList({ productLineType: 2, parentId: this.queryParams.productLineCode, executionSort: '1'})
|
|
|
|
|
.then(response => {
|
|
|
|
|
this.findStationList = response.data
|
|
|
|
|
})
|
|
|
|
|