Browse Source

2025-12-11

过站采集-》车间工作平台的订单信息中显示工艺的信息
master
fengyuan_yang 1 month ago
parent
commit
0b53d1e576
  1. 20
      src/views/modules/yieldReport/com_produce_material.vue
  2. 77
      src/views/modules/yieldReport/com_produce_report_normal.vue

20
src/views/modules/yieldReport/com_produce_material.vue

@ -1,7 +1,7 @@
<template>
<div class="customer-css">
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners"
width="520px" class="material-dialog">
width="520px" class="material-dialog" :before-close="handleDialogClose">
<div class="material-content">
<el-form ref="materialForm" :model="pageData" label-position="top" label-width="100px">
<!-- 材料卷号和BOM序号在同一行 -->
@ -296,6 +296,24 @@ export default {
this.$emit('update:visible', false);
},
/*右上角X按钮关闭时的处理*/
handleDialogClose(done) {
//
this.materialInfo = {
partNo: '',
partDesc: ''
};
//
this.pageData.scanRmRollNo = '';
this.pageData.rmRollNo = '';
this.pageData.bomItemNo = '';
//
this.$emit('refreshPageData');
//
done();
},
/*清空物料信息*/
clearMaterialInfo(){
this.materialInfo = {

77
src/views/modules/yieldReport/com_produce_report_normal.vue

@ -36,51 +36,87 @@
</el-col>
</el-row>
<el-row :gutter="12" class="info-row">
<el-col :span="6">
<el-col :span="4">
<div class="info-item-modern">
<label>要求完工日期</label>
<el-input v-model="scheduleData.planFinishTime" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="6">
<el-col :span="4">
<div class="info-item-modern">
<label>要求开工日期</label>
<el-input v-model="scheduleData.planStartTime" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="4">
<el-col :span="3">
<div class="info-item-modern">
<label>派工需求数量</label>
<el-input v-model="scheduleData.qtyRequiredOriginal" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="4">
<el-col :span="3">
<div class="info-item-modern">
<label>生产总数</label>
<el-input v-model="scheduleData.productionQty" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="2">
<div class="info-item-modern">
<label>总卷数</label>
<el-input v-model="scheduleData.totalRollQty" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="2">
<div class="info-item-modern">
<label>每卷总数</label>
<el-input v-model="scheduleData.totalPerVolume" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="3">
<div class="info-item-modern">
<label>产出卷数</label>
<el-input v-model="scheduleData.productionRollQty" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="3">
<div class="info-item-modern">
<label>产出数量</label>
<el-input v-model="scheduleData.qtyApprove" :readonly="true" size="small"></el-input>
</div>
</el-col>
</el-row>
<el-row :gutter="12" class="info-row">
<el-col :span="3">
<div class="info-item-modern">
<label>排产日期</label>
<el-input v-model="scheduleData.scheduledDate" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="4">
<el-col :span="3">
<div class="info-item-modern">
<label>班次</label>
<el-input v-model="scheduleData.shiftNo" :readonly="true" size="small"></el-input>
</div>
</el-col>
</el-row>
<el-row :gutter="12" class="info-row">
<el-col :span="8">
<el-col :span="3">
<div class="info-item-modern">
<label>前道工序</label>
<el-input v-model="scheduleData.preItemDesc" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="8">
<el-col :span="3">
<div class="info-item-modern">
<label>后道工序</label>
<el-input v-model="scheduleData.nextItemDesc" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="8">
<el-col :span="6">
<div class="info-item-modern">
<label>工艺备注</label>
<el-input v-model="scheduleData.soRemark" :readonly="true" size="small"></el-input>
</div>
</el-col>
<el-col :span="6">
<div class="info-item-modern" style="margin-top: 24px;">
<el-checkbox true-label="true" false-label="false" v-model="scheduleData.currentRollFlag">
仅显示当前卷信息
@ -3156,6 +3192,12 @@ export default {
planStartTime: '',
planFinishTime: '',
qtyRequiredOriginal: 0,
productionQty: '', //
totalRollQty: '', //
totalPerVolume: '', //
productionRollQty: '', //
qtyApprove: '', //
soRemark: '', //
preItemNo: '',
preItemDesc: '',
nextItemDesc: '',
@ -3167,7 +3209,7 @@ export default {
checkMultipleRoll: '',
rowCount: '',
rollCount: '',
carrierNo: ''
carrierNo: '',
},
currentRollOps: {
site: this.$store.state.user.site,
@ -3962,6 +4004,12 @@ export default {
this.scheduleData.planStartTime = data.row.planStartTime;
this.scheduleData.planFinishTime = data.row.planFinishTime;
this.scheduleData.qtyRequiredOriginal = data.row.qtyRequiredOriginal;
this.scheduleData.productionQty = data.row.productionQty;
this.scheduleData.totalRollQty = data.row.totalRollQty;
this.scheduleData.totalPerVolume = data.row.totalPerVolume;
this.scheduleData.productionRollQty = data.row.productionRollQty;
this.scheduleData.qtyApprove = data.row.qtyApprove;
this.scheduleData.soRemark = data.row.soRemark;
this.scheduleData.scheduledDate = data.row.scheduledDate;
this.scheduleData.shiftNo = data.row.shiftNo;
this.scheduleData.preItemDesc = data.row.preItemDesc;
@ -3974,6 +4022,7 @@ export default {
this.scheduleData.rowCount = data.row.rowCount;
this.scheduleData.rollCount = data.row.rollCount;
this.scheduleData.carrierNo = data.row.carrierNo;
});
},
//
@ -4133,6 +4182,12 @@ export default {
this.scheduleData.planStartTime = data.row.planStartTime;
this.scheduleData.planFinishTime = data.row.planFinishTime;
this.scheduleData.qtyRequiredOriginal = data.row.qtyRequiredOriginal;
this.scheduleData.productionQty = data.row.productionQty;
this.scheduleData.totalRollQty = data.row.totalRollQty;
this.scheduleData.totalPerVolume = data.row.totalPerVolume;
this.scheduleData.productionRollQty = data.row.productionRollQty;
this.scheduleData.qtyApprove = data.row.qtyApprove;
this.scheduleData.soRemark = data.row.soRemark;
this.scheduleData.scheduledDate = data.row.scheduledDate;
this.scheduleData.shiftNo = data.row.shiftNo;
this.scheduleData.preItemDesc = data.row.preItemDesc;

Loading…
Cancel
Save