${reps} GET On Session factory printing-package-mall-service/user/page/user-shipping-address params=pageNum=1&pageSize=100
@ -138,6 +148,35 @@ ConfirmOrder
Set Global Variable ${CityId}
Set Global Variable ${DistrictId}
Set Global Variable ${ProvinceId}
#送货-获取税点
${reps} GET On Session factory printing-package-mall-service/user/get/sale-order/other-fees-config params=factoryId=${Fid}&orgId=${organizationId}&deliveryAddressProvinceId=${ProvinceId}&deliveryAddressCityId=${CityId}&deliveryAddressDistrictId=${DistrictId}
${Charges} Get From Dictionary ${reps.json()['data']} logisticsCharges #物流费用
${InvoiceList} Get From Dictionary ${reps.json()['data']} enterpriseInvoiceList #获取税点信息
FOR ${Invoice} IN @{InvoiceList}
${tax} Get From Dictionary ${Invoice} tax #税点
${type} Get From Dictionary ${Invoice} type #开票类型
END
${InvoiceData} Set Variable If '${type}'=='1' or '${type}'=='2' ${tax} 0
${Charges} Set Variable If '${Charges}'=='${None}' 0 ${Charges}
${reps} GET On Session factory printing-package-mall-service/user/get/sale-order/other-fees-config params=factoryId=${Fid}&orgId=${organizationId}&deliveryAddressProvinceId=${ProvinceId}&deliveryAddressCityId=${CityId}&deliveryAddressDistrictId=${DistrictId}
${reps} GET On Session factory printing-package-mall-service/user/get/sale-order/other-fees-config params=factoryId=${Fid}&orgId=${organizationId}&deliveryAddressProvinceId=${LocationProvinceId}&deliveryAddressCityId=${LocationCityId}&deliveryAddressDistrictId=${LocationDistrictId}
${Charges} Get From Dictionary ${reps.json()['data']} logisticsCharges #物流费用
${InvoiceList} Get From Dictionary ${reps.json()['data']} enterpriseInvoiceList #获取税点信息
FOR ${Invoice} IN @{InvoiceList}
${tax} Get From Dictionary ${Invoice} tax #税点
${type} Get From Dictionary ${Invoice} type #开票类型
END
${LocationInvoiceData} Set Variable If '${type}'=='1' ${tax} '${type}'=='2' ${tax} 0