Browse Source

0412 新看板

master
ruanqi 1 year ago
parent
commit
f29260ac5f
  1. 21
      src/views/modules/Abnormal/AbnormalFeedBack.vue
  2. 8
      src/views/modules/production/scheduleForShopOrder.vue

21
src/views/modules/Abnormal/AbnormalFeedBack.vue

@ -577,6 +577,7 @@
},
scrapTypeList:[
{label:'缺料'},
{label:'污染'},
{label:'气泡'},
{label:'断裂'},
{label:'窝气'},
@ -785,6 +786,26 @@
this.modalFlag=true;
},
saveAbnormalDetail(){
if((this.abnormalFeedBackData.scrapType1==null||this.abnormalFeedBackData.scrapType1=='')&&
(this.abnormalFeedBackData.scrapType2==null||this.abnormalFeedBackData.scrapType2=='')&&
(this.abnormalFeedBackData.scrapType3==null||this.abnormalFeedBackData.scrapType3=='')&&
(this.abnormalFeedBackData.scrapType4==null||this.abnormalFeedBackData.scrapType4=='')&&
(this.abnormalFeedBackData.scrapType5==null||this.abnormalFeedBackData.scrapType5=='')){
this.$alert("请选择报废状态", '错误', {
confirmButtonText: '确定'
})
return false;
}
if((this.abnormalFeedBackData.scrapReason1==null||this.abnormalFeedBackData.scrapReason1=='')&&
(this.abnormalFeedBackData.scrapReason2==null||this.abnormalFeedBackData.scrapReason2=='')&&
(this.abnormalFeedBackData.scrapReason3==null||this.abnormalFeedBackData.scrapReason3=='')&&
(this.abnormalFeedBackData.scrapReason4==null||this.abnormalFeedBackData.scrapReason4=='')&&
(this.abnormalFeedBackData.scrapReason5==null||this.abnormalFeedBackData.scrapReason5=='')){
this.$alert("请选择报废原因", '错误', {
confirmButtonText: '确定'
})
return false;
}
if( this.disableFlag2==false&&(this.abnormalFeedBackData.treatmentTemporary==null||this.abnormalFeedBackData.treatmentTemporary=='')){
this.$alert("请填写处理方式", '错误', {
confirmButtonText: '确定'

8
src/views/modules/production/scheduleForShopOrder.vue

@ -300,6 +300,13 @@
width="100"
label="录入人">
</el-table-column>
<el-table-column
prop="lastTime"
header-align="center"
align="right"
width="80"
label="排产时间">
</el-table-column>
<el-table-column
prop="machSetupTime"
header-align="center"
@ -583,6 +590,7 @@
"合格数量": "qtyApprove",
"录入时间": "enterDate",
"录入人": "userName",
"排产时间": "lastTime",
"调机时间": "machSetupTime",
"单位产出量": "machRunFactor",
"产出单位": "factorUnit",

Loading…
Cancel
Save