Commit a62e1393 authored by liguangyu06's avatar liguangyu06
Browse files

补充二审用例场景

parent 6d1011a0
Showing with 193 additions and 2 deletions
+193 -2
# -*- encoding=utf8 -*-
__author__ = "liguangyu"
"""
case_tag:cmdc_api,cmdc快速下单-二审拒绝,2252,2252-4,sit,bs
涉及到接口:需求单创建、需求单审核通过、二审通过等接口
"""
from common.common_func import commonFuc
from air_case.cmdc_login.多彩商城登录.多彩商城登录 import CmdcMaiiLogin
from air_case.cmdc_login.后台管理系统登录.后台管理系统登录 import CmdcDoLogin
import requests
import json
module = "cmdc_demand"
# 第一步登录多彩商城获取token信息
# 获取登录多彩商城所需账号密码
username = commonFuc().get_business_data(module, "username")
password = commonFuc().get_business_data(module, "password")
# 获取登录后Cmdc_access_token并进行参数化赋值
cmdc_access_token1 = CmdcMaiiLogin(username, password).get_token()
headers1 = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token1)
print(headers1)
# 第二步进行需求单创建
url1 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url4")
request_body1 = commonFuc().get_business_data(module, "payload4")
# 发送请求
result1 = requests.post(url1, json=request_body1, headers=headers1)
result1 = json.loads(result1.content)
# 获取预期结果
check_dict1 = commonFuc().get_business_data(module, "checkDict4")
# 断言实际结果中是否包含预期结果的内容
commonFuc().check_result(check_dict1, result1)
# 获取新创建需求单对应的订单编号
order_num = result1["data"]["国药集团北京医疗器械有限公司"]["demandItems"][0]["demandCode"]
print(order_num)
# 登录后台管理系统获取token信息
# 获取登录后台管理系统所需账号密码
username1 = commonFuc().get_business_data(module, "username1")
password1 = commonFuc().get_business_data(module, "password1")
# 获取登录后Cmdc_access_token并进行参数化赋值
cmdc_access_token = CmdcDoLogin(username1, password1).get_token()
headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token)
# 第三步在需求单列表根据订单编号查询出新创建的需求单
url2 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url80")
request_body2 = commonFuc().get_business_data(module, "payload80")
# 发送请求
result2 = requests.post(url2, json=request_body2, headers=headers)
result2 = json.loads(result2.content)
# 获取预期结果
check_dict2 = commonFuc().get_business_data(module, "checkDict80")
# 断言实际结果中是否包含预期结果的内容
commonFuc().check_result(check_dict2, result2)
# 第四步获取到新增需求单对应的id并进行参数化赋值处理
demand_id = result2["data"]["list"][0]["demandId"]
demand_code = result2["data"]["list"][0]["demandCode"]
print(demand_id, demand_code)
# 步骤五对新创建的需求单订单进行审核操作
url3 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url82")
request_body3 = commonFuc().get_business_data(module, "payload82", demand_id, demand_code)
# 发送请求
result3 = requests.post(url3, json=request_body3, headers=headers)
result3 = json.loads(result3.content)
print(result3)
# 获取预期结果
check_dict3 = commonFuc().get_business_data(module, "checkDict82")
# 断言实际结果中是否包含预期结果的内容
commonFuc().check_result(check_dict3, result3)
"""
场景:流程验证-快速下单创建-一审通过-二审拒绝
用例名称:快速下单-二审拒绝
"""
# -*- encoding=utf8 -*-
__author__ = "liguangyu"
"""
case_tag:cmdc_api,cmdc快速下单-二审通过,2252,2252-4,sit,bs
涉及到接口:需求单创建、需求单审核通过、二审通过等接口
"""
from common.common_func import commonFuc
from air_case.cmdc_login.多彩商城登录.多彩商城登录 import CmdcMaiiLogin
from air_case.cmdc_login.后台管理系统登录.后台管理系统登录 import CmdcDoLogin
import requests
import json
module = "cmdc_demand"
# 第一步登录多彩商城获取token信息
# 获取登录多彩商城所需账号密码
username = commonFuc().get_business_data(module, "username")
password = commonFuc().get_business_data(module, "password")
# 获取登录后Cmdc_access_token并进行参数化赋值
cmdc_access_token1 = CmdcMaiiLogin(username, password).get_token()
headers1 = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token1)
print(headers1)
# 第二步进行需求单创建
url1 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url4")
request_body1 = commonFuc().get_business_data(module, "payload4")
# 发送请求
result1 = requests.post(url1, json=request_body1, headers=headers1)
result1 = json.loads(result1.content)
# 获取预期结果
check_dict1 = commonFuc().get_business_data(module, "checkDict4")
# 断言实际结果中是否包含预期结果的内容
commonFuc().check_result(check_dict1, result1)
# 获取新创建需求单对应的订单编号
order_num = result1["data"]["国药集团北京医疗器械有限公司"]["demandItems"][0]["demandCode"]
print(order_num)
# 登录后台管理系统获取token信息
# 获取登录后台管理系统所需账号密码
username1 = commonFuc().get_business_data(module, "username1")
password1 = commonFuc().get_business_data(module, "password1")
# 获取登录后Cmdc_access_token并进行参数化赋值
cmdc_access_token = CmdcDoLogin(username1, password1).get_token()
headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token)
# 第三步在需求单列表根据订单编号查询出新创建的需求单
url2 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url80")
request_body2 = commonFuc().get_business_data(module, "payload80")
# 发送请求
result2 = requests.post(url2, json=request_body2, headers=headers)
result2 = json.loads(result2.content)
# 获取预期结果
check_dict2 = commonFuc().get_business_data(module, "checkDict80")
# 断言实际结果中是否包含预期结果的内容
commonFuc().check_result(check_dict2, result2)
# 第四步获取到新增需求单对应的id并进行参数化赋值处理
demand_id = result2["data"]["list"][0]["demandId"]
demand_code = result2["data"]["list"][0]["demandCode"]
print(demand_id)
# 步骤五对新创建的需求单订单进行审核操作
url3 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url81")
request_body3 = commonFuc().get_business_data(module, "payload81", demand_id, demand_code)
# 发送请求
result3 = requests.post(url3, json=request_body3, headers=headers)
result3 = json.loads(result3.content)
print(result3)
# 获取预期结果
check_dict3 = commonFuc().get_business_data(module, "checkDict81")
# 断言实际结果中是否包含预期结果的内容
commonFuc().check_result(check_dict3, result3)
"""
场景:流程验证-快速下单创建-一审通过-二审通过
用例名称:快速下单-二审通过
"""
......@@ -96,10 +96,24 @@ checkDict40: {"success":true,"code":"200"}
#预期结果
checkDict50: {"success":true,"code":"200","message":"OK"}
#获取商品清单
"url51": "/order/back/getRebateInfoByDemandId"
"payload51": {"demandId":"%s"}
#mergeDemandSku报文
"url52": "/order/back/mergeDemandSku"
"payload52": {"demandItems":"%s","demandId":"%s","forceApprovedSign":0}
#listDemandAudit报文
"url520": "/order/back/listDemandAudit"
"payload520": {"manufacturer":"","productName":"","materialCode":"","productLineName":"","optionStr":"","productCode":"","groupName":"","demandId":"%s"}
#需求单审核通过操作
#需求单审核通过
"url60": "/order/back/auditDemand"
"payload60": {"demandId":41857,"demandParentId":39794,"demandParentCode":"s2309251100012","demandCode":"16956119845312622","customerId":130,"customerName":"北京海德锐视科技有限公司","customerCode":1000086,"loginName":"Test001","realName":"王春晖","addressNumber":19199,"mobile":"18008613535","productName":null,"productCode":null,"sellerCompanyName":"国药集团联合医疗器械有限公司","sellerCompanyCode":"00102","paymentType":0,"receiveBankName":"国药集团联合医疗器械有限公司","receiveBankAccount":"108902839271937437","paymentAmount":68.88,"productAmount":68.88,"payableAmount":68.88,"refundAmount":0,"cancelAmount":0,"discountAmount":0,"orderStatus":102,"refundStatus":null,"receiverName":"萧峰","receiverContact":"13878900987","receiverAddress":"武汉市洪山区高新大道777号","remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":0,"pushJdeStatus":null,"createTime":"2023-09-25 11:19:44","updateTime":"2023-09-25 11:19:44","submitTime":"2023-09-25 11:19:45","pushJdeTime":null,"successTime":null,"auditStatus":1,"deleteSign":0,"firstOrderFlag":0,"demandItems":[{"demandSkuId":30223,"productName":"威尔特","productId":9,"productCode":"10145928","productLineCode":"DS-002","productLineName":"电商产品线","sellerCompanyName":"国药集团联合医疗器械有限公司","sellerCompanyCode":"00102","optionStr":"犬瘟热","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2020/12/30/a5937bce-1fd4-4219-8271-b15d0e9260ca.JPG","price":68.88,"quantity":1,"subtotal":68.88,"materialCode":"","manufacturer":"北京康思润业生物技术有限公司-黄翼","produceRegisterNum":"2134234","riskRank":null,"productClassify":null,"storageType":"999","measuringUnit":"个","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"productNature":null,"productInventory":[],"totalInventory":0,"promotionPrice":0,"promotionTotalPrice":0,"discountRate":0,"realPay":68.88,"customerCode":"1000086","isRebate":"0","rebateId":"91","rebateDetail":{"rebateoperaskuid":null,"filialecode":"00102","rebateid":91,"customercode":null,"transactionamount":null,"transactiontype":null,"rebateStartTime":null,"rebateValidity":null,"balance":null,"deletesign":null,"note":null,"createtime":null,"updatetime":null,"demandId":null,"demandCode":null,"relevanceName":null,"rebateName":null,"customerCompanyName":null,"lineCodeDelete":null,"rebateTripId":null,"monNum":null,"relevanceCode":"DS-002","pageSize":null,"pageNum":null,"startTime":null,"endTime":null,"userId":null,"customerCodeList":null,"filialeCodeList":null,"companyName":null,"reSign":null,"demandParentCode":null,"distributionCode":null,"frontNote":null,"backNote":null,"cancelId":null,"effectivetype":null,"validityperiodSign":null,"rebatename":"test100","useLimitStart":0,"useLimitEnd":1,"istax":1,"taxround":0,"isdisposable":0,"productCode":null,"isOperated":null,"userPrice":null,"rebateFalg":null},"useMaxLimit":"1.0000","useBalance":6811.73,"taxRate":0.17,"rebateType":0,"singleRebateAmount":null,"multipleCodeProductList":null,"stockNumber":0,"prescription":"2025-12-30","ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"simpleMultipleCodeProductList":[{"groupId":101,"optionStr":"犬瘟热","manufacturer":"北京康思润业生物技术有限公司-黄翼","materialCode":"","produceRegisterNum":"2134234","prescription":"2016-12-01","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2020/12/30/a5937bce-1fd4-4219-8271-b15d0e9260ca.JPG","measuringUnit":"个","price":68.88,"productName":"威尔特","productCode":"10145928","quantity":0,"productId":9,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"areaName":null,"offerPrice":null,"referencePrice":68.88,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"takeEffectRange":null,"showlimitNum":null,"showproductLimitBuyId":null,"showalreadyBuyNum":null,"showtakeEffectRange":null,"limitBuySign":0},{"groupId":101,"optionStr":"CWH-3010A","manufacturer":"山东育达医疗设备有限公司-电商专用","materialCode":"3010A","produceRegisterNum":"国食药监械(准)2014第3540086号","prescription":"2016-12-27","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2023/02/22/92ea3dd9-647e-406f-b1a1-23235477af91.jpg","measuringUnit":"台","price":200,"productName":"呼吸机-电商专用","productCode":"10146163","quantity":9758,"productId":111477,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"areaName":"上海","offerPrice":null,"referencePrice":200,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"takeEffectRange":null,"showlimitNum":null,"showproductLimitBuyId":null,"showalreadyBuyNum":null,"showtakeEffectRange":null,"limitBuySign":0},{"groupId":101,"optionStr":"CWH-3010A","manufacturer":"山东育达医疗设备有限公司-电商专用","materialCode":"3010A","produceRegisterNum":"国食药监械(准)2014第3540086号","prescription":"2016-12-27","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2023/02/22/92ea3dd9-647e-406f-b1a1-23235477af91.jpg","measuringUnit":"台","price":18.56,"productName":"呼吸机-电商专用","productCode":"10146163","quantity":9758,"productId":111477,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"areaName":"南京","offerPrice":null,"referencePrice":18.56,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"takeEffectRange":null,"showlimitNum":null,"showproductLimitBuyId":null,"showalreadyBuyNum":null,"showtakeEffectRange":null,"limitBuySign":0}],"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"useLimitStart":"0.0000","lineNumberOrg":1,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"takeEffectRange":null,"limitBuySign":0,"overdueSign":0,"sxPrice":null,"invalidStr":null,"submitTime":"2023-09-25T03:19:45.000+0000","manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"groupId":101,"groupNumber":1,"groupProductType":null,"groupCode":null,"giftSign":0,"giftProductCode":"10145928","description":"","demandCode":"16956119845312622","lineNum":1,"threeRebateBalance":null,"threeRebateMaxScale":null,"rebateTripId":null,"companyType":null,"busProductCode":null,"rebateControlSign":0,"rebateRule":"1;2;3;4","hospitalHopeDate":null,"uniqueKey":null,"activityRuleId":null,"differenceActivityUserId":null,"replaceSgin":0,"skuGroup":{},"fsGroupId":null,"demandSkuVOList":null,"companyCode":null,"demandId":null,"dataJson":null,"lineNumber":null,"freseniusPriceId":null,"groupSpitSign":0,"plusMinuKey":null,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"installedDate":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sdOutStorage":0,"lineCodeDelete":0,"showState":true,"purchaseZeroProductList":[],"giftList":[],"selectGiftArr":[]}],"demandSubItems":[{"demandId":41857,"demandParentId":39794,"demandParentCode":"s2309251100012","demandCode":"16956119845312622","customerId":130,"customerName":"北京海德锐视科技有限公司","customerCode":1000086,"loginName":"Test001","realName":"王春晖","addressNumber":19199,"mobile":"18008613535","productName":null,"productCode":null,"sellerCompanyName":"国药集团联合医疗器械有限公司","sellerCompanyCode":"00102","paymentType":0,"receiveBankName":"国药集团联合医疗器械有限公司","receiveBankAccount":"108902839271937437","paymentAmount":68.88,"productAmount":68.88,"payableAmount":68.88,"refundAmount":0,"cancelAmount":0,"discountAmount":0,"orderStatus":102,"refundStatus":null,"receiverName":"萧峰","receiverContact":"13878900987","receiverAddress":"武汉市洪山区高新大道777号","remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":0,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":1,"deleteSign":0,"firstOrderFlag":0,"demandItems":null,"demandSubItems":[{"demandSkuId":30223,"demandId":null,"distributionId":null,"companyCode":null,"demandCode":"16956119845312622","demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":"国药集团联合医疗器械有限公司","sellerCompanyCode":"00102","customerCode":1000086,"productLineCode":"DS-002","productLineName":"电商产品线","propertyStr":null,"storageType":"999","suppDist":null,"productId":9,"productName":"威尔特","productCode":"10145928","productNature":null,"brandName":null,"optionStr":"犬瘟热","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2020/12/30/a5937bce-1fd4-4219-8271-b15d0e9260ca.JPG","lineNumber":null,"price":68.88,"rebateId":91,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":68.88,"measuringUnit":"个","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"","manufacturer":"北京康思润业生物技术有限公司-黄翼","produceRegisterNum":"2134234","riskRank":null,"productClassify":null,"createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":0,"realPay":68.88,"promotionPrice":0,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":"2025-12-30","specifications":null,"lineCodeDelete":0,"sdOutStorage":0,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":"10145928","activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":"1;2;3;4","lockType":null,"lineNumberOrg":1,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":null,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":101,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":null,"taxRate":0.17,"demandSplitSign":null,"hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":{"id":null,"groupId":null,"companyCode":null,"groupProductType":null,"createTime":null,"updateTime":null,"demandSkuId":null,"demandId":null,"dataJson":null,"lineNumber":null,"freseniusPriceId":null,"groupNumber":null,"demandSkuList":null,"demandSkuVOList":null},"subList":null,"dataJson":null,"skuMergeSign":"10145928-68.88-0-0-0-68.88","freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":"","demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"sort":0,"circleArea":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":"0","rebate":false,"shipmentType":0,"isRebate":"0","hideInTable":false}],"rebateDetail":null,"rebateAmountList":null,"productLineCode":"DS-002","productLineName":"电商产品线","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":1,"taxRate":0.17,"rebateType":0,"paymentAmountWholeLine":null,"discountAmountWholeLine":null,"payableAmountWholeLine":null,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":0,"payCertUrl":null,"rebateAmount":0,"demandCance":0,"soAdd":0,"soCance":0,"orderReturn":0,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":0,"editIngStr":null,"jdeType":0,"isElectronicSeal":null,"contractAgreementNo":"test002","alesDepartmentNo":"102007","alesDepartmentName":"国联销售服务部","salesPersonNo":"12345612","salesPersonName":"宋江","customerNote":"","otherNote":"","contractAgreementCode":"36004","projectName":"进口CyberWand双导管碎石","projectCode":"16000428","regionId":null,"regionName":null,"productLineBindSign":0,"shipVia":"2","orderSource":1,"userBalance":null,"liquidCode":"01","shipmentTypeStr":"","specifications":null,"pageStart":null,"pageSize":null,"changeSgin":0,"yapei":2,"companyId":null,"userReceiveId2":null,"preemptConfig":null,"productSpec":1,"secondAuditSign":0,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":null,"rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":"2023-09-25 11:19:45","updateTimeStr":"2023-09-25 11:19:44","auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":1,"countFormula":4,"countNumber":0.13,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":0,"cancelRecords":[],"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":0,"preDisSign":0,"shareType":1,"singleRebateSign":1,"cf":false,"notice":null,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"pushJdeStatusDemandSub":[{"demandSubId":68806,"demandId":41857,"demandParentId":39794,"demandCode":"16956119845312622","demandSubCode":"16956119845312622","customerId":130,"customerName":"北京海德锐视科技有限公司","customerCode":1000086,"loginName":"Test001","realName":"王春晖","addressNumber":19199,"mobile":"18008613535","productLineCode":"DS-002","productLineName":"电商产品线","sellerCompanyName":"国药集团联合医疗器械有限公司","sellerCompanyCode":"00102","productAmount":68.88,"cancelAmount":0,"payableAmount":0,"discountAmount":0,"receiverName":"萧峰","receiverContact":"13878900987","receiverAddress":"武汉市洪山区高新大道777号","remark":null,"pushJdeStatus":null,"submitTime":"2023-09-25T03:19:45.000+0000","pushJdeTime":null,"successTime":null,"deleteSign":null,"taxRate":0.17,"singleRebateAmount":null,"rebateType":0,"isRebateEdit":0,"discountRate":null,"changeType":null,"payCertUrl":null,"rebateAmount":0,"demandCance":0,"soAdd":0,"soCance":0,"orderReturn":0,"needCustomerConfirm":false,"isEdit":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"jdeType":0,"shipVia":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"orderSource":1,"regionId":null,"regionName":null,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"addressNoNote":19199,"rebateValidity":null,"liquidCode":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":0,"snSgin":0,"totalAllPaAmount":null,"jdeOutAmount":null,"diffShowSgin":0,"changeSgin":0,"yapei":2,"acrossMainCode":"ac16956119842688937","sdCancelTime":null,"sdTipSign":0,"customerCharge":8,"isElectronicSeal":null,"userReceiveId2":null,"inventoryNode":null,"customCode":null,"terminalSource":1,"confirmReceiptSign":null,"confirmReceiptTime":null,"deliveryCompletedTime":null,"taxSign":0,"delay":null,"rebateControlSign":0,"erpRejectTime":null,"erpHandingTime":null,"allShippingTime":null,"partShippingTime":null,"confirmTime":null,"noTaxRebateAmount":0,"newIsTax":1,"countFormula":4,"countNumber":0.13,"siteCompanyCode":null,"hospitalOrderType":null,"shipmentType":null,"distributionType":null,"isShowReate":null,"spitSgin":null,"detailIsSpit":false,"createTime":"2023-09-25T03:19:44.000+0000","updateTime":"2023-09-25T03:19:44.000+0000","paymentAmount":null,"demandSubItems":null,"sdlnty":null}],"circleGiftSign":0,"delay":0,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":"19199","detailIsSpit":false,"spitSgin":null,"distributionType":"2","rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":0,"snSgin":0,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":0,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":"2","afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":"ac16956119842688937","forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":8,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":1,"potentialClientsId":null,"settlementStatus":"000","firstOrderAuditStatus":null,"confirmReceiptSign":"0","confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":0,"spitOrderSign":1,"edit":false,"productAmountWholeLine":null,"auditCompanyName":null,"auditCompanyNameCode":null,"serialNumber":1,"lockHover":false,"shipmentType":0,"activityAmount":0,"couponAmount":0}],"rebateDetail":null,"rebateAmountList":null,"productLineCode":"DS-002","productLineName":"电商产品线","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":1,"taxRate":0.17,"rebateType":0,"paymentAmountWholeLine":null,"discountAmountWholeLine":null,"payableAmountWholeLine":null,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":0,"payCertUrl":null,"rebateAmount":0,"demandCance":0,"soAdd":0,"soCance":0,"orderReturn":0,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":0,"editIngStr":null,"jdeType":0,"isElectronicSeal":0,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":0,"shipVia":1,"orderSource":1,"userBalance":null,"liquidCode":null,"shipmentTypeStr":"","specifications":null,"pageStart":null,"pageSize":null,"changeSgin":0,"yapei":2,"companyId":null,"userReceiveId2":null,"preemptConfig":null,"productSpec":1,"secondAuditSign":0,"secondAuditById":"","secondAuditByName":"","secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":null,"rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":"2023-09-25 11:19:45","updateTimeStr":"2023-09-25 11:19:44","auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":1,"countFormula":4,"countNumber":0.13,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":0,"cancelRecords":[],"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":0,"preDisSign":0,"shareType":1,"singleRebateSign":1,"cf":false,"notice":null,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"pushJdeStatusDemandSub":[{"demandSubId":68806,"demandId":41857,"demandParentId":39794,"demandCode":"16956119845312622","demandSubCode":"16956119845312622","customerId":130,"customerName":"北京海德锐视科技有限公司","customerCode":1000086,"loginName":"Test001","realName":"王春晖","addressNumber":19199,"mobile":"18008613535","productLineCode":"DS-002","productLineName":"电商产品线","sellerCompanyName":"国药集团联合医疗器械有限公司","sellerCompanyCode":"00102","productAmount":68.88,"cancelAmount":0,"payableAmount":0,"discountAmount":0,"receiverName":"萧峰","receiverContact":"13878900987","receiverAddress":"武汉市洪山区高新大道777号","remark":null,"pushJdeStatus":null,"submitTime":"2023-09-25T03:19:45.000+0000","pushJdeTime":null,"successTime":null,"deleteSign":null,"taxRate":0.17,"singleRebateAmount":null,"rebateType":0,"isRebateEdit":0,"discountRate":null,"changeType":null,"payCertUrl":null,"rebateAmount":0,"demandCance":0,"soAdd":0,"soCance":0,"orderReturn":0,"needCustomerConfirm":false,"isEdit":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"jdeType":0,"shipVia":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"orderSource":1,"regionId":null,"regionName":null,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"addressNoNote":19199,"rebateValidity":null,"liquidCode":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":0,"snSgin":0,"totalAllPaAmount":null,"jdeOutAmount":null,"diffShowSgin":0,"changeSgin":0,"yapei":2,"acrossMainCode":"ac16956119842688937","sdCancelTime":null,"sdTipSign":0,"customerCharge":8,"isElectronicSeal":null,"userReceiveId2":null,"inventoryNode":null,"customCode":null,"terminalSource":1,"confirmReceiptSign":null,"confirmReceiptTime":null,"deliveryCompletedTime":null,"taxSign":0,"delay":null,"rebateControlSign":0,"erpRejectTime":null,"erpHandingTime":null,"allShippingTime":null,"partShippingTime":null,"confirmTime":null,"noTaxRebateAmount":0,"newIsTax":1,"countFormula":4,"countNumber":0.13,"siteCompanyCode":null,"hospitalOrderType":null,"shipmentType":null,"distributionType":null,"isShowReate":null,"spitSgin":null,"detailIsSpit":false,"createTime":"2023-09-25T03:19:44.000+0000","updateTime":"2023-09-25T03:19:44.000+0000","paymentAmount":null,"demandSubItems":null,"sdlnty":null}],"circleGiftSign":0,"delay":0,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":19199,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":0,"snSgin":0,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":0,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":"2","afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":"ac16956119842688937","forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":8,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":[{"demandSkuId":30223,"demandId":null,"distributionId":null,"companyCode":null,"demandCode":"16956119845312622","demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":"国药集团联合医疗器械有限公司","sellerCompanyCode":"00102","customerCode":1000086,"productLineCode":"DS-002","productLineName":"电商产品线","propertyStr":null,"storageType":"999","suppDist":null,"productId":9,"productName":"威尔特","productCode":"10145928","productNature":null,"brandName":null,"optionStr":"犬瘟热","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2020/12/30/a5937bce-1fd4-4219-8271-b15d0e9260ca.JPG","lineNumber":null,"price":68.88,"rebateId":91,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":68.88,"measuringUnit":"个","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"","manufacturer":"北京康思润业生物技术有限公司-黄翼","produceRegisterNum":"2134234","riskRank":null,"productClassify":null,"createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":0,"realPay":68.88,"promotionPrice":0,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":"2025-12-30","specifications":null,"lineCodeDelete":0,"sdOutStorage":0,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":"10145928","activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":"1;2;3;4","lockType":null,"lineNumberOrg":1,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":null,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":101,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":null,"taxRate":0.17,"demandSplitSign":null,"hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":{"id":null,"groupId":null,"companyCode":null,"groupProductType":null,"createTime":null,"updateTime":null,"demandSkuId":null,"demandId":null,"dataJson":null,"lineNumber":null,"freseniusPriceId":null,"groupNumber":null,"demandSkuList":null,"demandSkuVOList":null},"subList":null,"dataJson":null,"skuMergeSign":"10145928-68.88-0-0-0-68.88","freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":"","demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"sort":0,"circleArea":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":"0","rebate":false,"shipmentType":0,"isRebate":"0","hideInTable":false}],"inventoryNode":null,"customCode":null,"terminalSource":1,"potentialClientsId":null,"settlementStatus":"000","firstOrderAuditStatus":null,"confirmReceiptSign":"0","confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":0,"spitOrderSign":1,"edit":false,"productAmountWholeLine":null,"auditCompanyName":null,"auditCompanyNameCode":null,"serialNumber":1,"lockHover":false}
"payload60":
#预期结果
checkDict60: {"success":true,"code":"200","message":null,"data":[],"freshToken":null}
......@@ -108,9 +122,25 @@ checkDict60: {"success":true,"code":"200","message":null,"data":[],"freshToken":
#二审操作验证
#测试场景一:二审通过
#二审列表
"url80": "/order/public/secondAuditList"
"payload80": {"demandParentCode":"","pageStart":1,"pageSize":10,"secondAuditStatus":0,"auditByName":"","customerName":"","demandCode":"","secondAuditByName":"","startTime":null,"endTime":null}
#预期结果
checkDict80: {"success":true,"code":"200","message":"OK"}
#二审通过操作
"url81": "/order/back/secondAuditDemand"
"payload81": {"demandId":"%s","demandCode":"%s","secondAuditRemark":"二审审核测试"}
#预期结果
checkDict81: {"success":true,"code":"200","message":"请求成功","data":null,"freshToken":null}
#二审拒绝操作
"url82": "/order/back/refuseSecondDemand"
"payload82": {"demandId":"%s","demandCode":"%s","secondAuditRemark":"二审审核测试"}
#预期结果
checkDict82: {"success":true,"code":"200","message":"OK","data":1,"freshToken":null}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment