|
|
|
@ -37,11 +37,11 @@
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span='1.5'>
|
|
|
|
|
<!-- <el-col :span='1.5'>
|
|
|
|
|
<el-button type='primary' plain icon='Plus' @click='handleAddMaterialBom()' v-hasPermi="['mes:materialBom:add']">
|
|
|
|
|
新增BOM
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-col>-->
|
|
|
|
|
|
|
|
|
|
<el-col :span='1.5'>
|
|
|
|
|
<el-button type='info' plain icon='Sort' @click='handleToggleExpandAll'>展开/折叠</el-button>
|
|
|
|
@ -216,7 +216,7 @@
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
<!-- 根据结构BOM添加物料BOM信息对话框 -->
|
|
|
|
|
<el-dialog
|
|
|
|
|
<!-- <el-dialog
|
|
|
|
|
:title="materialBomDialog.title"
|
|
|
|
|
v-model="materialBomDialog.visible"
|
|
|
|
|
width="1600px"
|
|
|
|
@ -307,7 +307,7 @@
|
|
|
|
|
<el-button @click="cancelMaterialBom">取 消</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
</el-dialog>-->
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
@ -527,7 +527,7 @@ const handleMaterialAdd = () => {
|
|
|
|
|
// 提交物料选择
|
|
|
|
|
const submitMaterialForm = () => {
|
|
|
|
|
const selectedRow = materialSelectRef.value.tableRef.store.states.currentRow.value;
|
|
|
|
|
if (materialOpen.value) {
|
|
|
|
|
if (materialBomDialog.visible) {
|
|
|
|
|
if (currentRow.value && selectedRow) {
|
|
|
|
|
currentRow.value.materialId = selectedRow.materialId;
|
|
|
|
|
currentRow.value.materialName = selectedRow.materialName;
|
|
|
|
|