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