fix:玻纤交接改版

This commit is contained in:
shijing 2025-02-05 16:57:47 +08:00
parent 7eac479d9c
commit 423a390c4f
2 changed files with 31 additions and 8 deletions

View File

@ -19,16 +19,15 @@
> >
<el-button <el-button
type="primary" type="primary"
@click="printSetting" icon="el-icon-plus"
>打印机</el-button @click="table_add(50)"
v-auth="'handover.create'"
>改版</el-button
> >
<el-button <el-button
type="primary" type="primary"
icon="el-icon-plus" @click="printSetting"
@click="table_add(30)" >打印机</el-button
v-auth="'handover.create'"
v-if="mgroup_name=='一次超洗'||mgroup_name=='二次超洗'"
>检验</el-button
> >
</div> </div>
<div class="right-panel"> <div class="right-panel">

View File

@ -123,6 +123,21 @@
<el-input v-model="form.new_batch" placeholder="新批次号"></el-input> <el-input v-model="form.new_batch" placeholder="新批次号"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :md="12" :sm="24" v-if="type==50">
<el-form-item label="更改物料">
<xtSelect
:apiObj="apiObj"
:params="paramsM"
v-model="form.material_changed"
v-model:label="material_changed_name"
style="width:100%"
>
<el-table-column label="名称" prop="name"></el-table-column>
<el-table-column label="工序" prop="process_name"></el-table-column>
<el-table-column label="规格" prop="specification"></el-table-column>
</xtSelect>
</el-form-item>
</el-col>
<el-col :md="12" :sm="24"> <el-col :md="12" :sm="24">
<el-form-item label="处理备注"> <el-form-item label="处理备注">
<el-input v-model="form.note" placeholder="处理备注"></el-input> <el-input v-model="form.note" placeholder="处理备注"></el-input>
@ -322,6 +337,12 @@ export default {
}, },
], ],
}, },
apiObj:this.$API.mtm.material.list,
paramsM:{
type:20,
is_hidde:true,
},
materials:[],
totalCount: 0, totalCount: 0,
deptID:'', deptID:'',
bwIndex:0, bwIndex:0,
@ -416,9 +437,12 @@ export default {
let that = this; let that = this;
var req = { var req = {
page: 0, page: 0,
state:10, // state:10,
mgroupx:that.mgroupId mgroupx:that.mgroupId
}; };
if(that.type!==50){
req.state = 10;
}
that.materialOptions = []; that.materialOptions = [];
this.$API.wpm.wmaterial.list.req(req).then((res) => { this.$API.wpm.wmaterial.list.req(req).then((res) => {
that.materialOptions = res; that.materialOptions = res;