|
发表于 2016-8-16 17:39:34
|
显示全部楼层
就用一个简单按钮
然后执行
for(i=0;i<parseInt(componentnumber);i++){
var optionsx="options"+i;
optionsx={defaultValues:[
{
fid:justep.UUID.createUUID(),
fOrderNumberQTrdernumber,
fDeliveryBatchNumberQT:deliveryBatchNumber,
fComponentTypeQT:componentType,
fComponentClassificationQT:componentClassification,
fComponentNumberQTrdernumber+"%"+deliveryBatchNumber+"%"+componentType+"%"+i,
fProductionDate:null,
fDeliveryDate:deliveryDate,
fMouldSizeQTResults:null,
fConcealedWorkQTResults:null,
fComponentSizeQTResults:null,
fClientName1:clientname
}
]};
componentQTResultsData.newData(optionsx);
componentQTResultsData.saveData();
看看
为什么在data的onCustomSave事件中去处理 |
|