This commit is contained in:
shijing 2024-01-22 08:50:53 +08:00
commit 940c1b6337
5 changed files with 13 additions and 9 deletions

View File

@ -430,7 +430,7 @@
<el-col :md="12" :sm="24" v-if="material_name.indexOf('管')>-1"> <el-col :md="12" :sm="24" v-if="material_name.indexOf('管')>-1">
<el-form-item label="弯"> <el-form-item label="弯">
<el-input-number <el-input-number
v-model="form.count_n_w" v-model="form.count_n_wq"
controls-position="right" controls-position="right"
:min="0" :min="0"
:step="1" :step="1"
@ -517,7 +517,7 @@ export default {
count_n_tydd:0,// count_n_tydd:0,//
count_n_sw:0,// count_n_sw:0,//
count_n_bhpcd:0,// count_n_bhpcd:0,//
count_n_w:0,// count_n_wq:0,//
handle_user:'' handle_user:''
}, },
@ -634,7 +634,8 @@ export default {
Number(this.form.count_n_tydd)+ Number(this.form.count_n_tydd)+
Number(this.form.count_n_sw)+ Number(this.form.count_n_sw)+
Number(this.form.count_n_bhpcd)+ Number(this.form.count_n_bhpcd)+
Number(this.form.count_n_w) Number(this.form.count_n_wq)+
Number(this.form.count_n_zw)
; ;
}, },
// //

View File

@ -67,7 +67,7 @@
<el-table-column prop="count_n_tydd" label="椭圆度大" /> <el-table-column prop="count_n_tydd" label="椭圆度大" />
<el-table-column prop="count_n_sw" label="水雾" /> <el-table-column prop="count_n_sw" label="水雾" />
<el-table-column prop="count_n_bhpcd" label="壁厚偏差大" /> <el-table-column prop="count_n_bhpcd" label="壁厚偏差大" />
<el-table-column prop="count_n_w" label="弯" /> <el-table-column prop="count_n_wq" label="弯" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作人" prop="update_by_name"></el-table-column> <el-table-column label="操作人" prop="update_by_name"></el-table-column>

View File

@ -14,7 +14,7 @@
</el-table-column> </el-table-column>
<el-table-column label="产物" prop="material" show-overflow-tooltip> <el-table-column label="产物" prop="material" show-overflow-tooltip>
<template #default="scope"><span v-if="scope.row.material_out_">{{ <template #default="scope"><span v-if="scope.row.material_out_">{{
scope.row.material_out_.name scope.row.material_out_.full_name
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
@ -65,7 +65,7 @@
</el-table-column> </el-table-column>
<el-table-column label="产物" prop="material" show-overflow-tooltip> <el-table-column label="产物" prop="material" show-overflow-tooltip>
<template #default="scope"><span v-if="scope.row.material_">{{ <template #default="scope"><span v-if="scope.row.material_">{{
scope.row.material_.name scope.row.material_.full_name
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -13,7 +13,7 @@
<el-table-column label="物料名" prop="material_out_name"> <el-table-column label="物料名" prop="material_out_name">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.material_out_"> <span v-if="scope.row.material_out_">
{{ scope.row.material_out_.name }} {{ scope.row.material_out_.full_name }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
@ -67,7 +67,7 @@
<el-table-column label="产物" prop="material" show-overflow-tooltip> <el-table-column label="产物" prop="material" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.material_out_"> <span v-if="scope.row.material_out_">
{{ scope.row.material_out_.name }} {{ scope.row.material_out_.full_name }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -38,6 +38,7 @@
<el-form-item label="生产路线" v-if="mode == 'add'"> <el-form-item label="生产路线" v-if="mode == 'add'">
<el-select <el-select
v-model="currentRoute" v-model="currentRoute"
value-key="id"
placeholder="生产路线" placeholder="生产路线"
clearable clearable
filterable filterable
@ -48,7 +49,7 @@
v-for="item in routeOptions" v-for="item in routeOptions"
:key="item.id" :key="item.id"
:label="item.label" :label="item.label"
:value="item.id" :value="item"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -174,8 +175,10 @@
<el-form-item label="生产路线" v-if="mode == 'add'"> <el-form-item label="生产路线" v-if="mode == 'add'">
<el-select <el-select
v-model="currentRoute" v-model="currentRoute"
value-key="id"
placeholder="生产路线" placeholder="生产路线"
filterable filterable
clearable
style="width: 100%" style="width: 100%"
@change="routeChange" @change="routeChange"
> >