工艺模块:页面完全完善
This commit is contained in:
parent
000af662ee
commit
40f38ef660
@ -863,7 +863,7 @@ export default {
|
|||||||
this.showParentSaveBtn = props.row.id;
|
this.showParentSaveBtn = props.row.id;
|
||||||
},
|
},
|
||||||
// 保存子集
|
// 保存子集
|
||||||
onSave(props) {
|
/* onSave(props) {
|
||||||
this.$confirm('确认保存工艺路线数据?', '提示', {
|
this.$confirm('确认保存工艺路线数据?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
@ -913,7 +913,7 @@ export default {
|
|||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},*/
|
||||||
// 删除子集
|
// 删除子集
|
||||||
onDelete(props) {
|
onDelete(props) {
|
||||||
// 获取父级的所在下标
|
// 获取父级的所在下标
|
||||||
@ -963,17 +963,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
bomClose() {
|
|
||||||
this.BOMpop = false
|
|
||||||
},
|
|
||||||
shouhide() {
|
|
||||||
this.showtable = false
|
|
||||||
setTimeout(() => {
|
|
||||||
this.showtable = true
|
|
||||||
this.expand = !this.expand
|
|
||||||
}, 0);
|
|
||||||
|
|
||||||
},
|
|
||||||
setTotalWeight() {
|
setTotalWeight() {
|
||||||
const totalWeight = this.$route.query.productionOrderNo;
|
const totalWeight = this.$route.query.productionOrderNo;
|
||||||
if (totalWeight) {
|
if (totalWeight) {
|
||||||
@ -1410,28 +1400,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 修改现有的handleBomAdd方法
|
|
||||||
handleBomAdd() {
|
|
||||||
this.bomDialogTitle = '新增BOM';
|
|
||||||
this.bomForm = {
|
|
||||||
id: undefined,
|
|
||||||
materialCode: '',
|
|
||||||
materialName: '',
|
|
||||||
materialType: '',
|
|
||||||
quantity: 0,
|
|
||||||
unit: ''
|
|
||||||
};
|
|
||||||
// 重置物料搜索相关数据
|
|
||||||
this.materialOptions = [];
|
|
||||||
this.materialQuery = '';
|
|
||||||
this.materialPagination = {
|
|
||||||
pageNum: 1,
|
|
||||||
pageSize: 10,
|
|
||||||
total: 0
|
|
||||||
};
|
|
||||||
this.hasMoreMaterial = true;
|
|
||||||
this.bomDialogVisible = true;
|
|
||||||
},
|
|
||||||
|
|
||||||
// 开始编辑行
|
// 开始编辑行
|
||||||
handleRowEdit(scope) {
|
handleRowEdit(scope) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user