UNPKG

tplus-pos

Version:

pos module

529 lines (528 loc) 12.7 kB
{ "POSCode": "010006", "GiveChangeForStorageAmount": 0, "DiscountsAndAllowances": 0, "TotalDiscountAmount": 1150, "IdDailyVoucher": 0, "RetailCouponDetails": [], "SourceVoucherCode": "", "POSName": "", "ID": 0, "IDMemberType": 0, "Shift": { "ID": 0, "Name": "", "Code": "" }, "IdmarketingOrgan": 1, "Idmember": 0, "VoucherState": { "ID": 0, "Name": "", "Code": "" }, "IdShiftVoucher": 1, "VoucherDate": "2019-05-14", "WipeChange": 0, "DailyCode": "", "RetailPaymentDetails": [], "Memo": "", "Code": "", "RetailDetails": [ { "TaxFlag": true, "IsPresent": false, "Quantity": "5", "TaxRate": 69.7, "BaseQuantity": 1, "RetailPrice": 20, "MemberPrice": 18, "MemberDiscountRate": 1, "DiscountRate": "0.33666666666666667", "TotalDiscountRate": 1, "Price": "6.06", "Amount": "30.30", "TaxPrice": 20, "Tax": 2.3, "TaxAmount": 100, "DetailDiscountAmount": 230, "IsUseIntegralAndCash": false, "IsUseStorage": false, "IsDel": false, "ExpiryDate": "0001-01-01", "ProductionDate": "0001-01-01", "Idinventory": 1, "Inventory": { "ID": 1, "IdUnitBySale": 1, "IdUnitByPurchase": 1, "Code": "01", "IsNew": true, "IdUnitByStock": 1, "Idunit": 1, "IsSuite": false, "IdUnitByManufacture": 1, "Name": "01", "IsSingleUnit": true, "IsBatch": false, "IdUnitByRetail": 1, "Specification": "", "IsLaborCost": false, "IsWeigh": false, "IsQualityPeriod": false, "IsSerialNumber": false, "UnitBySale": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "Unit": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "UnitByStock": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "UnitByPurchase": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "UnitByManufacture": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "UnitByRetail": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "DynamicPropertyKeys": [ "userfreeitem1", "priuserdefnvc4", "userfreeitem7", "userfreeitem3", "mustinputfreeitem4", "priuserdefdecm2", "mustinputfreeitem2", "mustinputfreeitem6", "controlrangefreeitem6", "controlrangefreeitem0", "userfreeitem9", "mustinputfreeitem7", "priuserdefnvc5", "controlrangefreeitem7", "priuserdefnvc2", "priuserdefdecm3", "userfreeitem6", "priuserdefdecm1", "userfreeitem2", "userfreeitem8", "priuserdefnvc3", "controlrangefreeitem2", "priuserdefnvc1", "mustinputfreeitem9", "withoutbargain", "controlrangefreeitem4", "priuserdefdecm5", "controlrangefreeitem8", "mustinputfreeitem8", "controlrangefreeitem9", "priuserdefdecm4", "controlrangefreeitem1", "controlrangefreeitem5", "mustinputfreeitem1", "userfreeitem4", "mustinputfreeitem5", "mustinputfreeitem0", "haseverchanged", "mustinputfreeitem3", "controlrangefreeitem3", "userfreeitem0", "ismodifiedcode", "userfreeitem5" ], "DynamicPropertyValues": [ 0, null, 0, 0, 0, null, 0, 0, 0, 0, 0, 0, null, 0, null, null, 0, null, 0, 0, null, 0, null, 0, 0, 0, null, 0, 0, 0, null, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 1, 0 ] }, "Idunit": 1, "IdBaseUnit": 1, "Unit": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "PromotionDetails": [], "DynamicPropertyKeys": [ "isCurrentOperate" ], "DynamicPropertyValues": [ false ], "RetailAmount": 0, "Code": "0000" }, { "TaxFlag": true, "IsPresent": false, "Quantity": "5", "TaxRate": 164.29, "BaseQuantity": 1, "RetailPrice": 40, "MemberPrice": 35, "MemberDiscountRate": 1, "DiscountRate": "0.20405714285714286", "TotalDiscountRate": 1, "Price": "7.14", "Amount": "35.71", "TaxPrice": 40, "Tax": 4.6, "TaxAmount": 200, "DetailDiscountAmount": 920, "IsUseIntegralAndCash": false, "IsUseStorage": false, "IsDel": false, "ExpiryDate": "0001-01-01", "ProductionDate": "0001-01-01", "Idinventory": 2, "Inventory": { "ID": 2, "IdUnitBySale": 1, "IdUnitByPurchase": 1, "Code": "02", "IsNew": true, "IdUnitByStock": 1, "Idunit": 1, "IsSuite": false, "IdUnitByManufacture": 1, "Name": "02", "IsSingleUnit": true, "IsBatch": false, "IdUnitByRetail": 1, "Specification": "", "IsLaborCost": false, "IsWeigh": false, "IsQualityPeriod": false, "IsSerialNumber": false, "UnitBySale": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "Unit": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "UnitByStock": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "UnitByPurchase": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "UnitByManufacture": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "UnitByRetail": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "DynamicPropertyKeys": [ "userfreeitem1", "priuserdefnvc4", "userfreeitem7", "userfreeitem3", "mustinputfreeitem4", "priuserdefdecm2", "mustinputfreeitem2", "mustinputfreeitem6", "controlrangefreeitem6", "controlrangefreeitem0", "userfreeitem9", "mustinputfreeitem7", "priuserdefnvc5", "controlrangefreeitem7", "priuserdefnvc2", "priuserdefdecm3", "userfreeitem6", "priuserdefdecm1", "userfreeitem2", "userfreeitem8", "priuserdefnvc3", "controlrangefreeitem2", "priuserdefnvc1", "mustinputfreeitem9", "withoutbargain", "controlrangefreeitem4", "priuserdefdecm5", "controlrangefreeitem8", "mustinputfreeitem8", "controlrangefreeitem9", "priuserdefdecm4", "controlrangefreeitem1", "controlrangefreeitem5", "mustinputfreeitem1", "userfreeitem4", "mustinputfreeitem5", "mustinputfreeitem0", "haseverchanged", "mustinputfreeitem3", "controlrangefreeitem3", "userfreeitem0", "ismodifiedcode", "userfreeitem5" ], "DynamicPropertyValues": [ 0, null, 0, 0, 0, null, 0, 0, 0, 0, 0, 0, null, 0, null, null, 0, null, 0, 0, null, 0, null, 0, 0, 0, null, 0, 0, 0, null, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 1, 0 ] }, "Idunit": 1, "IdBaseUnit": 1, "Unit": { "Code": "1", "Name": "个", "IsMainUnit": false, "ChangeRate": 1, "IsSingleUnit": true, "ID": 1, "DynamicPropertyKeys": [ "ts1" ], "DynamicPropertyValues": [ "AAAAAACidNw=" ] }, "PromotionDetails": [], "DynamicPropertyKeys": [ "isCurrentOperate" ], "DynamicPropertyValues": [ true ], "RetailAmount": 0, "Code": "0001" } ], "RetailStorageDetails": [], "IdVoucherType": 0, "Idproject": 0, "IdbusiType": 34, "PreReceiveAmount": 0, "Idstore": 1, "Idperson": 0, "TotalRetailAmount": 66.01, "TotalTaxAmount": 300 }