|
|
@ -98,6 +98,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div style="text-align: center;margin-top: 30px">
|
|
|
|
<div style="text-align: center;margin-top: 30px">
|
|
|
|
<el-button type="primary" @click="submitForm">申请投料</el-button>
|
|
|
|
<el-button type="primary" @click="submitForm">申请投料</el-button>
|
|
|
|
|
|
|
|
<el-button type="info" @click="closeParentDialog">关闭</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -115,6 +116,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
dicts: ['mes_safe_flag'],
|
|
|
|
dicts: ['mes_safe_flag'],
|
|
|
|
|
|
|
|
inject: ['closeRawOutstockDialog'],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
// 遮罩层
|
|
|
|
// 遮罩层
|
|
|
@ -177,7 +179,8 @@ export default {
|
|
|
|
planId: this.defineData.planId,
|
|
|
|
planId: this.defineData.planId,
|
|
|
|
planCode: this.defineData.planCode,
|
|
|
|
planCode: this.defineData.planCode,
|
|
|
|
dispatchAmount : this.defineData.dispatchAmount,
|
|
|
|
dispatchAmount : this.defineData.dispatchAmount,
|
|
|
|
saleOrderId:this.defineData.saleOrderId
|
|
|
|
saleOrderId:this.defineData.saleOrderId,
|
|
|
|
|
|
|
|
materialBomId:this.defineData.materialBomId
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -201,6 +204,7 @@ export default {
|
|
|
|
this.queryParams.warehouseId = this.form.warehouseId;
|
|
|
|
this.queryParams.warehouseId = this.form.warehouseId;
|
|
|
|
this.queryParams.saleOrderId = this.form.saleOrderId;
|
|
|
|
this.queryParams.saleOrderId = this.form.saleOrderId;
|
|
|
|
this.queryParams.planCode = this.form.planCode;
|
|
|
|
this.queryParams.planCode = this.form.planCode;
|
|
|
|
|
|
|
|
this.queryParams.materialBomId = this.form.materialBomId;
|
|
|
|
this.queryParams.planDetailCode = "0";
|
|
|
|
this.queryParams.planDetailCode = "0";
|
|
|
|
getStockTotal(this.queryParams).then(e => {
|
|
|
|
getStockTotal(this.queryParams).then(e => {
|
|
|
|
this.total = e.total;
|
|
|
|
this.total = e.total;
|
|
|
@ -276,13 +280,13 @@ export default {
|
|
|
|
this.form.taskType = "1";//生产领料
|
|
|
|
this.form.taskType = "1";//生产领料
|
|
|
|
this.form.planDetailCode = "0";
|
|
|
|
this.form.planDetailCode = "0";
|
|
|
|
applyRawOutstock(this.form).then(e => {
|
|
|
|
applyRawOutstock(this.form).then(e => {
|
|
|
|
this.dialogVisible = false
|
|
|
|
|
|
|
|
this.$modal.msgSuccess("申请投料成功");
|
|
|
|
this.$modal.msgSuccess("申请投料成功");
|
|
|
|
|
|
|
|
this.closeParentDialog()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
closeDialog(){
|
|
|
|
closeParentDialog() {
|
|
|
|
|
|
|
|
this.closeRawOutstockDialog()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|