fix:玻纤输出物料编号可编辑
This commit is contained in:
parent
460a69efee
commit
aea714bca7
|
@ -36,7 +36,8 @@
|
||||||
<el-table-column prop="mlogb__batch" label="物料批次" fixed min-width="80px"></el-table-column>
|
<el-table-column prop="mlogb__batch" label="物料批次" fixed min-width="80px"></el-table-column>
|
||||||
<el-table-column prop="number" label="物料编号" fixed min-width="80px">
|
<el-table-column prop="number" label="物料编号" fixed min-width="80px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span>{{ scope.row.number }}</span>
|
<el-input v-if="route_code=='paiban'&&scope.row.isEdit" v-model="scope.row.number" placeholder="物料编号"></el-input>
|
||||||
|
<span v-else>{{ scope.row.number }}</span>
|
||||||
<span v-if="scope.row.wpr_number_out!==null&&scope.row.wpr_number_out!==undefined">——{{ scope.row.wpr_number_out }}</span>
|
<span v-if="scope.row.wpr_number_out!==null&&scope.row.wpr_number_out!==undefined">——{{ scope.row.wpr_number_out }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -234,7 +235,6 @@
|
||||||
<template #header>
|
<template #header>
|
||||||
<el-checkbox
|
<el-checkbox
|
||||||
v-model="checkAll"
|
v-model="checkAll"
|
||||||
:indeterminate="indeterminate"
|
|
||||||
@change="handleCheckAll"
|
@change="handleCheckAll"
|
||||||
>全部</el-checkbox>
|
>全部</el-checkbox>
|
||||||
</template>
|
</template>
|
||||||
|
@ -831,9 +831,11 @@ export default {
|
||||||
obj.test_date = that.handle_date!=null?that.handle_date:that.currentDate;
|
obj.test_date = that.handle_date!=null?that.handle_date:that.currentDate;
|
||||||
if(that.form.defectids.length>0){
|
if(that.form.defectids.length>0){
|
||||||
obj.defects = that.form.defectids;
|
obj.defects = that.form.defectids;
|
||||||
|
that.setForm.defectids = that.form.defectids;
|
||||||
}
|
}
|
||||||
if(that.form.testitemids.length>0){
|
if(that.form.testitemids.length>0){
|
||||||
obj.testitems = that.form.testitemids;
|
obj.testitems = that.form.testitemids;
|
||||||
|
that.setForm.testitemids = that.form.testitemids;
|
||||||
}
|
}
|
||||||
obj.qct = that.qct;
|
obj.qct = that.qct;
|
||||||
that.$API.wpm.mlogbw.start_test.req(obj).then((res) => {
|
that.$API.wpm.mlogbw.start_test.req(obj).then((res) => {
|
||||||
|
|
Loading…
Reference in New Issue