Commit 759b483d by denyu

附加条款添加default方法 文件读取方法

parent 9c0f6315
......@@ -45,12 +45,13 @@ export default {
let data = Utils.flatObject(this.model)
return Api.post(this.declareParams.trnName+"/pending",{...data,params})
},
restoreDisplay()
async restoreDisplay()
{
let inr = this.$route.query.trn
if(!inr)
return
let data = Api.post("display/"+inr)
let data =await Api.post("display/"+inr)
Utils.copyValueFromVO(this.model,data.data)
console.log(data)
}
}
......
......@@ -176,7 +176,10 @@ function defaultLitameadv() {
})
}
function defaultDidgrpBlkAdlcnd() {
const that = this;
that.executeDefault("didgrp.blk.adlcnd").then(res => {
that.model.didgrp.blk.adlcnd = res.data.didgrp_blk_adlcnd;
})
}
function defaultDidgrpAplPtsRef() {
}
......
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