update - 发泡追溯

master
yinq 8 months ago
parent e71685cc3c
commit 16a8f73fdf

@ -108,7 +108,6 @@ export function temperatureRecordReportList(query) {
}) })
} }
// 灌注记录报表 // 灌注记录报表
export function pourRecordReportList(query) { export function pourRecordReportList(query) {
return request({ return request({
@ -117,3 +116,12 @@ export function pourRecordReportList(query) {
params: query params: query
}) })
} }
// 发泡箱体追溯报表
export function boxTraceabilityReport(query) {
return request({
url: '/report/productionReport/boxTraceabilityReport',
method: 'get',
params: query
})
}

@ -11,14 +11,14 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="公司条码" prop="productSncode"> <!-- <el-form-item label="公司条码" prop="productSncode">-->
<el-input <!-- <el-input-->
v-model="queryParams.productSncode" <!-- v-model="queryParams.productSncode"-->
placeholder="请输入公司条码" <!-- placeholder="请输入公司条码"-->
clearable <!-- clearable-->
@keyup.enter.native="handleQuery" <!-- @keyup.enter.native="handleQuery"-->
/> <!-- />-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item label="SAP计划编号" prop="productOrderNo"> <el-form-item label="SAP计划编号" prop="productOrderNo">
<el-input <el-input
v-model="queryParams.productOrderNo" v-model="queryParams.productOrderNo"
@ -43,7 +43,7 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="扫描时间"> <el-form-item label="泡前入库时间">
<el-date-picker <el-date-picker
v-model="daterangeBeginTime" v-model="daterangeBeginTime"
style="width: 340px" style="width: 340px"
@ -76,18 +76,18 @@
<el-table v-loading="loading" :data="boxTraceabilityList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="boxTraceabilityList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" v-if="false"/> <el-table-column type="selection" width="55" align="center" v-if="false"/>
<el-table-column label="主键标识" align="center" prop="objId" v-if="columns[0].visible"/> <el-table-column label="主键标识" align="center" prop="objId" v-if="columns[0].visible"/>
<!-- <el-table-column label="工厂" align="center" prop="factoryName" v-if="columns[1].visible" width="110"/>--> <el-table-column label="工厂" align="center" prop="factoryName" v-if="columns[1].visible" width="110"/>
<!-- <el-table-column label="产线" align="center" prop="productLineName" v-if="columns[2].visible"/>--> <el-table-column label="产线" align="center" prop="productLineName" v-if="columns[2].visible"/>
<el-table-column label="SAP计划编号" align="center" prop="productOrderNo" v-if="columns[3].visible" width="120"/> <el-table-column label="SAP计划编号" align="center" prop="ORDER_CODE" v-if="columns[3].visible" width="120"/>
<el-table-column label="销售订单号" align="center" prop="productSaleNo" v-if="columns[4].visible"/> <el-table-column label="销售订单号" align="center" prop="SALEORDER_CODE" v-if="columns[4].visible"/>
<el-table-column label="销售行号" align="center" prop="productSaleLineNo" v-if="columns[5].visible"/> <el-table-column label="销售行号" align="center" prop="SALEORDER_LINENUMBER" v-if="columns[5].visible"/>
<el-table-column label="物料编码" align="center" prop="productCode" v-if="columns[6].visible" width="100"/> <el-table-column label="物料编码" align="center" prop="MATERIAL_CODE" v-if="columns[6].visible" width="100"/>
<el-table-column label="产品型号" align="center" prop="productModel" v-if="columns[7].visible" width="140"/> <el-table-column label="产品型号" align="center" prop="MATERIAL_MODEL" v-if="columns[7].visible" width="140"/>
<el-table-column label="订单数" align="center" prop="productSncode" v-if="columns[8].visible" width="120"/> <el-table-column label="订单数" align="center" prop="ORDER_AMOUNT" v-if="columns[8].visible" width="120"/>
<el-table-column label="泡前入库数" align="center" prop="productCreatedate" v-if="columns[9].visible" width="100"/> <el-table-column label="泡前入库数" align="center" prop="BEFORE_NUMBER" v-if="columns[9].visible" width="100"/>
<el-table-column label="成品下线数" align="center" prop="productType" v-if="columns[10].visible"/> <el-table-column label="成品下线数" align="center" prop="SCAN_NUMBER" v-if="columns[10].visible"/>
<!-- <el-table-column label="差异数" align="center" prop="producssstssInfo" v-if="columns[11].visible"/>--> <el-table-column label="差异数" align="center" prop="DIFF_NUMBER" v-if="columns[11].visible"/>
<el-table-column label="报废记录数" align="center" prop="productRemark" v-if="columns[12].visible"/> <el-table-column label="报废记录数" align="center" prop="SCRAP_NUMBER" v-if="columns[12].visible"/>
</el-table> </el-table>
<pagination <pagination
@ -164,8 +164,8 @@ export default {
}, },
columns: [ columns: [
{ key: 0, label: `主键标识`, visible: false }, { key: 0, label: `主键标识`, visible: false },
{ key: 1, label: `主键s标识`, visible: false }, { key: 1, label: `工厂`, visible: false },
{ key: 2, label: `主键e标识`, visible: false }, { key: 2, label: `产线`, visible: false },
{ key: 3, label: `SAP计划编号`, visible: true }, { key: 3, label: `SAP计划编号`, visible: true },
{ key: 4, label: `销售订单号`, visible: true }, { key: 4, label: `销售订单号`, visible: true },
{ key: 5, label: `销售行号`, visible: true }, { key: 5, label: `销售行号`, visible: true },

Loading…
Cancel
Save