fix:玻纤输出物料编号可编辑

This commit is contained in:
shijing 2025-09-08 08:54:38 +08:00
parent 460a69efee
commit aea714bca7
1 changed files with 4 additions and 2 deletions

View File

@ -36,7 +36,8 @@
<el-table-column prop="mlogb__batch" label="物料批次" fixed min-width="80px"></el-table-column>
<el-table-column prop="number" label="物料编号" fixed min-width="80px">
<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>
</template>
</el-table-column>
@ -234,7 +235,6 @@
<template #header>
<el-checkbox
v-model="checkAll"
:indeterminate="indeterminate"
@change="handleCheckAll"
>全部</el-checkbox>
</template>
@ -831,9 +831,11 @@ export default {
obj.test_date = that.handle_date!=null?that.handle_date:that.currentDate;
if(that.form.defectids.length>0){
obj.defects = that.form.defectids;
that.setForm.defectids = that.form.defectids;
}
if(that.form.testitemids.length>0){
obj.testitems = that.form.testitemids;
that.setForm.testitemids = that.form.testitemids;
}
obj.qct = that.qct;
that.$API.wpm.mlogbw.start_test.req(obj).then((res) => {