This commit is contained in:
zds
2022-11-16 20:16:27 +08:00
parent 7c22c914ad
commit 396ceb97f8
17 changed files with 224 additions and 92 deletions

View File

@@ -71,16 +71,6 @@
>
添加物料
</el-button>
<!-- <el-button
slot="left"
class="filter-item"
type="danger"
icon="el-icon-delete"
size="mini"
@click="delRow"
>
删除一行
</el-button>-->
</span>
</div>
@@ -96,10 +86,10 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}"
>
<el-table-column type="index" label="序号" width="55" align="center" />
<el-table-column show-overflow-tooltip v-if="false" prop="material_id" label="物料id" align="center" />
<el-table-column show-overflow-tooltip v-if="false" prop="base_unit_id" label="单位id" align="center" />
<el-table-column show-overflow-tooltip prop="material_code" label="备件物料编码" align="center" />
<el-table-column show-overflow-tooltip prop="material_name" label="备件物料名称" align="center" />
<el-table-column v-if="false" prop="material_id" label="物料id" align="center" />
<el-table-column v-if="false" prop="base_unit_id" label="单位id" align="center" />
<el-table-column prop="material_code" label="备件物料编码" align="center" />
<el-table-column prop="material_name" label="备件物料名称" align="center" />
<el-table-column prop="qty" label="标准数量" align="center">
<template slot-scope="scope">
<el-input-number
@@ -112,7 +102,7 @@
/>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="base_unit_id_name" label="单位" align="center" />
<el-table-column prop="base_unit_id_name" label="单位" align="center" />
<el-table-column prop="dtl_remark" label="备注" align="center">
<template slot-scope="scope">
<el-input v-show="!scope.row.edit" v-model="scope.row.dtl_remark" class="input-with-select" :disabled="crud.status.view > 0" />
@@ -194,8 +184,6 @@ export default {
}
crudMaterialbase.getMaterOptType(param).then(res => {
this.class_idStr = res.class_idStr
// this.crud.query.class_idStr = this.class_idStr
// this.crud.toQuery()
this.queryClassId()
})
const data = {
@@ -236,7 +224,6 @@ export default {
})
},
[CRUD.HOOK.afterToCU](crud, form) {
debugger
if (!form.device_bom_code) {
this.queryClassId()
} else {
@@ -247,9 +234,7 @@ export default {
}
},
getSubTypes(id) {
debugger
crudClassstandard.getClassSuperior2(id).then(res => {
debugger
const date = res.content
this.buildClass(date)
this.classes = date