def testStoreCustomerExpress(self): ExpressService.customer_store_express = json.loads( '{"id":"f37fa91cf7a211e4b7926c40088b8482","customerStoreNumber":"P201501",' '"expressType":"CUSTOMER_STORE","logisticsCompany":{"id":"05d36c76d6aa11e4b91d6c40088b8482",' '"name":"测试物流公司","companyType":"LOGISTICS_COMPANY"},' '"storeUser":{"id":"ace76ad2f7a211e49b736c40088b8482"},"recipientName":"高阳",' '"recipientUserPhoneNumber":"18566691650","takeUserPhoneNumber":"18566691650",' '"startAddress":{"id":"48eb7c50f7a311e49ec16c40088b8482","region":{"id":"35865af8f66411e4bd404ef6eab0b474",' '"name":"南山区","parentRegion":{"id":"e4e99678f66311e4bd404ef6eab0b474","name":"鹤岗",' '"parentRegion":{"id":"b3b57ab8f66311e4bd404ef6eab0b474","name":"黑龙江",' '"parentRegion":{"id":"a0bd0d9af66311e4bd404ef6eab0b474","name":"中国"}}}},"detailedAddress":"高新产业园"},' '"endAddress":{"id":"2494f228f7a311e4bb216c40088b8482","region":{"id":"358b9c7af66411e4bd404ef6eab0b474",' '"name":"宝安区","parentRegion":{"id":"e4ea8862f66311e4bd404ef6eab0b474","name":"深圳",' '"parentRegion":{"id":"b3b582cef66311e4bd404ef6eab0b474","name":"广东",' '"parentRegion":{"id":"a0bd0d9af66311e4bd404ef6eab0b474","name":"中国"}}}},"detailedAddress":"任达科技园"},' '"rangePrice":{"id":"a4ded9a6f7a011e48bfb6c40088b8482",' '"businessType":{"id":"ca6ef91cf7a011e490516c40088b8482","name":"今日送"},' '"startRegion":{"id":"35865af8f66411e4bd404ef6eab0b474","name":"南山区",' '"parentRegion":{"id":"e4e99678f66311e4bd404ef6eab0b474","name":"鹤岗",' '"parentRegion":{"id":"b3b57ab8f66311e4bd404ef6eab0b474","name":"黑龙江",' '"parentRegion":{"id":"a0bd0d9af66311e4bd404ef6eab0b474","name":"中国"}}}},' '"endRegion":{"id":"358b9c7af66411e4bd404ef6eab0b474","name":"宝安区",' '"parentRegion":{"id":"e4ea8862f66311e4bd404ef6eab0b474","name":"深圳",' '"parentRegion":{"id":"b3b582cef66311e4bd404ef6eab0b474","name":"广东",' '"parentRegion":{"id":"a0bd0d9af66311e4bd404ef6eab0b474","name":"中国"}}}},' '"firstHeavy":5000,"firstPrice":1000,"continuedHeavy":1000,"continuedPrice":200},"version":0,' '"status":"IMPORTED"}') ExpressService.customer_express_weight = 1000 ExpressService.mouth_size = "S" ExpressService.store_customer_express()
def start_pull_pre_pay_cash_for_customer_reject_express( self, express_cost): ExpressService.start_pull_pre_pay_cash_for_customer_reject_express( express_cost)
def testStartCalculateCustomerExpressCost(self): ExpressService.start_calculate_customer_express_cost() time.sleep(5)
def testLoadOverdueExpressCount(self): UserService.login("GY911201", "PASSWORD") ExpressService.load_courier_overdue_express_count()
def start_pay_cash_for_overdue_express(self): ExpressService.start_pay_cash_for_overdue_express()
def set_phone_number(self, phone_number): ExpressService.set_phone_number(phone_number)
def stop_courier_scan_barcode(self): ExpressService.stop_get_express_number_by_barcode()
def customer_cancel_scan_barcode(self): ExpressService.stop_barcode_take_express()
def start_courier_take_reject_express(self, send_express_id_list): ExpressService.start_staff_take_reject_express_list( send_express_id_list)
def start_courier_take_send_express_all(self): ExpressService.start_staff_take_all_send_express()
def start_load_customer_reject_express_count(self): ExpressService.start_load_customer_reject_express_count()
def start_load_customer_send_express_count(self): ExpressService.start_load_customer_send_express_count()
def start_store_customer_reject_express(self): ExpressService.start_store_customer_reject_express()
def start_get_customer_reject_express_cost(self): ExpressService.start_get_customer_reject_express_cost()
def stop_pay_cash_for_customer_reject_express(self): ExpressService.stop_pay_cash_for_customer_reject_express()
def customer_take_express_disks_check(self): ExpressService.start_customer_take_express_disks()
def customer_scan_barcode_take_express(self): ExpressService.start_barcode_take_express()
def start_courier_take_reject_express_all(self): ExpressService.start_staff_take_all_reject_express()
def customer_get_overdue_cost(self): ExpressService.get_overdue_cost()
def start_customer_load_send_express_list(self, page): ExpressService.start_customer_load_send_express_list(page)
def set_express_number(self, express_number): ExpressService.set_express_number(express_number)
def start_get_imported_express(self, text): ExpressService.start_get_imported_express(text)
def start_store_express(self): ExpressService.start_store_express()
def start_get_electronic_commerce_reject_express(self, ): ExpressService.start_get_electronic_commerce_reject_express()
def testLoadOverdueExpress(self): UserService.login("GY911201", "PASSWORD") ExpressService.courier_load_overdue_express(0)
def start_customer_reject_for_electronic_commerce(self, barcode): ExpressService.start_customer_reject_for_electronic_commerce(barcode)
def testLoadCustomerExpress(self): ExpressService.customer_store_number = "P201501" ExpressService.get_customer_store_express_info()
def start_store_customer_reject_for_electronic_commerce(self): ExpressService.start_store_customer_reject_for_electronic_commerce()
def customer_take_express(self, string): ExpressService.start_customer_take_express(string)
def start_pay_cash_for_customer_express(self): ExpressService.start_pay_cash_for_customer_express()