fix:新增日志时工艺路线显示调整

This commit is contained in:
shijing 2025-04-28 10:03:13 +08:00
parent 8312a79685
commit 8551b35f24
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<el-dialog
:title="titleMap[mode]"
v-model="visible"
:size="1000"
style="width: 80%;"
destroy-on-close
@closed="$emit('closed')"
>
@ -76,7 +76,7 @@
</el-select>
</el-form-item>
</el-col> -->
<el-col :md="12" :sm="12" :xs="24" v-if="mlogtype!=='rework'">
<el-col v-if="mlogtype!=='rework'">
<el-form-item label="工艺路线">
<el-select
v-model="form.route"
@ -88,10 +88,9 @@
<el-option
v-for="item in routeOptions"
:key="item.id"
:label="item.routepack_name"
:label="item.name"
:value="item.id"
>
<span>{{ item.routepack_name }}</span>
</el-option>
</el-select>
</el-form-item>
@ -205,6 +204,7 @@
:showName="form.handle_user_name"
:apiObj="this.$API.system.user.list"
:params="{ depts: dept }"
style="width: 100%;"
></ehsSelect>
</el-form-item>
</el-col>

View File

@ -446,7 +446,7 @@ export default {
that.form.batch = '';
that.form.parent = '';
that.form.count_use = 0;
if(that.scanKyes!=='mat'&&that.bwItemForms.length>1){
if(that.scanKyes!=='mat'&&that.bwItemForms.length>0){
//2
// async function callApis() {
// for (const item of that.bwItemForms) {