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