if(arg.property =="depotId"){ autoByDepot(arg.newValue); } com.fzzy.igds.models.InoutNoticeOut 通知单号 组织编码 所属分库 ${dorado.getDataProvider("deptPR#loadParents").getResult()} deptId deptName false 所属计划 false 所属计划 false 所属合同 false 所属合同 false 通知单名称 true 出库仓库 ${dorado.getDataProvider("depotPR#getAllCache").getResult()} id name true 收货客户 true 收货客户 true 发货单位 false ${dorado.getDataProvider("deptPR#loadParents").getResult()} deptId deptName 粮食品种 ${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_VARIETY_")} dictValue dictLabel true 粮食年份 true double #,## kG true 计划数量 double 完成数量 #,## kG 审核状态 审核人 完成状态 未完成 NONE 已完成 COMPLETE code name DateTime 创建时间 创建人 DateTime 完成时间 备注信息 标记 通知单号 发货单位 ${dorado.getDataProvider("deptPR#loadParents").getResult()} deptId deptName 粮食品种 ${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_VARIETY_")} dictValue dictLabel 年份 完成状态 未完成 NONE 已完成 COMPLETE code name 出库仓库 ${dorado.getDataProvider("depotPR#getAllCache").getResult()} id name true title com.fzzy.igds.models.InoutPlanDetail 计划明细号 计划编码 粮食品种 ${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_VARIETY_")} dictValue dictLabel 粮食性质 ${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_TYPE_")} dictValue dictLabel 粮食等级 ${dorado.getDataProvider("dicPR#triggerFoodLevel").getResult()} dictValue dictLabel 收获年度 仓库 ${dorado.getDataProvider("depotPR#getAllCache").getResult()} id name Double 计划数量 计划类型 ${dorado.getDataProvider("dicPR#triggerPlanType").getResult()} dictValue dictLabel 更新时间 com.fzzy.igds.models.InoutContract ID_ 组织编码 所属库区 ${dorado.getDataProvider("deptPR#loadParents").getResult()} deptId deptName 所属计划 所属计划 合同类型 ${dorado.getDataProvider("dicPR#triggerContractType").getResult()} dictValue dictLabel 合同名称 true 年份 客户编码 客户名称 true 客户类型 1 1-企业 2 2-个人 code name true 客户开户行 客户开户行账号 客户签约人 本方开户行 本方开户行账号 本方签约人 签约地址 Double 单价 #,###0.000 元/公斤 true Double 总金额 #,###0.000 元 true Double 合同数量 #,##0.00 KG true Double 合同完成数量 #,##0.00 KG 粮食品种 ${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_VARIETY_")} dictValue dictLabel true 粮食性质 ${dorado.getDataProvider("dicPR#sysDictData").getResult("FOOD_TYPE_")} dictValue dictLabel true 支付方式 ${dorado.getDataProvider("dicPR#sysDictData").getResult("PAY_TYPE")} dictLabel dictValue 创建人 Date 创建时间 Date 签订时间 true Date 有效开始时间 Date 有效截止时间 备注说明 var deptId = window.parent.deptId;//父页面中的分库编码 var TYPE = "NOTICE_OUT"; query = function(){ view.get("#dsQuery").set("parameter",{deptId:deptId}).flushAsync(); }; query(); queryTitle = function(){ view.get("#dsQueryTitle").set("parameter",{type:TYPE,deptId:deptId}).flushAsync(); }; queryTitle(); //新增 add = function(){ view.get("#ajaxInitAdd").set("parameter", TYPE).execute(function(data){ view.get("#dsMain").insert(data); view.get("#dialogMain").show(); }); }; //根据仓库自动回填粮食品种,等级,产地新 autoByDepot = function(depotId){ view.get("#ajaxGetDepot").set("parameter",depotId).execute(function(result){ if(result){ var data = view.get("#dataGridMain.currentEntity"); data.set("foodVariety",result.foodVariety); } }); }; font-awesome,css-common [dtMain] inoutNoticePR#pageQueryOut 15 lazy dtQueryTitle inoutNoticePR#getTitle manual dtQuery inoutNoticePR#getYearQuery manual *,*,*,* dsQuery bg-color foodVariety foodVariety false year year defaultYearDropDown false completeStatus completeStatus false bg-color hidden 55 bg-color var data = view.get("#dsMain.data:#"); if(data){ view.get("#dialogMain").show(); } dsMain true singleRow 50 序号 id 200 center name center 120 customerName customerName center depotId depotId center 100 foodVariety center 150 targetNumber targetNumber center 200 completeNumber center completeNumber 200 completeStatus completeStatus center 100 createTime center createTime 200 bg-color pageSize,pages dsMain false 出库单 60% fa fa-tasks *,*,*,*,*,*,* dsQueryTitle right false title title false Label bold 30px Georgia, serif; center dsMain *,* right 120 name name id id true customerName customerName ddCustomer unitName unitName depotId depotId foodVariety foodVariety year year defaultYearDropDown depotPR#getDepot inoutNoticePR#saveOut inoutNoticePR#delDataOut 确定要执行删除么? inoutNoticePR#initAddOut 400 customerId=id,customerName=name 500 true inoutCustomerPR#queryListByKey [dtInoutCustomer] OUT -- 编码或者名称 -- 200 var data = view.get("#dsCustomer.data:#"); if(data){ view.get("#ddCustomer").close(data.toJSON()); } dsCustomer true id 100 center arg.dom.style.fontWeight = "bold"; arg.processDefault = true; name center inoutNoticePR#updateSumNoticeOut 325 planId=id,planName=planId 900 false planManagePR#pagePlanDetail [dtPlan] 5 *,*,* dsQuery bg-color right : 100 depotId depotId false 计划仓库 year year defaultYearDropDown false 收获年份 var data = view.get("#dsPlan.data:#"); if(data){ view.get("#ddPlan").close(data.toJSON()); } dsPlan true planId 100 center planId false arg.dom.style.fontWeight = "bold"; arg.processDefault = true; depotId center year 200 center year planNum 80 center planNum foodVariety 80 center foodVariety type center type dsPlan 317 contractId=id,contractName=name 550 false contractManagePR#pageContract [dtContract] 5 -- 合同名称或者所属计划 -- 200 var data = view.get("#dsContract.data:#"); if(data){ view.get("#ddContract").close(data.toJSON()); } dsContract true id 100 center id false arg.dom.style.fontWeight = "bold"; arg.processDefault = true; name center planName center planName year 80 center year dsContract