Commit b0656467 by 袁成

fix: 详情只读

parent 823235a6
...@@ -30,6 +30,7 @@ export default { ...@@ -30,6 +30,7 @@ export default {
c.billId = obj[BILLID]; c.billId = obj[BILLID];
c.subBillData = obj.BILLDETAILOBJ; c.subBillData = obj.BILLDETAILOBJ;
c.modal_visible = true; c.modal_visible = true;
c.state = 'readOnly'
c.$nextTick(()=>{ c.$nextTick(()=>{
component.addListener({ component.addListener({
close: function() { close: function() {
......
...@@ -760,11 +760,11 @@ export default { ...@@ -760,11 +760,11 @@ export default {
}, },
}, },
watch: { watch: {
state: { // state: {
handler(newVal, oldVal) { // handler(newVal, oldVal) {
this.state = newVal; // this.state = newVal;
}, // },
}, // },
subBillData: { subBillData: {
handler(newVal, oldVal) { handler(newVal, oldVal) {
this.subBillData = newVal; this.subBillData = newVal;
......
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