fix:玻纤日志改动
This commit is contained in:
parent
ddb82670ad
commit
88f1ea7af7
|
|
@ -102,7 +102,7 @@
|
||||||
v-model="form.belong_dept"
|
v-model="form.belong_dept"
|
||||||
clearable
|
clearable
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@change="deptChange"
|
@change="getgetDeptUsers"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in deptOptions"
|
v-for="item in deptOptions"
|
||||||
|
|
@ -228,6 +228,7 @@ export default {
|
||||||
this.getDeptOptions();
|
this.getDeptOptions();
|
||||||
this.getDeptUser();
|
this.getDeptUser();
|
||||||
this.getmgroupOptions();
|
this.getmgroupOptions();
|
||||||
|
this.getgetDeptUsers();
|
||||||
} else if (type == "other_in") {
|
} else if (type == "other_in") {
|
||||||
this.getSupplierOptions();
|
this.getSupplierOptions();
|
||||||
} else if (type == "other_out") {
|
} else if (type == "other_out") {
|
||||||
|
|
@ -270,12 +271,10 @@ export default {
|
||||||
this.orderOptions = res;
|
this.orderOptions = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
deptChange(val) {
|
getgetDeptUsers(){
|
||||||
this.$API.system.user.list
|
this.$API.system.user.list.req({ depts: this.form.belong_dept, page: 0 }).then((res) => {
|
||||||
.req({ depts: val, page: 0 })
|
this.userOptions = res;
|
||||||
.then((res) => {
|
});
|
||||||
this.userOptions = res;
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
getDeptUser() {
|
getDeptUser() {
|
||||||
this.$API.system.user.list
|
this.$API.system.user.list
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-link :underline="false" @click="printMaterial(scope.row,'wm')" type="primary">物料标签</el-link>
|
<el-link :underline="false" @click="printMaterial(scope.row,'wm')" type="primary">物料标签</el-link>
|
||||||
<el-link
|
<el-link
|
||||||
v-if="scope.row.material_&&scope.row.material_.tracking==10"
|
v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20"
|
||||||
:underline="false"
|
:underline="false"
|
||||||
@click="inmCheck(scope.row)"
|
@click="inmCheck(scope.row)"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|
@ -379,9 +379,6 @@ export default {
|
||||||
that.wprParams.wm='';
|
that.wprParams.wm='';
|
||||||
that.wprParams.wm = row.id;
|
that.wprParams.wm = row.id;
|
||||||
that.wprVisibleDrawer = true;
|
that.wprVisibleDrawer = true;
|
||||||
// that.$API.wpm.wpr.list.req({ wm: row.id,page:0 }).then((res) => {
|
|
||||||
// that.wprList = res;
|
|
||||||
// })
|
|
||||||
},
|
},
|
||||||
//本地更新数据
|
//本地更新数据
|
||||||
handleSaveSuccess(data, mode) {
|
handleSaveSuccess(data, mode) {
|
||||||
|
|
|
||||||
|
|
@ -288,13 +288,14 @@
|
||||||
width="100px"
|
width="100px"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<!-- 批次 -->
|
<!-- 批次 v-if="mlogItem.submit_time == null&&mlogItem.material_out_&&mlogItem.material_out_.tracking==10" -->
|
||||||
<el-link
|
<el-link
|
||||||
:underline="false"
|
:underline="false"
|
||||||
type="primary"
|
type="primary"
|
||||||
v-if="mlogItem.submit_time == null&&mlogItem.material_out_&&mlogItem.material_out_.tracking==10"
|
v-if="mlogItem.submit_time == null"
|
||||||
|
style="margin-right: 10px;"
|
||||||
@click="table_out_check(scope.row)"
|
@click="table_out_check(scope.row)"
|
||||||
>详情</el-link>
|
>编辑</el-link>
|
||||||
<!-- 单个 -->
|
<!-- 单个 -->
|
||||||
<el-link
|
<el-link
|
||||||
:underline="false"
|
:underline="false"
|
||||||
|
|
|
||||||
|
|
@ -209,7 +209,7 @@ export default {
|
||||||
this.$API.cm.labelmat.item.req(codeId).then((res) => {
|
this.$API.cm.labelmat.item.req(codeId).then((res) => {
|
||||||
if(res){
|
if(res){
|
||||||
arr = that.materialOptions.filter((item) => {
|
arr = that.materialOptions.filter((item) => {
|
||||||
return item.batch == res.batch&&item.material==res.material&&item.state==res.state;
|
return item.batch == res.batch&&item.state==res.state;
|
||||||
})
|
})
|
||||||
if (arr.length > 0) {
|
if (arr.length > 0) {
|
||||||
that.form.batch = arr[0].batch;
|
that.form.batch = arr[0].batch;
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@
|
||||||
<el-input v-else v-model="scope.row.note" placeholder="备注"></el-input>
|
<el-input v-else v-model="scope.row.note" placeholder="备注"></el-input>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="open" label="操作" width="60" align="center">
|
<el-table-column prop="open" label="操作" width="120" align="center">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.isEdit"
|
v-if="scope.row.isEdit"
|
||||||
|
|
@ -245,6 +245,7 @@ export default {
|
||||||
console.log('item',item);
|
console.log('item',item);
|
||||||
let index = that.mlogbwlist.indexOf(row);
|
let index = that.mlogbwlist.indexOf(row);
|
||||||
that.mlogbwlist[index].number = item.number;
|
that.mlogbwlist[index].number = item.number;
|
||||||
|
// that.mlogbwlist[index].wpr = item.id;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
@ -288,6 +289,7 @@ export default {
|
||||||
let obj = {};
|
let obj = {};
|
||||||
obj.number = row.number;
|
obj.number = row.number;
|
||||||
obj.mlogb = row.mlogb;
|
obj.mlogb = row.mlogb;
|
||||||
|
obj.wpr = row.wpr;
|
||||||
obj.note = row.note;
|
obj.note = row.note;
|
||||||
if(that.qct!==null&&that.qct!==''){
|
if(that.qct!==null&&that.qct!==''){
|
||||||
obj.ftest = {};
|
obj.ftest = {};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue