修改bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2021-11-18 14:16:25
|
||||
* @LastEditors: zhp
|
||||
* @LastEditTime: 2023-11-10 16:26:08
|
||||
* @LastEditTime: 2023-11-22 16:50:55
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -100,7 +100,8 @@ import {
|
||||
updateProcessEquMaterialBom,
|
||||
getEquipmentList,
|
||||
processEquMaterialBomDetPage,
|
||||
deleteProcessEquMaterialBomDet
|
||||
deleteProcessEquMaterialBomDet,
|
||||
getMaterialCode
|
||||
} from '@/api/extend/processEquMaterialBom';
|
||||
import SmallTitle from './SmallTitle';
|
||||
import { parseTime } from '../../core/mixins/code-filter';
|
||||
@@ -197,7 +198,6 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.getDict()
|
||||
},
|
||||
methods: {
|
||||
getCode(val) {
|
||||
@@ -223,6 +223,9 @@ export default {
|
||||
// console.log(response);
|
||||
this.equipmentList = res.data
|
||||
})
|
||||
getMaterialCode().then(res => {
|
||||
this.dataForm.code = res.data
|
||||
})
|
||||
},
|
||||
handleClick(raw) {
|
||||
if (raw.type === 'delete') {
|
||||
@@ -267,7 +270,8 @@ export default {
|
||||
});
|
||||
},
|
||||
init(id, isdetail) {
|
||||
this.initData();
|
||||
this.initData()
|
||||
this.getDict()
|
||||
this.isdetail = isdetail || false;
|
||||
this.dataForm.id = id || undefined;
|
||||
this.visible = true;
|
||||
|
||||
Reference in New Issue
Block a user