rev: 混碾下料任务修改、物料修改、工单修改

This commit is contained in:
2023-07-28 11:00:59 +08:00
parent 3b21a4d4c1
commit 39d6b27c95
40 changed files with 613 additions and 182 deletions

View File

@@ -108,8 +108,8 @@
style="width: 240px;"
/>
</el-form-item>
<el-form-item label="原料名称" prop="material_name">
<el-input v-model="form.raw_material_name" style="width: 240px;" @focus="getMaterial(2)" />
<el-form-item label="半成品编码" prop="material_name">
<el-input v-model="form.half_material_code" style="width: 240px;" disabled />
</el-form-item>
<el-form-item label="原料编码">
<el-input v-model="form.raw_material_code" style="width: 240px;" disabled />
@@ -361,8 +361,7 @@ const defaultForm = {
plan_qty: null,
real_qty: null,
material_id: null,
raw_material_id: null,
raw_material_name: null,
half_material_code: null,
raw_material_code: null,
vehicle_type: null,
planproducestart_date: null,
@@ -484,6 +483,8 @@ export default {
this.form.material_id = row.material_id
this.form.material_spec = row.material_spec
this.form.material_code = row.material_code
this.form.half_material_code = row.half_material_code
this.form.raw_material_code = row.raw_material_code
} else {
this.form.raw_material_name = row.material_name
this.form.raw_material_id = row.material_id