Commit 9be905c3 by 王栋源

wdy

parent adc907c3
......@@ -148,7 +148,9 @@ class ServiceBase {
}
var tokenInfo = await this.getToken();
var reqUrl = this.channelApiUrl + "/action/tradetransfer/aliclienttransfer";
console.log("------------rtn---------------------------")
var rtn = await this.execS.execPostTK(sobj, reqUrl, tokenInfo.data.token);
console.log(rtn);
//var rtn = await this.execS.execPostTK(sobj, reqUrl,"token");
return rtn;
}
......
......@@ -25,20 +25,21 @@
validateformmethod(rule, value, cbk){
return cbk();
},
onDlgFormClick(k, model){
onDlgFormClick(k, model){\
var that=this;
if (k = "submit") {
this.$root.postReq("/web/transfer/tradetransferCtl/submit", model).then(function (d) {
if (d.status > -1) {
$("[name='grdid']").show();
$("[name='frmid']").hide();
this.$message({
that.$message({
type: 'success',
message: '提交成功!'
});
}else{
$("[name='grdid']").show();
$("[name='frmid']").hide();
this.$message({
that.$message({
type: 'warning',
message: '提交失败!'
});
......
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