rev:维护销售订单、工艺路线、产品工艺路线功能
This commit is contained in:
@@ -216,10 +216,10 @@ export default {
|
||||
this.form.material_spec = row.material_spec
|
||||
this.form.bom_code = 'BOM' + row.material_spec
|
||||
this.form.bom_name = row.material_name
|
||||
this.getProduceProcessRouteByMaterialId(this.form.material_uuid)
|
||||
this.getProduceProcessRouteByMaterialId(this.form.material_id)
|
||||
},
|
||||
getProduceProcessRouteByMaterialId(material_uuid) {
|
||||
crudBom.getProduceProcessRouteByMaterialId({ material_uuid: material_uuid }).then(res => {
|
||||
crudBom.getProduceProcessRouteByMaterialId({ material_id: material_uuid }).then(res => {
|
||||
this.form.processroute_uuid = res.productprocess_id
|
||||
this.getworkprocedureListByProduceProcessRouteId(this.form.processroute_uuid, material_uuid)
|
||||
})
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<treeselect
|
||||
v-model="form.class_id"
|
||||
:options="classes3"
|
||||
:disabled="crud.status.view > 0"
|
||||
:disabled="crud.status.view > 0 || crud.status.edit > 0"
|
||||
:auto-load-root-options="false"
|
||||
:load-options="loadChildNodes"
|
||||
style="width: 200px;"
|
||||
@@ -44,7 +44,7 @@
|
||||
<el-select
|
||||
v-model="form.product_area"
|
||||
placeholder=""
|
||||
:disabled="crud.status.view > 0"
|
||||
:disabled="crud.status.view > 0 || crud.status.edit > 0"
|
||||
style="width: 200px"
|
||||
>
|
||||
<el-option
|
||||
@@ -67,7 +67,7 @@
|
||||
size="mini"
|
||||
class="filter-item"
|
||||
style="width: 200px;"
|
||||
:disabled="crud.status.view > 0"
|
||||
:disabled="crud.status.view > 0 || crud.status.edit > 0"
|
||||
@change="getDtl(form.processroute_id)"
|
||||
>
|
||||
<el-option
|
||||
@@ -81,7 +81,7 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="备注" style="margin-left: 8px">
|
||||
<el-input v-model="form.remark" style="width: 350px;" type="textarea" :disabled="crud.status.view > 0" />
|
||||
<el-input v-model="form.remark" style="width: 350px;" type="textarea" :disabled="crud.status.view > 0 || crud.status.edit > 0" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
Reference in New Issue
Block a user