form.on('submit(editApply)', function (data) {
let dhDrugSpecs = [];
let dhSpecs = {};
dhSpecs.price = data.field.price;
dhSpecs.miniDosage = data.field.miniDosage;
dhSpecs.dosageUnitCode = data.field.sDosageUnitCode;
dhSpecs.totalDosage = data.field.totalDosage;
dhSpecs.totalDosageUnitCode = data.field.totalDosageUnitCode;
dhSpecs.specsUnitCode = data.field.specsUnitCode;
dhDrugSpecs.push(dhSpecs);
data.field.dhDrugSpecs = dhDrugSpecs;
admin.postReq({
url: '发送给dashabi',
data: data.field,
dfunc: function (res) {
}
});
});