feat:禅道146

This commit is contained in:
shijing 2026-01-06 14:22:21 +08:00
parent 435898afcb
commit 1fad373b4d
1 changed files with 8 additions and 22 deletions

View File

@ -480,9 +480,6 @@ export default {
default:"",
}
},
// components: {
// checkDrawer
// },
emits: ["success", "closed"],
data() {
return {
@ -556,16 +553,7 @@ export default {
printer_name:localStorage.getItem("printer_name")
};
},
watch: {
// mlogbwlist: {
// handler(newVal, oldVal) {
// let that = this;
// that.getNewNumber();
// },
// deep: true,
// immediate: true,
// },
},
watch: {},
mounted() {
let that = this;
that.route_code = that.$route.path.split("/")[2];
@ -798,10 +786,6 @@ export default {
//
formTableSave(row) {
let that = this;
if(that.mode == 'ins'&&that.route_code=='niuzhuan'&&row.equip==''||row.equip==null){
row.work_start_time = null;
row.波数 = null;
}
let obj = {};
obj.number = row.number;
obj.mlogb = row.mlogb;
@ -877,17 +861,19 @@ export default {
}
},
formTableCancel(row){
this.mlogbwlist.forEach((item, index) => {
let that = this;
that.mlogbwlist.forEach((item, index) => {
if (item.id == row.id) {
this.mlogbwlist[index].isEdit = false;
that.mlogbwlist[index].isEdit = false;
if(that.mode == 'ins'&&that.route_code=='niuzhuan'&&(row.equip==''||row.equip==null)){
that.mlogbwlist[index].work_start_time = null;
that.mlogbwlist[index].波数 = null;
}
}
});
},
formTableEdit(row) {
let that = this;
// if(that.route_code=='niuzhuan'&&that.optionsEq.length==0){
// that.getEquipment4();
// }
that.mlogbwlist.forEach((item, index) => {
if (item.id == row.id) {
that.mlogbwlist[index].isEdit = true;