feat:禅道146
This commit is contained in:
parent
435898afcb
commit
1fad373b4d
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue