fix:报废时物料显示
This commit is contained in:
parent
44cc291540
commit
b4b992a4e4
|
|
@ -556,6 +556,7 @@ export default {
|
|||
let that = this;
|
||||
that.materialOptions = [];
|
||||
var req = {
|
||||
tag:that.tag,
|
||||
mgroupx: that.mgroupId,
|
||||
page: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<div class="left-panel">
|
||||
<el-button type="primary" @click="tomio('do_out')" v-auth="'mio.do'" v-if="route_code=='qingxi'">领料</el-button>
|
||||
<el-button type="primary" v-auth="'wmaterial.create'" @click="table_create()">来料</el-button>
|
||||
<el-button type="primary" v-auth="'handover.create'" @click="table_add(40)">报废</el-button>
|
||||
<el-button type="primary" v-auth="'handover.create'" @click="table_add(40,'todo')">报废</el-button>
|
||||
<el-button type="primary" v-auth="'handover.create'" @click="batchConcat()">合批</el-button>
|
||||
</div>
|
||||
<div class="right-panel">
|
||||
|
|
@ -512,9 +512,10 @@ export default {
|
|||
}
|
||||
},
|
||||
//添加报废
|
||||
table_add(type) {
|
||||
table_add(type,tag) {
|
||||
this.dialog.scrap = true;
|
||||
this.type = type;
|
||||
this.tag = tag;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.scrapDialog.open("add");
|
||||
});
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<el-header>
|
||||
<div class="left-panel">
|
||||
<el-button type="primary" @click="tomio('do_out')" v-auth="'mio.do'" v-if="route_code=='qingxi'">领料</el-button>
|
||||
<el-button type="primary" v-auth="'handover.create'" @click="table_add(40)">报废</el-button>
|
||||
<el-button type="primary" v-auth="'handover.create'" @click="table_add(40,'done')">报废</el-button>
|
||||
<el-button type="primary" v-auth="'handover.create'" @click="batchConcat()">合批</el-button>
|
||||
<el-button type="primary" @click="tomio('do_in')" v-auth="'mio.doin'">入库</el-button>
|
||||
</div>
|
||||
|
|
@ -255,6 +255,7 @@
|
|||
v-if="dialog.scrap"
|
||||
ref="scrapDialog"
|
||||
:type="type"
|
||||
:tag="tag"
|
||||
:wmItem="wmItem"
|
||||
:mgroupName="mgroup_name"
|
||||
:mgroupId="mgroupId"
|
||||
|
|
@ -501,9 +502,10 @@ export default {
|
|||
}
|
||||
},
|
||||
//添加报废
|
||||
table_add(type) {
|
||||
table_add(type,tag) {
|
||||
this.dialog.scrap = true;
|
||||
this.type = type;
|
||||
this.tag = tag;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.scrapDialog.open("add");
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue