fix:光芯mlog日志问题修改

This commit is contained in:
shijing 2025-06-23 09:13:35 +08:00
parent f68a2e1b7f
commit f749fc14f0
2 changed files with 19 additions and 9 deletions

View File

@ -214,6 +214,8 @@
</sc-upload-file> </sc-upload-file>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :md="8" :sm="12" :xs="24" v-for="item in testitems" :key="item.id"> <el-col :md="8" :sm="12" :xs="24" v-for="item in testitems" :key="item.id">
<el-form-item :label="item.name"> <el-form-item :label="item.name">
<el-input-number <el-input-number
@ -269,6 +271,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :md="12" :sm="24"> <el-col :md="12" :sm="24">
<el-form-item label="备注"> <el-form-item label="备注">
<el-input <el-input

View File

@ -25,6 +25,7 @@
:labelField="'batch'" :labelField="'batch'"
style="width: 100%;" style="width: 100%;"
:params = "paramsM" :params = "paramsM"
@change="materialBatchChange"
> >
<!-- :params = "{type__in: '10,20',is_hidden: false}" --> <!-- :params = "{type__in: '10,20',is_hidden: false}" -->
<el-table-column label="物料" prop="full_name"> <el-table-column label="物料" prop="full_name">
@ -385,15 +386,20 @@ export default {
}, },
materialBatchChange(){ materialBatchChange(){
let that = this; let that = this;
that.materialOptions.forEach(item => { that.form.batch = that.selectObj.batch;
if(item.id==that.form.wm_in){ that.form.count_use = that.selectObj.count;
that.form.batch = item.batch; that.batch_count = that.selectObj.count;
that.form.count_use = item.count; that.materialFix = that.selectObj.material;
that.batch_count = item.count;
that.materialFix = item.material;
that.getdefects(); that.getdefects();
} // that.materialOptions.forEach(item => {
}); // if(item.id==that.form.wm_in){
// that.form.batch = item.batch;
// that.form.count_use = item.count;
// that.batch_count = item.count;
// that.materialFix = item.material;
// that.getdefects();
// }
// });
}, },
// //
cellsAdd(){ cellsAdd(){