${printing_packaging_factory_shortname} Set Variable autotest_shortname
${printing_packaging_factory_uniformsocialcreditcode} Set Variable autotest_91440101MA59F2J10M
${printing_packaging_factory_locdetail} Set Variable autotest_printing_packaging_factory_locdetail
${printing_packaging_factory_legalpersonname} Set Variable autotest_legalperson
${printing_packaging_factory_legalpersonidcardno} Set Variable autotest_legalpersonidcardno
${printing_packaging_factory_locprovinceid} Set Variable 440000
${printing_packaging_factory_loccityid} Set Variable 440100
${printing_packaging_factory_locdistrictid} Set Variable 440106
${printing_packaging_factory_locstreetid} Set Variable 440106003
${printing_packaging_factory_locprovincename} Set Variable 广东省
${printing_packaging_factory_loccityname} Set Variable 广州市
${printing_packaging_factory_locdistrictname} Set Variable 天河区
${printing_packaging_factory_locstreetname} Set Variable 车陂街道
${body} Set Variable {"name":"${printing_packaging_factory_name}","type":${printing_packaging_factory_type},"shortName":"${printing_packaging_factory_shortname}","uniformSocialCreditCode":"${printing_packaging_factory_uniformsocialcreditcode}","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_legalpersonidcardno}","locProvinceId":${printing_packaging_factory_locprovinceid},"locCityId":${printing_packaging_factory_loccityid},"locDistrictId":${printing_packaging_factory_locdistrictid},"locStreetId":${printing_packaging_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityName":"${printing_packaging_factory_loccityname}","locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_locstreetname}"}
${body} Set Variable {"name":"${printing_packaging_factory_name}","type":${printing_packaging_factory_type},"shortName":"${printing_packaging_factory_shortname}","uniformSocialCreditCode":"${printing_packaging_factory_uniformsocialcreditcode}","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_legalpersonidcardno}","locProvinceId":${printing_packaging_factory_locprovinceid},"locCityId":${printing_packaging_factory_loccityid},"locDistrictId":${printing_packaging_factory_locdistrictid},"locStreetId":${printing_packaging_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityName":"${printing_packaging_factory_loccityname}","locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_locstreetname}"}
Set Global Variable ${printing_packaging_factory_name}
Set Suite Variable ${printing_packaging_factory_shortname}
Set Global Variable ${printing_packaging_factory_legalpersonname}
Set Global Variable ${printing_packaging_factory_legalpersonidcardno}
${response} POST On Session yytops /cloud-print-user-center/admin/save/enterprise ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/save/enterprise ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
# ${printing_packaging_factory_shortname} Set Variable autotest_shortname
# ${printing_packaging_factory_uniformsocialcreditcode} Set Variable autotest_91440101MA59F2J10M
# ${printing_packaging_factory_locdetail} Set Variable autotest_printing_packaging_factory_locdetail
# ${printing_packaging_factory_legalpersonname} Set Variable autotest_legalperson
# ${printing_packaging_factory_legalpersonidcardno} Set Variable autotest_legalpersonidcardno
# ${printing_packaging_factory_locprovinceid} Set Variable 440000
# ${printing_packaging_factory_loccityid} Set Variable 440100
# ${printing_packaging_factory_locdistrictid} Set Variable 440106
# ${printing_packaging_factory_locstreetid} Set Variable 440106003
# ${printing_packaging_factory_locprovincename} Set Variable 广东省
# ${printing_packaging_factory_loccityname} Set Variable 广州市
# ${printing_packaging_factory_locdistrictname} Set Variable 天河区
# ${printing_packaging_factory_locstreetname} Set Variable 车陂街道
# ${printing_packaging_factory_legalpersonmobile} Set Variable 13800138000
# ${printing_packaging_factory_businessLicense} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
# ${printing_packaging_factory_legalPersonIdCardBack} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
# ${printing_packaging_factory_legalPersonIdCardFront} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
# ${body} Set Variable {"id":"${printing_packaging_factory_id}","enterpriseId":"${printing_packaging_factory_id}","status":0,"legalPersonIdCardFrontImg":"${printing_packaging_factory_legalPersonIdCardFront}","legalPersonIdCardFrontImgs":["${printing_packaging_factory_legalPersonIdCardFront}"],"legalPersonIdCardBackImg":"${printing_packaging_factory_legalPersonIdCardBack}","legalPersonIdCardBackImgs":["${printing_packaging_factory_legalPersonIdCardBack}"],"businessLicenseImg":"${printing_packaging_factory_businessLicense}","businessLicenseImgs":["${printing_packaging_factory_businessLicense}"],"legalPersonMobile":"${printing_packaging_factory_legalpersonmobile}","registeredCapital":999,"name":"${printing_packaging_factory_name}","type":${printing_packaging_factory_type},"shortName":"${printing_packaging_factory_shortname}","uniformSocialCreditCode":"${printing_packaging_factory_uniformsocialcreditcode}","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_legalpersonidcardno}","locProvinceId":${printing_packaging_factory_locprovinceid},"locCityId":${printing_packaging_factory_loccityid},"locDistrictId":${printing_packaging_factory_locdistrictid},"locStreetId":${printing_packaging_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityName":"${printing_packaging_factory_loccityname}","locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_locstreetname}"}
# ${response} POST On Session uecops /uec/admin/save/enterprise2 ${body.encode("utf8")}
# log ${response.json()}
# Should Be Equal As Numbers 200 ${response.status_code}
# Should Be Equal As Strings successful ${response.json()["message"]}
${printing_packaging_factory_shortname} Set Variable autotest_shortname
${printing_packaging_factory_uniformsocialcreditcode} Set Variable autotest_91440101MA59F2J10M
${printing_packaging_factory_locdetail} Set Variable autotest_printing_packaging_factory_locdetail
${printing_packaging_factory_legalpersonname} Set Variable autotest_legalperson
${printing_packaging_factory_legalpersonidcardno} Set Variable autotest_legalpersonidcardno
${printing_packaging_factory_locprovinceid} Set Variable 440000
${printing_packaging_factory_loccityid} Set Variable 440100
${printing_packaging_factory_locdistrictid} Set Variable 440106
${printing_packaging_factory_locstreetid} Set Variable 440106003
${printing_packaging_factory_locprovincename} Set Variable 广东省
${printing_packaging_factory_loccityname} Set Variable 广州市
${printing_packaging_factory_locdistrictname} Set Variable 天河区
${printing_packaging_factory_locstreetname} Set Variable 车陂街道
${printing_packaging_factory_legalpersonmobile} Set Variable 13800138000
${printing_packaging_factory_businessLicense} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${printing_packaging_factory_legalPersonIdCardBack} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${printing_packaging_factory_legalPersonIdCardFront} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","id":"${printing_packaging_factory_id}","createTime":"${current_date_second}","updateTime":"${current_date_second}","name":"${printing_packaging_factory_name}","uniformSocialCreditCode":"${printing_packaging_factory_uniformsocialcreditcode}","locProvinceId":${printing_packaging_factory_locprovinceid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityId":${printing_packaging_factory_loccityid},"locCityName":"${printing_packaging_factory_loccityname}","locDistrictId":${printing_packaging_factory_locdistrictid},"locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetId":${printing_packaging_factory_locstreetid},"locStreetName":"${printing_packaging_factory_locstreetname}","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_legalpersonidcardno}","legalPersonMobile":"${printing_packaging_factory_legalpersonmobile}","type":${printing_packaging_factory_type},"shortName":"${printing_packaging_factory_shortname}","registeredCapital":999,"incomeInPastTwoYears":100,"regAddrLongitude":null,"regAddrLatitude":null,"birthday":"${current_date}","cooperationTime":"${current_date_month}","legalPersonIdCardFrontImg":"${printing_packaging_factory_legalPersonIdCardFront}","legalPersonIdCardBackImg":null,"businessLicenseImg":"${printing_packaging_factory_businessLicense}"}
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","id":"${printing_packaging_factory_id}","createTime":"${current_date_second}","updateTime":"${current_date_second}","name":"${printing_packaging_factory_base_info_name}","uniformSocialCreditCode":"${printing_packaging_factory_base_info_uniformsocialcreditcode}","locProvinceId":${printing_packaging_factory_base_info_locprovinceid},"locProvinceName":"${printing_packaging_factory_base_info_locprovincename}","locCityId":${printing_packaging_factory_base_info_loccityid},"locCityName":"${printing_packaging_factory_base_info_loccityname}","locDistrictId":${printing_packaging_factory_base_info_locdistrictid},"locDistrictName":"${printing_packaging_factory_base_info_locdistrictname}","locStreetId":${printing_packaging_factory_base_info_locstreetid},"locStreetName":"${printing_packaging_factory_base_info_locstreetname}","locDetail":"${printing_packaging_factory_base_info_locdetail}","legalPersonName":"${printing_packaging_factory_base_info_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_base_info_legalpersonidcardno}","legalPersonMobile":"${printing_packaging_factory_base_info_legalpersonmobile}","type":${printing_packaging_factory_base_info_type},"shortName":"${printing_packaging_factory_base_info_shortname}","registeredCapital":999,"incomeInPastTwoYears":100,"regAddrLongitude":null,"regAddrLatitude":null,"birthday":"${current_date}","cooperationTime":"${current_date_month}","legalPersonIdCardFrontImg":"${printing_packaging_factory_base_info_legalPersonIdCardFront}","legalPersonIdCardBackImg":"${printing_packaging_factory_base_info_legalPersonIdCardBack}","businessLicenseImg":"${printing_packaging_factory_base_info_businessLicense}"}
${response} POST On Session yytops /cloud-print-user-center/admin/save/packaging-printing-mill/base-info ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/save/packaging-printing-mill/base-info ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${printing_packaging_factory_locdetail} Set Variable autotest_printing_packaging_factory_locdetail
${printing_packaging_factory_locprovinceid} Set Variable 440000
${printing_packaging_factory_loccityid} Set Variable 440100
${printing_packaging_factory_locdistrictid} Set Variable 440106
${printing_packaging_factory_locstreetid} Set Variable 440106003
${printing_packaging_factory_locprovincename} Set Variable 广东省
${printing_packaging_factory_loccityname} Set Variable 广州市
${printing_packaging_factory_locdistrictname} Set Variable 天河区
${printing_packaging_factory_locstreetname} Set Variable 车陂街道
${printing_packaging_factory_factoryphotos} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${printing_packaging_factory_leasecontract} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${printing_packaging_factory_mainproducts} Set Variable autotest_mainproducts
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","leaseContractImg":"${printing_packaging_factory_leasecontract}","factoryPhotos":"${printing_packaging_factory_factoryphotos}","mainProducts":"${printing_packaging_factory_mainproducts}","businessAnnualVolume":"9990000","locLatitude":"23.119958","locLongitude":"113.406448","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","locProvinceId":${printing_packaging_factory_locprovinceid},"locCityId":${printing_packaging_factory_loccityid},"locDistrictId":${printing_packaging_factory_locdistrictid},"locStreetId":${printing_packaging_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityName":"${printing_packaging_factory_loccityname}","locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_locstreetname}"}
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","leaseContractImg":"${printing_packaging_factory_factory_leasecontract}","factoryPhotos":"${printing_packaging_factory_factory_factoryphotos}","mainProducts":"${printing_packaging_factory_factory_mainproducts}","businessAnnualVolume":"9990000","locLatitude":"23.119958","locLongitude":"113.406448","locDetail":"${printing_packaging_factory_factory_locdetail}","locProvinceId":${printing_packaging_factory_factory_locprovinceid},"locCityId":${printing_packaging_factory_factory_loccityid},"locDistrictId":${printing_packaging_factory_factory_locdistrictid},"locStreetId":${printing_packaging_factory_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_factory_locprovincename}","locCityName":"${printing_packaging_factory_factory_loccityname}","locDistrictName":"${printing_packaging_factory_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_factory_locstreetname}"}
${response} POST On Session yytops /cloud-print-user-center/admin/save/factory ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/save/factory ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${printing_packaging_factory_detail} Set Variable autotest_printing_packaging_factory_locdetail
${printing_packaging_factory_provinceid} Set Variable 440000
${printing_packaging_factory_cityid} Set Variable 440100
${printing_packaging_factory_districtid} Set Variable 440106
${printing_packaging_factory_streetid} Set Variable 440106003
${printing_packaging_factory_provincename} Set Variable 广东省
${printing_packaging_factory_cityname} Set Variable 广州市
${printing_packaging_factory_districtname} Set Variable 天河区
${printing_packaging_factory_streetname} Set Variable 车陂街道
${printing_packaging_factory_receiver} Set Variable autotest_receiver
${printing_packaging_factory_receivermobile} Set Variable 13800138000
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","receiverMobile":"${printing_packaging_factory_receivermobile}","receiver":"${printing_packaging_factory_receiver}","receiveEnterpriseName":"${printing_packaging_factory_name}","enterpriseShippingAddressList":[{"detail":"${printing_packaging_factory_detail}","provinceId":${printing_packaging_factory_provinceid},"cityId":${printing_packaging_factory_cityid},"districtId":${printing_packaging_factory_districtid},"streetId":${printing_packaging_factory_streetid},"provinceName":"${printing_packaging_factory_provincename}","cityName":"${printing_packaging_factory_cityname}","districtName":"${printing_packaging_factory_districtname}","streetName":"${printing_packaging_factory_streetname}"}]}
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","receiverMobile":"${printing_packaging_factory_shipping_addresses_receivermobile}","receiver":"${printing_packaging_factory_shipping_addresses_receiver}","receiveEnterpriseName":"${printing_packaging_factory_name}","enterpriseShippingAddressList":[{"detail":"${printing_packaging_factory_shipping_addresses_detail}","provinceId":${printing_packaging_factory_shipping_addresses_provinceid},"cityId":${printing_packaging_factory_shipping_addresses_cityid},"districtId":${printing_packaging_factory_shipping_addresses_districtid},"streetId":${printing_packaging_factory_shipping_addresses_streetid},"provinceName":"${printing_packaging_factory_shipping_addresses_provincename}","cityName":"${printing_packaging_factory_shipping_addresses_cityname}","districtName":"${printing_packaging_factory_shipping_addresses_districtname}","streetName":"${printing_packaging_factory_shipping_addresses_streetname}"}]}
${response} POST On Session uecops /uec/admin/save/enterprise-shipping-addresses ${body.encode("utf8")}
${response} POST On Session uecops /uec/admin/save/enterprise-shipping-addresses ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","deposit":990000,"earnest":900000,"totalUsed":90000}
#${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","deposit":990000,"earnest":900000,"totalUsed":90000}
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","deposit":${printing_packaging_factory_scrappaper_credit_deposit},"earnest":${printing_packaging_factory_scrappaper_credit_earnest},"totalUsed":${printing_packaging_factory_scrappaper_credit_totalUsed}}
${response} POST On Session yytops /cloud-print-user-center/admin/save/enterprise-scrap-paper-credit ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/save/enterprise-scrap-paper-credit ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${printing_packaging_factory_cardholdername} Set Variable autotest_name
${printing_packaging_factory_bankcardnumber} Set Variable autotest_bankcardnumber
${printing_packaging_factory_openingbank} Set Variable autotest_openingbank
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","list":[{"cardholderName":"${printing_packaging_factory_cardholdername}","bankCardNumber":"${printing_packaging_factory_bankcardnumber}","openingBank":"${printing_packaging_factory_openingbank}"}]}
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","list":[{"cardholderName":"${printing_packaging_factory_private_account_cardholdername}","bankCardNumber":"${printing_packaging_factory_private_account_bankcardnumber}","openingBank":"${printing_packaging_factory_private_account_openingbank}"}]}
${response} POST On Session uecops /uec/admin/save/enterprise/private-account ${body.encode("utf8")}
${response} POST On Session uecops /uec/admin/save/enterprise/private-account ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${printing_packaging_factory_type} Set Variable 1 #类型 1千纸鹤 2新希望
${printing_packaging_factory_accountid} Set Variable autotest_accountid
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","enterprisePaperExternalSettlementAccountList":[{"type":"${printing_packaging_factory_type}","accountId":"${printing_packaging_factory_accountid}","balance":990000,"total":990000}]}
${printing_packaging_factory_papereexternal_settlement_accounts_type} Set Variable 1 #类型 1千纸鹤 2新希望
${printing_packaging_factory_papereexternal_settlement_accounts_accountid} Set Variable autotest_accountid
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","enterprisePaperExternalSettlementAccountList":[{"type":"${printing_packaging_factory_papereexternal_settlement_accounts_type}","accountId":"${printing_packaging_factory_papereexternal_settlement_accounts_accountid}","balance":990000,"total":990000}]}
${response} POST On Session yytops /cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${printing_packaging_factory_administrator_realname} Set Variable autotest_name_customer
${printing_packaging_factory_administrator_title} Set Variable autotest_job_customer
${printing_packaging_factory_administrator_mobile} Set Variable 13012345678
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","realName":"${printing_packaging_factory_administrator_realname}","title":"${printing_packaging_factory_administrator_title}","mobile":"${printing_packaging_factory_administrator_mobile}"}
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","realName":"${printing_packaging_factory_administrator_realname}","title":"${printing_packaging_factory_administrator_title}","mobile":"${printing_packaging_factory_administrator_mobile}"}
${response} POST On Session yytops /cloud-print-user-center/admin/add/enterprise-administrator ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/add/enterprise-administrator ${body.encode("utf8")}
Set Suite Variable ${printing_packaging_factory_administrator_mobile}
Set Suite Variable ${printing_packaging_factory_administrator_mobile}
${printing_packaging_factory_position} Set Variable ADMINISTRATOR #角色 ADMINISTRATOR管理员 PRIMARY企业主 ORDINARY普通员工
${printing_packaging_factory_realname} Set Variable autotest_employee
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","position":"${printing_packaging_factory_position}","realName":"${printing_packaging_factory_realname}"}
${body} Set Variable {"enterpriseId":"${printing_packaging_factory_id}","position":"${printing_packaging_factory_employee_position}","realName":"${printing_packaging_factory_employee_realname}"}
${response} POST On Session uecops /uec/admin/add/employee ${body.encode("utf8")}
${response} POST On Session uecops /uec/admin/add/employee ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${virtual_supplier_name} Set Variable autotest_supplier_paper_name
${virtual_supplier_shortName} Set Variable autotest_supplier_shortName
${virtual_supplier_details} Set Variable autotest_supplier_paper_details
${virtual_supplier_contactname} Set Variable autotest_supplier_paper_contactname
${virtual_supplier_contactmoblie} Set Variable 13800138000
${virtual_supplier_provinceid} Set Variable 440000
${virtual_supplier_cityid} Set Variable 440100
${virtual_supplier_districtid} Set Variable 440106
${virtual_supplier_streetid} Set Variable 440106003
${virtual_supplier_provincename} Set Variable 广东省
${virtual_supplier_cityname} Set Variable 广州市
${virtual_supplier_districtname} Set Variable 天河区
${virtual_supplier_streetname} Set Variable 车陂街道
${body} Set Variable {"name":"${virtual_supplier_name}","shortName":"${virtual_supplier_shortName}","details":"${virtual_supplier_details}","contactName":"${virtual_supplier_contactname}","contactMoblie":"${virtual_supplier_contactmoblie}","provinceName":"${virtual_supplier_provincename}","cityName":"${virtual_supplier_cityname}","districtName":"${virtual_supplier_districtname}","streetName":"${virtual_supplier_streetname}","provinceId":${virtual_supplier_provinceid},"cityId":${virtual_supplier_cityid},"districtId":${virtual_supplier_districtid},"streetId":${virtual_supplier_streetid}}
${body} Set Variable {"name":"${virtual_supplier_name}","shortName":"${virtual_supplier_shortName}","details":"${virtual_supplier_details}","contactName":"${virtual_supplier_contactname}","contactMoblie":"${virtual_supplier_contactmoblie}","provinceName":"${virtual_supplier_provincename}","cityName":"${virtual_supplier_cityname}","districtName":"${virtual_supplier_districtname}","streetName":"${virtual_supplier_streetname}","provinceId":${virtual_supplier_provinceid},"cityId":${virtual_supplier_cityid},"districtId":${virtual_supplier_districtid},"streetId":${virtual_supplier_streetid}}
Set Suite Variable ${virtual_supplier_name}
Set Suite Variable ${virtual_supplier_name}
${response} POST On Session yytops /cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save ${body.encode("utf8")}
${supplier_paper_locProvinceId} Set Variable 440000
${supplier_paper_locCityId} Set Variable 440100
${supplier_paper_locDistrictId} Set Variable 440106
${supplier_paper_locStreetId} Set Variable 440106003
${supplier_paper_locDetail} Set Variable autotest_supplier_paper_details
${supplier_paper_legalPersonIdCardFrontImg} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${supplier_paper_legalPersonIdCardBackImg} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${supplier_paper_businessLicenseImg} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${supplier_paper_contactsname} Set Variable autotest_contactsname
${supplier_paper_mobilePhone} Set Variable autotest_mobilePhone
${supplier_paper_telephone} Set Variable autotest_telephone
${supplier_paper_email} Set Variable autotest_email
${supplier_paper_wechatAccount} Set Variable autotest_wechatAccount
${supplier_paper_remark} Set Variable autotest_remark
${supplier_paper_bankAccountName} Set Variable autotest_bankAccountName
${supplier_paper_bankAccount} Set Variable autotest_bankAccount
${supplier_paper_bankName} Set Variable autotest_bankName
${supplier_paper_accountOpeningBranch} Set Variable autotest_accountOpeningBranch
${supplier_paper_locationBank} Set Variable autotest_locationBank
${body} Set Variable {"supplierId":"${supplier_paper_id}","enterprise":{"name":"${supplier_paper_name}","locDetail":"${supplier_paper_locDetail}","type":${supplier_paper_type},"uniformSocialCreditCode":"${supplier_paper_uniformSocialCreditCode}","legalPersonIdCardNo":"${supplier_paper_legalPersonIdCardNo}","legalPersonName":"${supplier_paper_legalPersonName}","paperSettlementIntervalTypeId":"${supplier_paper_paperSettlementIntervalTypeId}","locProvinceId":${supplier_paper_locProvinceId},"locCityId":${supplier_paper_locCityId},"locDistrictId":${supplier_paper_locDistrictId},"locStreetId":${supplier_paper_locStreetId},"legalPersonIdCardFrontImg":"${supplier_paper_legalPersonIdCardFrontImg}","legalPersonIdCardBackImg":"${supplier_paper_legalPersonIdCardBackImg}","businessLicenseImg":"${supplier_paper_businessLicenseImg}"},"enterpriseContacts":{"name":"${supplier_paper_contactsname}","mobilePhone":"${supplier_paper_mobilePhone}","telephone":"${supplier_paper_telephone}","email":"${supplier_paper_email}","wechatAccount":"${supplier_paper_wechatAccount}","remark":"${supplier_paper_remark}"},"enterpriseCorporateAccount":{"bankAccountName":"${supplier_paper_bankAccountName}","bankAccount":"${supplier_paper_bankAccount}","bankName":"${supplier_paper_bankName}","accountOpeningBranch":"${supplier_paper_accountOpeningBranch}","locationBank":"${supplier_paper_locationBank}"}}
${body} Set Variable {"supplierId":"${supplier_paper_id}","enterprise":{"name":"${supplier_paper_name}","locDetail":"${supplier_paper_locDetail}","type":${supplier_paper_type},"uniformSocialCreditCode":"${supplier_paper_uniformSocialCreditCode}","legalPersonIdCardNo":"${supplier_paper_legalPersonIdCardNo}","legalPersonName":"${supplier_paper_legalPersonName}","paperSettlementIntervalTypeId":"${supplier_paper_paperSettlementIntervalTypeId}","locProvinceId":${supplier_paper_locProvinceId},"locCityId":${supplier_paper_locCityId},"locDistrictId":${supplier_paper_locDistrictId},"locStreetId":${supplier_paper_locStreetId},"legalPersonIdCardFrontImg":"${supplier_paper_legalPersonIdCardFrontImg}","legalPersonIdCardBackImg":"${supplier_paper_legalPersonIdCardBackImg}","businessLicenseImg":"${supplier_paper_businessLicenseImg}"},"enterpriseContacts":{"name":"${supplier_paper_contactsname}","mobilePhone":"${supplier_paper_mobilePhone}","telephone":"${supplier_paper_telephone}","email":"${supplier_paper_email}","wechatAccount":"${supplier_paper_wechatAccount}","remark":"${supplier_paper_remark}"},"enterpriseCorporateAccount":{"bankAccountName":"${supplier_paper_bankAccountName}","bankAccount":"${supplier_paper_bankAccount}","bankName":"${supplier_paper_bankName}","accountOpeningBranch":"${supplier_paper_accountOpeningBranch}","locationBank":"${supplier_paper_locationBank}"}}
${response} POST On Session yytops /cloud-print-user-center/admin/create/enterprise/with/supplier ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/create/enterprise/with/supplier ${body.encode("utf8")}
${supplier_paper_locProvinceId} Set Variable 440000
${supplier_paper_locCityId} Set Variable 440100
${supplier_paper_locDistrictId} Set Variable 440106
${supplier_paper_locStreetId} Set Variable 440106003
${supplier_paper_locprovincename} Set Variable 广东省
${supplier_paper_loccityname} Set Variable 广州市
${supplier_paper_locdistrictname} Set Variable 天河区
${supplier_paper_locstreetname} Set Variable 车陂街道
${supplier_paper_locDetail} Set Variable autotest_supplier_paper_details
${supplier_paper_legalPersonIdCardFrontImg} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${supplier_paper_legalPersonIdCardBackImg} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${supplier_paper_businessLicenseImg} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${body} Set Variable {"id":"${supplier_enterprise_id}","createTime":null,"updateTime":"${current_date_second}","name":"${supplier_paper_name}","shortName":"${supplier_paper_shortName}","receiptRequirement":null,"legalPersonName":"${supplier_paper_legalPersonName}","legalPersonIdCardNo":"${supplier_paper_legalPersonIdCardNo}","legalPersonMobile":"${supplier_paper_legalPersonMobile}","type":${supplier_paper_type},"registeredCapital":999,"regAddrLongitude":null,"regAddrLatitude":null,"supplierId":null,"annualTurnover":100,"uniformSocialCreditCode":"${supplier_paper_uniformSocialCreditCode}","locProvinceId":${supplier_paper_locProvinceId},"locProvinceName":"${supplier_paper_locprovincename}","locCityId":${supplier_paper_locCityId},"locCityName":"${supplier_paper_loccityname}","locDistrictId":${supplier_paper_locDistrictId},"locDistrictName":"${supplier_paper_locdistrictname}","locStreetId":${supplier_paper_locStreetId},"locStreetName":"${supplier_paper_locstreetname}","locDetail":"${supplier_paper_locDetail}","businessLicenseImg":"${supplier_paper_businessLicenseImg}","legalPersonIdCardFrontImg":"${supplier_paper_legalPersonIdCardFrontImg}","legalPersonIdCardBackImg":"${supplier_paper_legalPersonIdCardBackImg}"}
${body} Set Variable {"id":"${supplier_enterprise_id}","createTime":null,"updateTime":"${current_date_second}","name":"${supplier_paper_base_info_name}","shortName":"${supplier_paper_base_info_shortName}","receiptRequirement":null,"legalPersonName":"${supplier_paper_base_info_legalPersonName}","legalPersonIdCardNo":"${supplier_paper_base_info_legalPersonIdCardNo}","legalPersonMobile":"${supplier_paper_base_info_legalPersonMobile}","type":${supplier_paper_base_info_type},"registeredCapital":999,"regAddrLongitude":null,"regAddrLatitude":null,"supplierId":null,"annualTurnover":100,"uniformSocialCreditCode":"${supplier_paper_base_info_uniformSocialCreditCode}","locProvinceId":${supplier_paper_base_info_locProvinceId},"locProvinceName":"${supplier_paper_base_info_locprovincename}","locCityId":${supplier_paper_base_info_locCityId},"locCityName":"${supplier_paper_base_info_loccityname}","locDistrictId":${supplier_paper_base_info_locDistrictId},"locDistrictName":"${supplier_paper_base_info_locdistrictname}","locStreetId":${supplier_paper_base_info_locStreetId},"locStreetName":"${supplier_paper_base_info_locstreetname}","locDetail":"${supplier_paper_base_info_locDetail}","businessLicenseImg":"${supplier_paper_base_info_businessLicenseImg}","legalPersonIdCardFrontImg":"${supplier_paper_base_info_legalPersonIdCardFrontImg}","legalPersonIdCardBackImg":"${supplier_paper_base_info_legalPersonIdCardBackImg}"}
${response} POST On Session yytops /cloud-print-user-center/admin/save/supplier/base-info ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/save/supplier/base-info ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${supplier_factory_locProvinceId} Set Variable 440000
${supplier_factory_locCityId} Set Variable 440100
${supplier_factory_locDistrictId} Set Variable 440106
${supplier_factory_locStreetId} Set Variable 440106003
${supplier_factory_locprovincename} Set Variable 广东省
${supplier_factory_loccityname} Set Variable 广州市
${supplier_factory_locdistrictname} Set Variable 天河区
${supplier_factory_locstreetname} Set Variable 车陂街道
${supplier_factory_locDetail} Set Variable autotest_supplier_factory_details
${supplier_factory_leaseContractImg} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${supplier_factory_factoryPhotos} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${body} Set Variable {"enterpriseId":"${supplier_enterprise_id}","factoryList":[{"locProvinceName":"${supplier_factory_locprovincename}","locCityName":"${supplier_factory_loccityname}","locDistrictName":"${supplier_factory_locdistrictname}","locStreetName":"${supplier_factory_locstreetname}","locDetail":"${supplier_factory_locDetail}","locProvinceId":${supplier_factory_locProvinceId},"locCityId":${supplier_factory_locCityId},"locDistrictId":${supplier_factory_locDistrictId},"locStreetId":${supplier_factory_locStreetId},"leaseContractImg":"${supplier_factory_leaseContractImg}","factoryPhotos":"${supplier_factory_factoryPhotos}"}]}
${body} Set Variable {"enterpriseId":"${supplier_enterprise_id}","factoryList":[{"locProvinceName":"${supplier_factory_locprovincename}","locCityName":"${supplier_factory_loccityname}","locDistrictName":"${supplier_factory_locdistrictname}","locStreetName":"${supplier_factory_locstreetname}","locDetail":"${supplier_factory_locDetail}","locProvinceId":${supplier_factory_locProvinceId},"locCityId":${supplier_factory_locCityId},"locDistrictId":${supplier_factory_locDistrictId},"locStreetId":${supplier_factory_locStreetId},"leaseContractImg":"${supplier_factory_leaseContractImg}","factoryPhotos":"${supplier_factory_factoryPhotos}"}]}
${response} POST On Session yytops /cloud-print-user-center/admin/save/factory-list ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/save/factory-list ${body.encode("utf8")}
${supplier_enterprise_administrator_realname} Set Variable autotest_name_supplier
${supplier_enterprise_administrator_mobile} Set Variable 13123456789
${supplier_enterprise_administrator_position} Set Variable ADMINISTRATOR #角色 ADMINISTRATOR管理员 ORDINARY普通员工
${body} Set Variable {"enterpriseId":"${supplier_enterprise_id}","realName":"${supplier_enterprise_administrator_realname}","mobile":${supplier_enterprise_administrator_mobile},"position":"${supplier_enterprise_administrator_position}"}
${body} Set Variable {"enterpriseId":"${supplier_enterprise_id}","realName":"${supplier_enterprise_administrator_realname}","mobile":${supplier_enterprise_administrator_mobile},"position":"${supplier_enterprise_administrator_position}"}
${response} POST On Session yytops /cloud-print-user-center/admin/save/user/to/enterprise ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/save/user/to/enterprise ${body.encode("utf8")}
Set Suite Variable ${supplier_enterprise_administrator_mobile}
Set Global Variable ${supplier_enterprise_administrator_mobile}
Set Suite Variable ${supplier_enterprise_administrator_realname}
Set Suite Variable ${supplier_enterprise_administrator_realname}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${printing_packaging_factory_purpose} Set Variable 1 #授信类型 1采购原纸
${printing_packaging_factory_creditLine} Set Variable 990000
${printing_packaging_factory_paperSettlementIntervalTypeId} Set Variable 11 #结算周期 11月结30天 12月结45天 13月结60天 14月结75天 15月结90天
${printing_packaging_factory_remark} Set Variable autotest_remark
${body} Set Variable {"creditLine":${printing_packaging_factory_creditLine},"enterpriseId":"${printing_packaging_factory_id}","enterpriseName":"${printing_packaging_factory_name}","enterpriseType":${printing_packaging_factory_type},"legalpersonIdNo":"${printing_packaging_factory_legalpersonidcardno}","legalpersonMobile":null,"legalpersonName":"${printing_packaging_factory_legalpersonname}","purpose":${printing_packaging_factory_purpose},"remark":"${printing_packaging_factory_remark}","paperSettlementIntervalTypeId":"${printing_packaging_factory_paperSettlementIntervalTypeId}"}
${body} Set Variable {"creditLine":${printing_packaging_factory_credit_qniao_save_creditLine},"enterpriseId":"${printing_packaging_factory_id}","enterpriseName":"${printing_packaging_factory_name}","enterpriseType":${printing_packaging_factory_credit_qniao_save_type},"legalpersonIdNo":"${printing_packaging_factory_legalpersonidcardno}","legalpersonMobile":null,"legalpersonName":"${printing_packaging_factory_legalpersonname}","purpose":${printing_packaging_factory_credit_qniao_save_purpose},"remark":"${printing_packaging_factory_credit_qniao_save_remark}","paperSettlementIntervalTypeId":"${printing_packaging_factory_credit_qniao_save_paperSettlementIntervalTypeId}"}
${response} POST On Session yytops /cloud-print-user-center/admin/credit/application/save/application ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/credit/application/save/application ${body.encode("utf8")}
Set Suite Variable ${printing_packaging_factory_creditLine}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Strings successful ${response.json()["message"]}
Should Be Equal As Strings successful ${response.json()["message"]}
${printing_packaging_factory_purpose} Set Variable 1 #授信类型 1采购原纸
${printing_packaging_factory_creditLine} Set Variable 990000
${printing_packaging_factory_paperSettlementIntervalTypeId} Set Variable 11 #结算周期 11月结30天 12月结45天 13月结60天 14月结75天 15月结90天
${printing_packaging_factory_remark} Set Variable autotest_remark
${body} Set Variable {"id":"${printing_packaging_factory_credit_id}","creditLine":${printing_packaging_factory_creditLine},"enterpriseId":"${printing_packaging_factory_id}","enterpriseName":"${printing_packaging_factory_name}","enterpriseType":${printing_packaging_factory_type},"legalpersonIdNo":"${printing_packaging_factory_legalpersonidcardno}","legalpersonMobile":null,"legalpersonName":"${printing_packaging_factory_legalpersonname}","purpose":${printing_packaging_factory_purpose},"remark":"${printing_packaging_factory_remark}","paperSettlementIntervalTypeId":"${printing_packaging_factory_paperSettlementIntervalTypeId}"}
${body} Set Variable {"id":"${printing_packaging_factory_credit_id}","creditLine":${printing_packaging_factory_credit_qniao_edit_creditLine},"enterpriseId":"${printing_packaging_factory_id}","enterpriseName":"${printing_packaging_factory_name}","enterpriseType":${printing_packaging_factory_credit_qniao_edit_type},"legalpersonIdNo":"${printing_packaging_factory_legalpersonidcardno}","legalpersonMobile":null,"legalpersonName":"${printing_packaging_factory_legalpersonname}","purpose":${printing_packaging_factory_credit_qniao_edit_purpose},"remark":"${printing_packaging_factory_credit_qniao_edit_remark}","paperSettlementIntervalTypeId":"${printing_packaging_factory_credit_qniao_edit_paperSettlementIntervalTypeId}"}
${response} POST On Session yytops /cloud-print-user-center/admin/credit/application/update/application ${body.encode("utf8")}
${response} POST On Session yytops /cloud-print-user-center/admin/credit/application/update/application ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${body} Set Variable {"oldPassword":"","newPassword":"${customer_credit_password}","repeatPassword":"${customer_credit_password}","status":${save_creditpassword_type}}
${body} Set Variable {"oldPassword":"","newPassword":"${customer_credit_password}","repeatPassword":"${customer_credit_password}","status":${save_creditpassword_type}}
${response} POST On Session yytclient /cloud-print-user-center/credit/payment-password/save ${body.encode("utf8")}
${response} POST On Session yytclient /cloud-print-user-center/credit/payment-password/save ${body.encode("utf8")}
Set Suite Variable ${customer_credit_password}
#Set Suite Variable ${customer_credit_password}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Strings successful ${response.json()["message"]}
Should Be Equal As Strings successful ${response.json()["message"]}
${customer_credit_password_new} Set Variable 123456
${save_creditpassword_type} Set Variable 1 #操作状态 0增加密码 1修改密码
${body} Set Variable {"oldPassword":"${customer_credit_password}","newPassword":"${customer_credit_password_new}","repeatPassword":"${customer_credit_password_new}","status":${save_creditpassword_type}}
${body} Set Variable {"oldPassword":"${customer_credit_password}","newPassword":"${customer_credit_password_new}","repeatPassword":"${customer_credit_password_new}","status":${save_creditpassword_type_new}}
${response} POST On Session yytclient /cloud-print-user-center/credit/payment-password/save ${body.encode("utf8")}
${response} POST On Session yytclient /cloud-print-user-center/credit/payment-password/save ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Strings successful ${response.json()["message"]}
Should Be Equal As Strings successful ${response.json()["message"]}
Set Global Variable ${customer_credit_password_new}
${paper_categoryid} Set Variable 638458876659896320
${paper_Manufacturerid} Set Variable 638458967357526016
${paper_brand_name} Set Variable aotutest_paper_brand_name
${paper_name} Set Variable aotutest_paper_name
${paper_characteristic} Set Variable This autotest_paper_characteristic
${paper_description} Set Variable This apaper_description
${paper_brand_img} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${body} Set Variable {"categoryId":"${paper_categoryid}","paperManufacturerId":"${paper_Manufacturerid}","name":"${paper_brand_name}","paperName":"${paper_name}","characteristic":"${paper_characteristic}","description":"${paper_description}","img":"${paper_brand_img}"}
${body} Set Variable {"categoryId":"${paper_categoryid}","paperManufacturerId":"${paper_Manufacturerid}","name":"${paper_brand_name}","paperName":"${paper_name}","characteristic":"${paper_characteristic}","description":"${paper_description}","img":"${paper_brand_img}"}
Set Global Variable ${paper_brand_name}
Set Global Variable ${paper_name}
Set Global Variable ${paper_categoryid}
Set Global Variable ${paper_Manufacturerid}
Set Suite Variable ${paper_characteristic}
Set Suite Variable ${paper_description}
Set Suite Variable ${paper_brand_img}
${response} POST On Session yytclient /trading-center/save/product/brand ${body.encode("utf8")}
${response} POST On Session yytclient /trading-center/save/product/brand ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${paper_manufacturer_name} Set Variable autotest_paper_manufacturer_name
${paper_manufacturer_shortName} Set Variable apmn
${paper_manufacturer_description} Set Variable This autotest_paper_manufacturer
${paper_manufacturer_logoImg} Set Variable https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg
${body} Set Variable {"name":"${paper_manufacturer_name}","shortName":"${paper_manufacturer_shortName}","description":"${paper_manufacturer_description}","logoImg":"${paper_manufacturer_logoImg}"}
${body} Set Variable {"name":"${paper_manufacturer_name}","shortName":"${paper_manufacturer_shortName}","description":"${paper_manufacturer_description}","logoImg":"${paper_manufacturer_logoImg}"}
Set Global Variable ${paper_manufacturer_name}
Set Global Variable ${paper_manufacturer_shortName}
Set Suite Variable ${paper_manufacturer_description}
Set Suite Variable ${paper_manufacturer_logoImg}
${response} POST On Session yytclient /trading-center/save/paper-manufacturer ${body.encode("utf8")}
${response} POST On Session yytclient /trading-center/save/paper-manufacturer ${body.encode("utf8")}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${market_information_link} Set Variable http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&mid=2247483666&idx=1&sn=f63007b21094978d2f864fdd884b39dc&chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&scene=18#wechat_redirect
${body} Set Variable {"link":"${market_information_link}"}
${body} Set Variable {"link":"${market_information_link}"}
Set Suite Variable ${market_information_link}
${response} POST On Session yytops /trading-center/admin/save/market-information-link ${body.encode("utf8")}
${response} POST On Session yytops /trading-center/admin/save/market-information-link ${body.encode("utf8")}
Log ${response.json()}
Log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
${body} Set Variable {"categoryId":null,"brandName":"${paper_brand_name}","name":"${paper_name}","itemNo":"无","description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","sellingProposition":"月结30天价格,不加服务费!","setUnit":"吨","skuList":[{"id":null,"2":${gramweight},"purchasePrice":${purchasePrice}}],"categoryBrandId":"${paper_brand_id}","categoryName":"${paper_category_name}","paperMill":"${paper_manufacturer_shortName}","salesEnterpriseId":${supplier_paper_id},"supplierName":"${supplier_paper_name}"}
${body} Set Variable {"categoryId":null,"brandName":"${paper_brand_name}","name":"${paper_name}","itemNo":"无","description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","sellingProposition":"月结30天价格,不加服务费!","setUnit":"吨","skuList":[{"id":null,"2":${gramweight},"purchasePrice":${purchasePrice}}],"categoryBrandId":"${paper_brand_id}","categoryName":"${paper_category_name}","paperMill":"${paper_manufacturer_shortName}","salesEnterpriseId":${supplier_paper_id},"supplierName":"${supplier_paper_name}"}
${response} POST On Session yytclient /trading-center/save/product ${body.encode("utf8")}
${response} POST On Session yytclient /trading-center/save/product ${body.encode("utf8")}
Set Global Variable ${gramweight}
Set Global Variable ${purchasePrice}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Strings successful ${response.json()["message"]}
Should Be Equal As Strings successful ${response.json()["message"]}
${customer_enterprise_shipping_address_isDefault} Set Variable 1 #是否默认地址 0否 1是
${customer_enterprise_shipping_address_receiver} Set Variable autotest_receiver
${customer_enterprise_shipping_address_receiverMobile} Set Variable 13800138000
${customer_enterprise_shipping_address_detail} Set Variable autotest_customer_enterprise_shipping_address_detail
${customer_enterprise_shipping_address_provinceid} Set Variable 440000
${customer_enterprise_shipping_address_cityid} Set Variable 440100
${customer_enterprise_shipping_address_districtid} Set Variable 440106
${customer_enterprise_shipping_address_streetid} Set Variable 440106003
${customer_enterprise_shipping_address_provincename} Set Variable 广东省
${customer_enterprise_shipping_address_cityname} Set Variable 广州市
${customer_enterprise_shipping_address_districtname} Set Variable 天河区
${customer_enterprise_shipping_address_streetname} Set Variable 车陂街道
${body} Set Variable {"isDefault":${customer_enterprise_shipping_address_isDefault},"receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":${customer_enterprise_shipping_address_receiverMobile},"detail":"${customer_enterprise_shipping_address_detail}","provinceId":${customer_enterprise_shipping_address_provinceid},"cityId":${customer_enterprise_shipping_address_cityid},"districtId":${customer_enterprise_shipping_address_districtid},"streetId":${customer_enterprise_shipping_address_streetid},"provinceName":"${customer_enterprise_shipping_address_provincename}","cityName":"${customer_enterprise_shipping_address_cityname}","districtName":"${customer_enterprise_shipping_address_districtname}","streetName":"${customer_enterprise_shipping_address_streetname}"}
${body} Set Variable {"isDefault":${customer_enterprise_shipping_address_isDefault},"receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":${customer_enterprise_shipping_address_receiverMobile},"detail":"${customer_enterprise_shipping_address_detail}","provinceId":${customer_enterprise_shipping_address_provinceid},"cityId":${customer_enterprise_shipping_address_cityid},"districtId":${customer_enterprise_shipping_address_districtid},"streetId":${customer_enterprise_shipping_address_streetid},"provinceName":"${customer_enterprise_shipping_address_provincename}","cityName":"${customer_enterprise_shipping_address_cityname}","districtName":"${customer_enterprise_shipping_address_districtname}","streetName":"${customer_enterprise_shipping_address_streetname}"}
${response} POST On Session uecclient /uec/save/enterprise-shipping-address ${body.encode("utf-8")}
${response} POST On Session uecclient /uec/save/enterprise-shipping-address ${body.encode("utf-8")}
Set Global Variable ${customer_enterprise_shipping_address_receiver}
Set Global Variable ${customer_enterprise_shipping_address_receiverMobile}
Set Global Variable ${customer_enterprise_shipping_address_detail}
Set Global Variable ${customer_enterprise_shipping_address_provinceid}
Set Global Variable ${customer_enterprise_shipping_address_cityid}
Set Global Variable ${customer_enterprise_shipping_address_streetid}
Set Global Variable ${customer_enterprise_shipping_address_districtid}
Set Global Variable ${customer_enterprise_shipping_address_provincename}
Set Global Variable ${customer_enterprise_shipping_address_cityname}
Set Global Variable ${customer_enterprise_shipping_address_districtname}
Set Global Variable ${customer_enterprise_shipping_address_streetname}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Strings successful ${response.json()["message"]}
Should Be Equal As Strings successful ${response.json()["message"]}
${customer_create_order_buyTon} Convert To Number ${customer_create_order_buyton} 4 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${customer_create_order_buyTon} Convert To Number ${customer_create_order_buyton} 4 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${customer_create_order_Price} Convert To Number ${customer_create_order_price} 2 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${customer_create_order_Price} Convert To Number ${customer_create_order_price} 2 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${customer_create_order_bootFee} Set Variable 0
${customer_create_order_cuttingFee} Set Variable 0
${customer_create_order_freightFee} Set Variable 0
${customer_create_order_serviceFee} Set Variable 0
${customer_create_order_totalOfferPrice_item} Convert To Number ${customer_create_order_totalOfferPrice} 2 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${customer_create_order_totalOfferPrice_item} Convert To Number ${customer_create_order_totalOfferPrice} 2 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${customer_create_order_realPayPrice} Set Variable ${customer_create_order_totalOfferPrice_item}
${customer_create_order_realPayPrice} Set Variable ${customer_create_order_totalOfferPrice_item}
${customer_enquiryContent} Set Variable autotest_enquiryContent
${customer_deliveryDay} Set Variable 48
${customer_deliveryArea} Set Variable 广东省 广州市 天河区
${body} Set Variable {"enquiryContent":"${customer_enquiryContent}","picUrl":"","deliveryDay":${customer_deliveryDay},"deliveryArea":"${customer_deliveryArea}"}
${body} Set Variable {"enquiryContent":"${customer_enquiryContent}","picUrl":"","deliveryDay":${customer_enquiry_deliveryDay},"deliveryArea":"${customer_enquiry_deliveryArea}"}
${response} POST On Session yytclient /trading-center/add/enquiry-order ${body.encode("utf-8")}
${response} POST On Session yytclient /trading-center/add/enquiry-order ${body.encode("utf-8")}
Set Global Variable ${customer_enquiryContent}
Set Suite Variable ${customer_deliveryDay}
Set Suite Variable ${customer_deliveryArea}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Strings successful ${response.json()["message"]}
Should Be Equal As Strings successful ${response.json()["message"]}
${customer_enquiry_remark} Set Variable autotest_remark
${body} Set Variable {"addList":[{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"${paper_brand_id}","gramWeight":${enquiry_gramWeight1},"width":${enquiry_width1},"length":${enquiry_length1},"quantity":${enquiry_quantity1},"brandName":"${paper_name}","enquiryId":"${customer_enquiry_id}","remark":"${customer_enquiry_remark}"},{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"${paper_brand_id}","gramWeight":${enquiry_gramWeight2},"width":${enquiry_width2},"length":${enquiry_length2},"quantity":${enquiry_quantity2},"brandName":"${paper_name}","enquiryId":"${customer_enquiry_id}","remark":"${customer_enquiry_remark}"}],"delList":[],"updateList":[],"id":"${customer_enquiry_id}","askEnterprise":"${printing_packaging_factory_id}","belongEnterpriseName":"${printing_packaging_factory_name}","deliveryDay":${customer_deliveryDay},"deliveryArea":"${customer_deliveryArea}","enquiryContent":"${customer_enquiryContent}","picUrl":null,"receiver":null,"receiverMobile":null,"deliveryProvinceId":null,"deliveryCityId":null,"deliveryDistrictId":null,"deliveryStreetId":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetail":null,"deliveryId":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null}
${body} Set Variable {"addList":[{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"${paper_brand_id}","gramWeight":${enquiry_gramWeight1},"width":${enquiry_width1},"length":${enquiry_length1},"quantity":${enquiry_quantity1},"brandName":"${paper_name}","enquiryId":"${customer_enquiry_id}","remark":"${customer_enquiry_remark}"},{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"${paper_brand_id}","gramWeight":${enquiry_gramWeight2},"width":${enquiry_width2},"length":${enquiry_length2},"quantity":${enquiry_quantity2},"brandName":"${paper_name}","enquiryId":"${customer_enquiry_id}","remark":"${customer_enquiry_remark}"}],"delList":[],"updateList":[],"id":"${customer_enquiry_id}","askEnterprise":"${printing_packaging_factory_id}","belongEnterpriseName":"${printing_packaging_factory_name}","deliveryDay":${customer_enquiry_deliveryDay},"deliveryArea":"${customer_enquiry_deliveryArea}","enquiryContent":"${customer_enquiryContent}","picUrl":null,"receiver":null,"receiverMobile":null,"deliveryProvinceId":null,"deliveryCityId":null,"deliveryDistrictId":null,"deliveryStreetId":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetail":null,"deliveryId":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null}
${response} POST On Session yytclient /trading-center/update/enquiry-order ${body.encode("utf-8")}
${response} POST On Session yytclient /trading-center/update/enquiry-order ${body.encode("utf-8")}
Set Global Variable ${customer_enquiry_remark}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Strings successful ${response.json()["message"]}
Should Be Equal As Strings successful ${response.json()["message"]}
${paper_quotation_buyTon1} Convert To Number ${paper_quotation_buyton1} 4 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${paper_quotation_buyTon1} Convert To Number ${paper_quotation_buyton1} 4 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${paper_quotation_buyTon2} Convert To Number ${paper_quotation_buyton2} 4 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${paper_quotation_buyTon2} Convert To Number ${paper_quotation_buyton2} 4 #precision 如果可选精度为正或零,则返回的数字将四舍五入到小数位数。负精度意味着数字四舍五入到绝对精度幂的最接近10的倍数。如果一个数字同样接近某一精度,它总是从零开始四舍五入。
${paper_quotation_totalOfferPrice_item2} Convert To Number ${paper_quotation_totalOfferPrice2} 2
${paper_quotation_totalOfferPrice_item2} Convert To Number ${paper_quotation_totalOfferPrice2} 2
${supplierfocus_paper_quotation_remark} Set Variable autotest_supplierfocus_paper_quotation_remark
${body} Set Variable {"addList":[],"delList":[],"enquiryId":"${customer_enquiry_id}","updateList":[{"enquiryId":"${customer_enquiry_id}","paperQuotedPriceId":"${paperQuotedPriceId}","id":"${paper_quotes_item_id1}","productSkuId":"${product_price_sku_id}","paperId":null,"brandId":"${paper_brand_id}","paperName":null,"brandName":"${paper_name}","productName":null,"gramWeight":${paper_quotation_gramWeight1},"quantity":${paper_quotation_quantity1},"length":${paper_quotation_length1},"width":${paper_quotation_width1},"weight":${paper_quotation_buyTon1},"unitFee":${paper_quotation_unitFee1},"totalPrice":"${paper_quotation_totalOfferPrice_item1}","createTime":"${current_date_second.encode('utf-8')}","updateTime":"${current_date_second.encode('utf-8')}","effectiveTime":"${current_date_second.encode('utf-8')}","salesEnterpriseId":"${supplier_paper_id}","remark":"${customer_enquiry_remark}","purchasePrice":${product_price_sku_new},"otherFee":${paper_quotation_otherFee},"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","salesEnterpriseName":"${printing_packaging_factory_name}","flyCalcSalesPrice":${paper_quotation_flyCalcSalesPrice1}},{"enquiryId":"${customer_enquiry_id}","paperQuotedPriceId":"${paperQuotedPriceId}","id":"${paper_quotes_item_id2}","productSkuId":"${product_price_sku_id}","paperId":null,"brandId":"${paper_brand_id}","paperName":null,"brandName":"${paper_name}","productName":null,"gramWeight":${paper_quotation_gramWeight2},"quantity":${paper_quotation_quantity2},"length":${paper_quotation_length2},"width":${paper_quotation_width2},"weight":${paper_quotation_buyTon2},"unitFee":${paper_quotation_unitFee2},"totalPrice":"${paper_quotation_totalOfferPrice_item2}","createTime ":"${current_date_second.encode('utf-8')}","updateTime":"${current_date_second.encode('utf-8')}","effectiveTime":"${current_date_second.encode('utf-8')}","salesEnterpriseId":"${supplier_paper_id}","remark":"${customer_enquiry_remark}","purchasePrice":${product_price_sku_new},"otherFee":${paper_quotation_otherFee},"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","salesEnterpriseName":"${printing_packaging_factory_name}","flyCalcSalesPrice":${paper_quotation_flyCalcSalesPrice2}}],"remark":"${supplierfocus_paper_quotation_remark}"}
${body} Set Variable {"addList":[],"delList":[],"enquiryId":"${customer_enquiry_id}","updateList":[{"enquiryId":"${customer_enquiry_id}","paperQuotedPriceId":"${paperQuotedPriceId}","id":"${paper_quotes_item_id1}","productSkuId":"${product_price_sku_id}","paperId":null,"brandId":"${paper_brand_id}","paperName":null,"brandName":"${paper_name}","productName":null,"gramWeight":${paper_quotation_gramWeight1},"quantity":${paper_quotation_quantity1},"length":${paper_quotation_length1},"width":${paper_quotation_width1},"weight":${paper_quotation_buyTon1},"unitFee":${paper_quotation_unitFee1},"totalPrice":"${paper_quotation_totalOfferPrice_item1}","createTime":"${current_date_second.encode('utf-8')}","updateTime":"${current_date_second.encode('utf-8')}","effectiveTime":"${current_date_second.encode('utf-8')}","salesEnterpriseId":"${supplier_paper_id}","remark":"${customer_enquiry_remark}","purchasePrice":${product_price_sku_new},"otherFee":${paper_quotation_otherFee},"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","salesEnterpriseName":"${printing_packaging_factory_name}","flyCalcSalesPrice":${paper_quotation_flyCalcSalesPrice1}},{"enquiryId":"${customer_enquiry_id}","paperQuotedPriceId":"${paperQuotedPriceId}","id":"${paper_quotes_item_id2}","productSkuId":"${product_price_sku_id}","paperId":null,"brandId":"${paper_brand_id}","paperName":null,"brandName":"${paper_name}","productName":null,"gramWeight":${paper_quotation_gramWeight2},"quantity":${paper_quotation_quantity2},"length":${paper_quotation_length2},"width":${paper_quotation_width2},"weight":${paper_quotation_buyTon2},"unitFee":${paper_quotation_unitFee2},"totalPrice":"${paper_quotation_totalOfferPrice_item2}","createTime ":"${current_date_second.encode('utf-8')}","updateTime":"${current_date_second.encode('utf-8')}","effectiveTime":"${current_date_second.encode('utf-8')}","salesEnterpriseId":"${supplier_paper_id}","remark":"${customer_enquiry_remark}","purchasePrice":${product_price_sku_new},"otherFee":${paper_quotation_otherFee},"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","salesEnterpriseName":"${printing_packaging_factory_name}","flyCalcSalesPrice":${paper_quotation_flyCalcSalesPrice2}}],"remark":"${supplierfocus_paper_quotation_remark}"}
${response} POST On Session yytclient /trading-center/submit/paper-quotation ${body.encode("utf-8")}
${response} POST On Session yytclient /trading-center/submit/paper-quotation ${body.encode("utf-8")}
Set Suite Variable ${paper_quotation_gramWeight1}
Set Suite Variable ${paper_quotation_width1}
Set Suite Variable ${paper_quotation_length1}
Set Suite Variable ${paper_quotation_quantity1}
Set Suite Variable ${paper_quotation_buyTon1}
Set Suite Variable ${paper_quotation_unitFee1}
Set Suite Variable ${paper_quotation_flyCalcSalesPrice1}
Set Suite Variable ${paper_quotation_totalOfferPrice_item1}
Set Suite Variable ${paper_quotation_otherFee}
Set Suite Variable ${paper_quotation_gramWeight2}
Set Suite Variable ${paper_quotation_width2}
Set Suite Variable ${paper_quotation_length2}
Set Suite Variable ${paper_quotation_quantity2}
Set Suite Variable ${paper_quotation_buyTon2}
Set Suite Variable ${paper_quotation_unitFee2}
Set Suite Variable ${paper_quotation_flyCalcSalesPrice2}
Set Suite Variable ${paper_quotation_totalOfferPrice_item2}
Set Global Variable ${paper_quotation_buyTon1}
Set Global Variable ${paper_quotation_unitFee1}
Set Global Variable ${paper_quotation_flyCalcSalesPrice1}
Set Global Variable ${paper_quotation_totalOfferPrice_item1}
Set Global Variable ${paper_quotation_buyTon2}
Set Global Variable ${paper_quotation_unitFee2}
Set Global Variable ${paper_quotation_flyCalcSalesPrice2}
Set Global Variable ${paper_quotation_totalOfferPrice_item2}
log ${response.json()}
log ${response.json()}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Numbers 200 ${response.status_code}
Should Be Equal As Strings successful ${response.json()["message"]}
Should Be Equal As Strings successful ${response.json()["message"]}
${customer_enterprise_shipping_address_receiver} Set Variable autotest_receiver
${customer_enterprise_shipping_address_receiverMobile} Set Variable 13800138000
${customer_enterprise_shipping_address_detail} Set Variable autotest_customer_enterprise_shipping_address_detail
${customer_enterprise_shipping_address_provinceid} Set Variable 440000
${customer_enterprise_shipping_address_cityid} Set Variable 440100
${customer_enterprise_shipping_address_districtid} Set Variable 440106
${customer_enterprise_shipping_address_streetid} Set Variable 440106003
${customer_enterprise_shipping_address_provincename} Set Variable 广东省
${customer_enterprise_shipping_address_cityname} Set Variable 广州市
${customer_enterprise_shipping_address_districtname} Set Variable 天河区
${customer_enterprise_shipping_address_streetname} Set Variable 车陂街道
${supplier_order_remark} Set Variable autotest_supplier_order_remark
${body} Set Variable {"orderItemList":[{"deliveryId":"${customer_enterprise_shipping_address_id}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":5000,"supplyOrderItemId":"${supply_order_item_id1}"},{"deliveryId":"${customer_enterprise_shipping_address_id}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":5000,"supplyOrderItemId":"${supply_order_item_id2}"}]}
${body} Set Variable {"orderItemList":[{"deliveryId":"${customer_enterprise_shipping_address_id}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":5000,"supplyOrderItemId":"${supply_order_item_id1}"},{"deliveryId":"${customer_enterprise_shipping_address_id}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":5000,"supplyOrderItemId":"${supply_order_item_id2}"}]}
${response} POST On Session yytclient /trading-center/seller/create/supplier-order-batch ${body.encode("utf-8")}
${response} POST On Session yytclient /trading-center/seller/create/supplier-order-batch ${body.encode("utf-8")}
${payable_fundProvider} Set Variable 1 #付款资金方 1千鸟互联 2千纸鹤
${payable_remark} Set Variable autotest_remark
${bady} Set Variable {"fundProvider":${payable_fundProvider},"id":"${payable_id}","realAmount":${supplier_order_totalPrice},"remark":"${payable_remark}"}
${bady} Set Variable {"fundProvider":${payable_fundProvider},"id":"${payable_id}","realAmount":${supplier_order_totalPrice},"remark":"${payable_remark}"}
${response} POST On Session yytops /trading-center/admin/confirm/payable ${bady}
${response} POST On Session yytops /trading-center/admin/confirm/payable ${bady}