Compare commits
No commits in common. "618d620b4ab8327740c6034a244eb7bd66f7720c" and "b3ccf68026c245a11b76d78ccaf91e0e6f5fd60f" have entirely different histories.
618d620b4a
...
b3ccf68026
|
|
@ -480,6 +480,9 @@ export default {
|
||||||
default:"",
|
default:"",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// components: {
|
||||||
|
// checkDrawer
|
||||||
|
// },
|
||||||
emits: ["success", "closed"],
|
emits: ["success", "closed"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -553,7 +556,16 @@ 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];
|
||||||
|
|
@ -786,6 +798,10 @@ 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;
|
||||||
|
|
@ -861,19 +877,17 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
formTableCancel(row){
|
formTableCancel(row){
|
||||||
let that = this;
|
this.mlogbwlist.forEach((item, index) => {
|
||||||
that.mlogbwlist.forEach((item, index) => {
|
|
||||||
if (item.id == row.id) {
|
if (item.id == row.id) {
|
||||||
that.mlogbwlist[index].isEdit = false;
|
this.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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue