fix:辅料库出入库记录添加退货
This commit is contained in:
parent
cb0c6cfadb
commit
cb77e8fc97
|
|
@ -14,6 +14,12 @@
|
|||
v-auth="'mio.pur'"
|
||||
>采购入库</el-button
|
||||
>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="add('other_out')"
|
||||
v-auth="'mio.pur'"
|
||||
>退货</el-button
|
||||
>
|
||||
<el-select
|
||||
v-model="query.type"
|
||||
clearable
|
||||
|
|
@ -177,15 +183,16 @@ export default {
|
|||
typeDict: {
|
||||
pur_in: "采购入库",
|
||||
do_out: "领料出库",
|
||||
other_out: "退货",
|
||||
},
|
||||
cateOptions: [{ id: "pur_in", name: "采购入库" }, { id: "do_out", name: "领料出库" }],
|
||||
cateOptions: [{ id: "pur_in", name: "采购入库" }, { id: "do_out", name: "领料出库" }, { id: "other_out", name: "退货"}],
|
||||
dialog: {
|
||||
save: false,
|
||||
record: false,
|
||||
},
|
||||
query: {},
|
||||
params: {
|
||||
type__in: "pur_in,do_out",
|
||||
type__in: "pur_in,do_out,other_out",
|
||||
materials__type__in: "40, 50, 60, 70",
|
||||
},
|
||||
form: {},
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@
|
|||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-if="form.type == 'pur_in'||form.type == 'other_in'||form.type == 'do_out'||form.type=='sale_out'">
|
||||
<el-col v-if="form.type == 'pur_in'||form.type == 'other_in'||form.type == 'do_out'||form.type=='sale_out'||form.type=='other_out'">
|
||||
<el-form-item label="仓库已有批次">
|
||||
<el-select
|
||||
v-model="selectBatch"
|
||||
|
|
@ -374,6 +374,8 @@ export default {
|
|||
orderitem_material__order: this.mioObj.order,
|
||||
};
|
||||
this.inputBatchDisable = true;
|
||||
} else if (type == "other_out") {
|
||||
this.inputBatchDisable = true;
|
||||
} else {
|
||||
query = { page: 0 ,is_hidden:false};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue