染料配方
染料助剂计算方法
基础资料表 paintingprocess 中有针对配料单的每个 “流程” 设置的浴比(每个流程的浴比可能不同) 下面的 “处方比例” 都是百分比前面的数字,即缺少除以100。比如 1%,则 “处方比例” = 1,而不是0.01 到目前为止只有东诚一家使用 “按照用量单位计算”,不管是染料还是助剂都是采用这种方式计算。
| 分类 | 方式方法 | 计算公式 | 计算结果用量单位 | 备注 |
|---|---|---|---|---|
| 染料 | ||||
| 按照布重 | 布重 * 处方比例 * 浴比 | g | ||
| 按用量单位 - 百分比 | 布重 * 处方比例 * 1000 / 100 | g | 前面的乘以1000 是为了计算结果用量单位是 g | |
| 按用量单位 - G/L | 布重 * 处方比例 * 浴比 | g | ||
| 助剂 | ||||
| 按照布重 | 布重 * 处方比例 / 100 | kg | ||
| 按照水位 | 处方比例 * 水位 | kg | ||
| 按用量单位 - 百分比 | 布重 * 处方比例 * 1000 / 100 | g | 前面的乘以1000 是为了计算结果用量单位是 g | |
| 按用量单位 - G/L | 布重 * 处方比例 * 浴比 | g |
染色处方单
下面的物料来自 招商织染
API: toColorRegister.do JSP: RL_ColorRegister.jsp JS: RL_ColorRegister.js 新增单据:/craftcolor/add 单据表:craftcolor,craftcolor_dtl
染色领料单
API: toGoodsDyePrint.do JSP: RL_GoodsDye_print JS: RL_GoodsDye_print_v6.js 新增单据:/craftprintlog/add 单据表:craftprintlog,craftprintlog_dtl
印花领料单
- 单据主从表:
craft_printing_printlog和craft_printing_printlog_dtl
港荣 2022年2月26日 16:53:33 JSP - RL_GoodsDye_print.jsp JS - RL_GoodsDye_print_v9.js 打印模板 - craft_print01.cpt
天之然 2022年7月14日 14:29:13 JSP - RL_GoodsDye_print.jsp JS - RL_GoodsDye_print_v6.js 保存领料单数据的主从表是:craftprintlog,craftprintlog_dtl 处方单表 craftcolor,craftcolor_dtl
染料与配方
概述
nemu.jsp: rl_goodsdye_repertory.do 染料仓库
account.controller.system.ModelAndViewController: 方法:RL_GoodsDye_repertory jsp:web/MainPages/pages_RLPF/RL_GoodsDye_repertory.jsp
js:web\MainPages\pages_RLZJ\RL_GoodsDye_repertory.js
保存单据:
account.controller.forms.GoodsdyebillController 的方法:saveDelivery
库存请求:repertory_goodsdye/select.do
控制器:account.controller.repertory.RGoodsdyeController 的方法 selectAll
服务接口:account.service.RGoodsdyeService 的方法:selectWithoutZero
服务实现类:account.service.impl.RGoodsdyeServiceImpl 的方法:selectWithoutZero
MAPPER:D:\Java\ideaProjs\pademis_ssm\src\main\java\account\entity\Mapping\RGoodsdyeMapper.xml 的方法:selectWithoutZero
库存存储过程:usp_inven_dye,其数据来自视图:usv_inven_dye
关联的模型对象是:account.entity.RGoodsdye
数据来自视图:r_goodsdye
保存领料单据的请求:goodsdyebill/save_delivery.do
对应的控制器是:account.controller.forms.GoodsdyebillController 的方法:saveDelivery
生成领料单的服务接口:account.service.GoodsdyebillService 的方法:createDeliveryBill
服务实现类:account.service.impl.GoodsdyebillServiceImpl 的方法:createDeliveryBill
刷新染料单价的MAPPER:D:\Java\ideaProjs\pademis_ssm\src\main\java\account\entity\Mapping\GoodsdyebilldetailMapper.xml
刷新染料单价的存储过程:usp_calcPrice_dye
刷新染料单价的请求:http://localhost:8080/PADEMIS/goodsdyebill/refreshPriceAll
基础资料表:goodsdye 单据主表:goodsdyebillmain 单据明细表:goodsdyebilldetail
染料入库单
染料入库单 account.controller.system.ModelAndViewController 的方法:RLGoodsDye jsp:web/MainPages/pages_RLPF/RL_GoodsDyeBill js:web/MainPages/pages_RLZJ/RL_GoodsDyeBill.js 领料单据JS:D:\Java\ideaProjs\pademis_ssm\src\main\webapp\web\MainPages\pages_RLZJ\RL_GoodsDyeBill_LL.js 获取单据数据的请求:account.controller.forms.GoodsdyebillController 的方法:selectByBillCode 服务接口:account.service.GoodsdyebillService 的方法:selectByBillCode 服务实现类:account.service.impl.GoodsdyebillServiceImpl 的方法:selectByBillCode 服务接口:account.service.GoodsdyebillmainService 的方法:select 服务实现类:account.service.impl.GoodsdyebillmainServiceImpl 的方法:select dao:account.dao.GoodsdyebillmainMapper 的方法:findByBillCode MAPPER.XML:D:\Java\ideaProjs\pademis_ssm\src\main\java\account\entity\Mapping\GoodsdyebillmainMapper.xml 的方法:findByBillCode,查询返回主表+明细数据构成的记录集 修改请求:account.controller.forms.GoodsdyebillController 的方法:update 保存请求:account.controller.forms.GoodsdyebillController 的方法:save
印花领料单
主表 craft_printing_printlog 明细表 craft_printing_printlog_dtl
前端JSP RL_craft_printing_printlog.jsp
新增API craftPrintingPrintlog/insertSelective
修改API craftPrintingPrintlog/updateSelective
印花处方单
主表 craft_printing 明细表 craft_printing_dtl
