工艺模块:页面完全完善

This commit is contained in:
tzy1042411602 2024-12-02 17:34:21 +08:00
parent 000af662ee
commit 40f38ef660

View File

@ -863,7 +863,7 @@ export default {
this.showParentSaveBtn = props.row.id;
},
//
onSave(props) {
/* onSave(props) {
this.$confirm('确认保存工艺路线数据?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@ -913,7 +913,7 @@ export default {
}).finally(() => {
this.loading = false;
});
},
},*/
//
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() {
const totalWeight = this.$route.query.productionOrderNo;
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) {