| | |
| | | return WorkBatch.Product.ITEM_NAME; |
| | | case "GetCustomer": |
| | | return WorkBatch.Batch.Customer.ToJson(); |
| | | case "GetSalesOrder": |
| | | return WorkBatch.WO.SALES_ORDER; |
| | | case "GetPackNumber": |
| | | return WorkBatch.WO.ORDER_NO; |
| | | case "GetBoxQR": |
| | | return action is PackingAction ? GetBoxCode(lvars, action as PackingAction) : ""; |
| | | case "GetCardQR": |
| | |
| | | var itemCode = action.CurPkg.CustSN?.ITEM_CODE; |
| | | var weight = action.CurPkg.WeightInfo.Weight; |
| | | var unit = action.CurPkg.WeightInfo.Unit.ToUpper(); |
| | | var model = WorkBatch.Product.ExtInfo.Model; |
| | | var Input = WorkBatch.Product.ExtInfo.Input; |
| | | var OutPut = WorkBatch.Product.ExtInfo.OutPut; |
| | | var Power = WorkBatch.Product.ExtInfo.Power; |
| | | var Accuracy = WorkBatch.Product.ExtInfo.Accuracy; |
| | | var Display = WorkBatch.Product.ExtInfo.Display; |
| | | var Remark = WorkBatch.Product.ExtInfo.Remark; |
| | | var model = WorkBatch.Product.ExtInfo?.Model; |
| | | var Input = WorkBatch.Product.ExtInfo?.Input; |
| | | var OutPut = WorkBatch.Product.ExtInfo?.OutPut; |
| | | var Power = WorkBatch.Product.ExtInfo?.Power; |
| | | var Accuracy = WorkBatch.Product.ExtInfo?.Accuracy; |
| | | var Display = WorkBatch.Product.ExtInfo?.Display; |
| | | var Remark = WorkBatch.Product.ExtInfo?.Remark; |
| | | |
| | | return $"{code}|{itemCode}|{wo}|\r\n{snList}|{weight}{unit}|型号:{model},输入:{Input},显示:{Display},输出:{OutPut},电源:{Power},精度:{Accuracy},备注:{Remark}"; |
| | | } |