批次号自动生成10车间

This commit is contained in:
shijing 2024-01-18 14:26:22 +08:00
parent f9d146240a
commit 1212162a7e
1 changed files with 4 additions and 2 deletions

View File

@ -259,7 +259,7 @@
</el-container> </el-container>
</el-main> </el-main>
<save-dialog v-if="dialogSave" ref="saveDialog" :mtask="currentMtask.id" :mgroup="mgroup" <save-dialog v-if="dialogSave" ref="saveDialog" :mtask="currentMtask.id" :mgroup="mgroup"
:material_out="material_out" :brothersList="brothersList" :material_in="material_in" :activeType="activeName" :material_out="material_out" :material_model="material_model" :brothersList="brothersList" :material_in="material_in" :activeType="activeName"
@success="handleSaveSuccess" @closed="dialogSave = false"></save-dialog> @success="handleSaveSuccess" @closed="dialogSave = false"></save-dialog>
<showDrawer ref="showDrawer" v-if="visibleDrawer" :mlogId="mlogId" @closed="visibleDrawer = false"> <showDrawer ref="showDrawer" v-if="visibleDrawer" :mlogId="mlogId" @closed="visibleDrawer = false">
</showDrawer> </showDrawer>
@ -313,7 +313,8 @@ export default {
paramsWm: {}, paramsWm: {},
mgroup: '', mgroup: '',
mlogId: '', mlogId: '',
material_out: '' material_out: '',
material_model:'',
} }
}, },
mounted() { mounted() {
@ -400,6 +401,7 @@ export default {
if (that.currentMtask && that.currentMtask.id) { if (that.currentMtask && that.currentMtask.id) {
that.mgroup = that.currentMtask.mgroup; that.mgroup = that.currentMtask.mgroup;
that.material_out = that.currentMtask.material_out; that.material_out = that.currentMtask.material_out;
that.material_model = that.currentMtask.material_out_.model;
let arr = []; let arr = [];
this.brothersList = []; this.brothersList = [];
this.brothersListorigin.forEach(item => { this.brothersListorigin.forEach(item => {