fix:玻纤合批时接收工段默认本工段和接收人不显示
This commit is contained in:
parent
3382a2c876
commit
a9a5211418
|
|
@ -145,7 +145,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24">
|
||||
<el-col :md="12" :sm="24" v-if="mtype!==30">
|
||||
<el-form-item label="接收工段" prop="recive_mgroup">
|
||||
<el-select
|
||||
v-model="form.recive_mgroup"
|
||||
|
|
@ -165,7 +165,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24">
|
||||
<el-col :md="12" :sm="24" v-if="mtype!==30">
|
||||
<el-form-item label="接收人">
|
||||
<el-select
|
||||
v-model="form.recive_user"
|
||||
|
|
@ -413,6 +413,7 @@ export default {
|
|||
let that = this;
|
||||
that.$API.mtm.mgroup.list.req({ page: 0}).then((res) => {
|
||||
that.mgroupOptions = res;
|
||||
|
||||
if(that.type==40){
|
||||
res.forEach(item=>{
|
||||
if(item.name=="废品库"){
|
||||
|
|
@ -616,9 +617,13 @@ export default {
|
|||
let that = this;
|
||||
that.$refs.dialogForm.validate(async (valid) => {
|
||||
if (valid) {
|
||||
if(that.mtype==30){
|
||||
that.form.recive_mgroup = that.mgroupId;
|
||||
}
|
||||
console.log('that.form.recive_mgroup',that.form.recive_mgroup);
|
||||
if (that.mode == "add") {
|
||||
that.$API.wpm.handover.create.req(that.form).then((res) => {
|
||||
if(that.type==40){
|
||||
if(that.type==40||that.mtype==30){
|
||||
//提交
|
||||
that.$API.wpm.handover.submit.req(res.id).then((res1) => {
|
||||
that.isSaveing = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue