|
表格里面的数据没有取到,帮忙看看哪里写错了,谢谢
var table = new this .Table("serveReimburse");
var values = [];
this.data.datagrid.data.forEach(function(item){
var par = {
"subject": this.data.subject,
"name": this.workContext.getWork().creatorPerson,
"dept": this.workContext.getWork().creatorUnit,
"cusName": item.cusName,
"select": item.select,
"amount": parseFloat(item.amount),
"actualAmount_1": parseFloat(item.actualAmount_1),
"endDate": this.workContext.getTask().startTime
}
values.push(par);
}.bind(this));
table.insertRow(values);
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|