Commit 949e695d by 袁成

ceshi

parent b467642d
......@@ -36,6 +36,8 @@ export default {
bill.executeServerAction(postData, function (code, data) {
bill.setControlsSate(param["_control_name_"], 'enable', true)
console.log('code',code)
console.log('data',data)
if (code === 200) {
const id = data.content.billData.id
GMS.vbus.$emit('change-form-state', { state: 'readOnly', billId: id })
......
......@@ -118,6 +118,7 @@ export default {
mounted() {
Bridge.vm = this;
GMS.vbus.$on("change-form-state", (param) => {
console.log('change-form-state', {param})
const { state, billId } = param;
if (billId !== undefined) {
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