Commit b002be7c by qiaoyanqi

查看点进去 删除后,上张下张仍为只读

parent 72a6ad19
......@@ -56,13 +56,14 @@ export default {
} else if (action == "last") {
GMS.queryObject.index = data.data.count - 1;
}
let state = GMS.queryObject.isReadOnly?'readOnly':'';
if (
window.osConfig.appOpenMode &&
window.osConfig.appOpenMode == "apploader"
) {
GMS.$hideContainer.$portalAPI.emit("resetBillData", data.data.id);
GMS.$hideContainer.$portalAPI.emit("resetBillData", data.data.id,state);
} else {
GMS.vbus.$emit("resetBillData", data.data.id);
GMS.vbus.$emit("resetBillData", data.data.id,state);
}
}
if (data.data && data.data.message) {
......
......@@ -59,10 +59,11 @@ export default {
}
},
methods: {
changeData(billId) {
changeData(billId,state) {
this.init = false;
this.$nextTick(() => {
this.billId = billId;
this.state = state;
this.init = true;
});
},
......
......@@ -98,10 +98,11 @@ export default {
GMS.oldBillDataMap[this.curTagId] = bill.getBuillData()
}, 100);
},
changeData(billId) {
changeData(billId,state) {
this.init = false;
this.$nextTick(() => {
this.type = 'load';
this.state = state;
this.init = true;
this.billId = billId;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment