Commit f8b3104c authored by Missv4you's avatar Missv4you

ww

parent 56fb5fa6
Pipeline #6954 canceled with stages
from base.logs import case_log
from base.setting import setting
loginfo = case_log()
\ No newline at end of file
import requests
import json
from base.setting import setting
from base import loginfo
class ApiRequests:
"""
请求类
"""
def __init__(self, header=None):
self.header = json.loads(setting.env['header'])
if header:
self.header.update(header)
def post_main(self, url, data):
return requests.post(url=url, data=data, headers=self.header, verify=False)
def get_main(self, url):
return requests.get(url=url, headers=self.header, verify=False)
def run_main(self, url, data=None, flag=True, method='post'):
"""
:param url: 接口地址
:param data: 请求数据
:param flag: 是否执行
:param method: 请求方式
:return: 结果数据
"""
url = setting.env['domain'] + url
if flag:
# 进行编码处理
if method.lower() == 'get':
res = self.get_main(url)
else:
loginfo.info('请求参数: \n\t\t\t\t\t\t{}'.format(data))
res = self.post_main(url, json.dumps(data))
return res.content.decode('utf-8')
import copy
import json
import datetime
from base import loginfo
from base.testcase import TestCase
from base.test_data import TestData
from base.base_request import ApiRequests
import jsonpath
import re
import traceback
from util.login import get_token
from base.setting import setting
import time
class TestRunner(TestCase):
"""
测试运行类
"""
rq = ApiRequests(get_token())
case_obj_list = None
scene = True
save_space = {}
test_result = {'testPass': 0, 'testFail': 0}
def run_test(self):
"""
用例运行器
"""
start_time = datetime.datetime.now()
t = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
if not self.scene:
"""
执行单接口用例--暂被废弃不用,所有用例均通过场景执行
"""
for case in self.case_obj_list:
loginfo.debug('开始执行接口测试用例: {}'.format(case.name))
self.before_parameter(case)
try:
case.actual = self.rq.run_main(url=case.api_address, data=case.request_data,
method=case.method)
if len(str(case.actual)) > 500:
loginfo.debug('返回结果: \n\t\t\t\t\t\t{}'.format(str(case.actual)[:501] + '...'))
else:
loginfo.debug('返回结果: \n\t\t\t\t\t\t{}'.format(case.actual))
case.api_assert()
if not case.case_pass:
raise Exception('断言失败: 期望结果 {} 中没有找到对应的数据'.format(case.expected))
except Exception as e:
loginfo.debug('{} 用例运行失败,失败信息\n\t\t\t\t\t\t{}'.format(case.name, e))
case.case_pass = False
else:
case.case_pass = True
self.save_middle_result(case.save_field, case.actual)
self.after_parameter(case)
finally:
loginfo.debug('测试结果: {}'.format(case.case_pass))
else:
"""
执行场景口用例
"""
for t_index, scenes in enumerate(self.case_obj_list):
scenes_name = list(scenes.keys())[0]
loginfo.debug('\033[1;34m场景测试用例: {},包含用例{}\033[0m'.format(scenes_name,
[i.name for i in
scenes[list(scenes.keys())[0]]]))
for index, case in enumerate(scenes[list(scenes.keys())[0]]):
loginfo.debug(
'\033[1;29m执行用例: {}.{} {}---{}\033[0m'.format(t_index + 1, index + 1, scenes_name, case.name))
try:
if 'python' in case.name:
exec(case.api_address)
else:
self.replace_data(case, self.save_space)
self.before_parameter(case, self.save_space)
case.actual = self.rq.run_main(url=case.api_address, data=case.request_data,
method=case.method)
if len(str(case.actual)) > 500:
loginfo.debug('返回结果: \n\t\t\t\t\t\t{}'.format(str(case.actual)[:501] + '...'))
else:
loginfo.debug('返回结果: \n\t\t\t\t\t\t{}'.format(case.actual))
self.after_parameter(case)
case.api_assert()
if not case.case_pass:
raise Exception('断言失败: 期望结果 {} 中没有找到对应的数据'.format(case.expected))
except Exception as e:
loginfo.debug('{} 用例运行失败,失败信息:{}'.format(case.name, e))
traceback.print_exc()
case.case_pass = False
case.logs = traceback.format_exc().replace('\n', '\\n98765').split('98765')
print(case.logs.insert(0, "\\n"))
# case.logs = traceback.format_exc()
else:
case.case_pass = True
if case.save_field:
case.save = self.save_middle_result(case.save_field, case.actual)
self.save_space.update(case.save)
self.after_parameter(case.actual)
finally:
loginfo.debug('\033[1;33m测试结果: {}\033[0m\n'.format(case.case_pass))
# 中间结果数据清理
self.save_space.clear()
# 统计测试结果
end_time = datetime.datetime.now() - start_time
self.test_result['start_time'] = t
self.test_result['end_time'] = end_time.seconds
self.generate_result_data(self.case_obj_list)
# 生成测试报告
TestReport().create_report()
def before_parameter(self, case, mid_res):
"""
可对请求发送前进行参数处理
"""
pass
def after_parameter(self, res):
"""
请求后进行参数的处理
"""
pass
def save_middle_result(self, save_filed, res):
"""
中间结果的保存
"""
import json
if ',' in save_filed:
saves = {}
for i in save_filed.split(','):
save_key, save_value = i[:i.find('=')], i[i.find('=') + 1:]
save_data = jsonpath.jsonpath(json.loads(json.dumps(res)), save_value)
if save_data:
if len(save_data) == 1:
saves.update({save_key: save_data[0]})
else:
saves.update({save_key: save_data})
return saves
else:
save_key, save_value = save_filed[:save_filed.find('=')], save_filed[save_filed.find('=') + 1:]
save_data = jsonpath.jsonpath(json.loads(json.dumps(res)), save_value)
if save_data:
if len(save_data) == 1:
return {save_key: save_data[0]}
else:
return {save_key: save_data}
def replace_data(self, case, save_space):
"""
对参数进行替换
"""
import json
if '$' in case.api_address:
s_key = re.findall('\$\{(.*?)\}', case.api_address)
if len(s_key) == 1:
case.api_address = case.api_address.replace('${' + s_key[0] + '}', str(save_space[s_key[0]]))
elif len(s_key) > 1:
mod_parameter = case.api_address
for i in s_key:
if i in save_space:
mod_parameter = mod_parameter.replace('${' + i + '}', save_space[i])
case.case.api_address = mod_parameter
else:
return case.request_data
elif None in [case.request_data, save_space]:
return case.request_data
# elif 'auto' in case.api_address:
# return case.request_data
else:
str_req = json.dumps(case.request_data)
s_key = re.findall('\$\{(.*?)\}', str_req)
if len(s_key) == 1 and s_key[0] in save_space:
case.request_data = json.loads(str_req.replace('${' + s_key[0] + '}', str(save_space[s_key[0]])))
elif len(s_key) > 1:
mod_parameter = str_req
for i in s_key:
if i in save_space:
mod_parameter = mod_parameter.replace('${' + i + '}', save_space[i])
case.request_data = json.loads(mod_parameter)
else:
return case.request_data
def case_time(self):
"""
用例运行时长统计
"""
pass
def generate_result_data(self, test_obj=None):
"""
生成测试报告数据
"""
# 生成统计数据
self.count_result(test_obj)
# 导入模板数据进行实际测试数据的替换
with open('../data/template_report_data.json', 'r', encoding='utf-8') as fp:
a = fp.read()
tmp = json.loads(a)
# 统计数据
tmp['testPass'] = self.test_result.pop('testPass')
tmp['testFail'] = self.test_result.pop('testFail')
tmp['testAll'] = self.test_result.pop('total')
tmp['beginTime'] = self.test_result.pop('start_time')
tmp['totalTime'] = str(self.test_result.pop('end_time')) + 's'
tmp['testResult'] = []
# 用例详情
for t_index, scenes in enumerate(self.case_obj_list):
scenes_name = list(scenes.keys())[0]
if self.scene:
for case in scenes[list(scenes.keys())[0]]:
if case.case_pass:
case.case_pass = '成功'
else:
case.case_pass = '失败'
tmp_case = {
"CaseName": scenes_name + '-' + case.name,
"api": case.api_address.replace('http://119.3.73.53:18082/', ''),
"parameter": json.dumps(case.request_data),
"result": str(case.actual),
"status": case.case_pass,
"log": case.logs
}
tmp['testResult'].append(copy.deepcopy(tmp_case))
with open('../report/report_data.json', 'w', encoding='utf-8') as fpw:
fpw.write(json.dumps(tmp, ensure_ascii=False))
def count_result(self, case_obj):
pass_count = 0
fail_count = 0
for scenes in case_obj:
pass_bool = [i.case_pass for i in scenes[list(scenes.keys())[0]]]
pass_name = [i.name for i in scenes[list(scenes.keys())[0]]]
merge_info = dict(zip(pass_name, pass_bool))
if False in pass_bool:
fail_count += 1
self.test_result.update({list(scenes.keys())[0] + '-失败': merge_info,
'testFail': fail_count})
else:
pass_count += 1
self.test_result.update({list(scenes.keys())[0] + '-通过': merge_info,
'testPass': pass_count})
self.test_result['total'] = pass_count + fail_count
loginfo.debug('\033[1;33m测试完成\n {}\033'.format(self.test_result))
loginfo.debug('总计: {} 通过{},失败{}'.format(self.test_result['total'], self.test_result['testPass'],
self.test_result['testFail']))
class TestReport:
"""
测试报告类
"""
def __init__(self, test_data=None):
self.report_name = setting.report['name']
self.save_path = setting.report['report_path']
self.test_data = test_data
def create_report(self):
with open('../data/template_report.html', 'r', encoding='utf-8') as fp:
h = fp.read()
with open('../report/report_data.json', 'r', encoding='utf-8') as fp:
detail_report_data = json.loads(fp.read())
detail_report_data['testName'] = self.report_name
detail_report_data = json.dumps(detail_report_data, ensure_ascii=False)
test_report = re.sub('\$\{(testresultData)\}', detail_report_data, h)
with open(self.save_path, 'w', encoding='utf-8') as fp:
fp.write(test_report)
# excel驱动-编写用例方便-用例管理比较清晰直观
def excel_driver(file):
def run_case2(cls):
# 生成可执行的用例对象
if cls.scene:
datas = TestData(file).get_scene_data()
else:
datas = TestData(file).get_data()
case_obj_list = []
for case in datas:
if 'scene_case' in case:
if case.get('is_run'):
tmp_data = []
for i in case['scene_case']:
tmp_data.append(cls(**i))
case_obj_list.append({case['name']: tmp_data})
else:
case_obj_list.append(cls(**case))
cls.case_obj_list = case_obj_list
return cls
return run_case2
# py文件驱动--编写用例灵活,可使用python方法对请求参数做处理
def py_driver(api_case, scene_case):
def case(cls):
case_obj_list = []
for case in api_case:
if 'scene_case' in case:
tmp_data = []
for i in scene_case['scene_case']:
tmp_data.append(cls(**i))
case_obj_list.append({case['name']: tmp_data})
else:
case_obj_list.append(cls(**case))
cls.case_obj_list = case_obj_list
return cls
return case
if __name__ == '__main__':
TestReport().create_report()
import logging
from logging import handlers
from base.setting import setting
import time
data_time = time.strftime('%Y-%m-%d', time.localtime()) + '.log'
def case_log():
log_format = '%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s'
logging.basicConfig(level=logging.DEBUG, format=log_format)
logger = logging.getLogger()
# 屏幕写入
# th = logging.StreamHandler()
# 文件输出
format_str = logging.Formatter(log_format)
sh = handlers.TimedRotatingFileHandler(filename=setting.log_path['path'] + data_time, when='D', encoding='utf-8')
sh.setFormatter(format_str)
logger.addHandler(sh)
# logger.addHandler(th)
return logger
if __name__ == '__main__':
log = case_log()
log.debug('hello')
"""
配置类,读取配置信息
"""
import configparser
import os
class Setting:
def __init__(self, path=None):
if not path:
base_path = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
self.config_path = os.path.join(base_path, 'config/config.ini')
else:
self.config_path = path
self.config = configparser.ConfigParser()
self.config.read(self.config_path)
self.setting()
def setting(self):
for attr in self.config.sections():
self.__dict__[attr] = dict(self.config.items(attr))
setting = Setting()
from util.excel_data import OperatorExcel
import copy
class TestData:
def __init__(self, file=None):
api_datas = OperatorExcel(file).get_all_case()
scene_datas = OperatorExcel(file).get_scene_case()
self.title, self.case_data = api_datas[0], api_datas[1:]
self.scene_title, self.scene_data = scene_datas[0], scene_datas[1:]
def get_data(self):
case_datas = []
for case in self.case_data:
case_dict = {}
for index, title in enumerate(self.title):
case_dict[title] = case[index]
case_datas.append(case_dict)
return case_datas
def get_scene_data(self):
scene_datas = []
for case in self.scene_data:
case_dict = {}
for index, title in enumerate(self.scene_title):
case_dict[title] = case[index]
scene_datas.append(case_dict)
for scene in scene_datas:
if scene['scene_case']:
a = copy.deepcopy(scene['scene_case'])
tmp_case = copy.deepcopy(a.split('-'))
tmp_cases = []
for c in tmp_case:
for cc in self.get_data():
if c == cc['name']:
tmp_cases.append(cc)
scene['scene_case'] = tmp_cases
return scene_datas
if __name__ == '__main__':
TestData().get_scene_data()
import json
import os
from base import loginfo
from base.setting import setting
class TestCase:
"""
测试基类
"""
def __init__(self, **kwargs):
"""
:param name: 用例名称
:param priority: 优先级 1,2,3
:param api_address: 请求地址
:param save_field: 需要保存的字段
:param method: 请求方法 post,get
:param data: 请求参数
:param expected: 期望结果
:param actual: 实际结果
:param case_pass: 是否通过 成功,失败
"""
self.name = kwargs.get('name')
self.priority = kwargs.get('priority')
self.api_address = kwargs.get('api_address')
self.method = kwargs.get('method')
# 请求参数--需要转换成json,支持以F=开头的路径方式传入
self.request_data = kwargs.get('request_data')
if str(self.request_data).startswith('F='):
path = self.request_data.split('F=')[-1]
if setting.json_data['json_data_path']:
base_path = setting.json_data['json_data_path']
self.request_data = self.read_json_case(os.path.join(base_path, path))
else:
self.request_data = self.read_json_case(path)
else:
if isinstance(self.request_data, str):
self.request_data = json.loads(self.request_data)
self.expected = kwargs.get('expected')
self.actual = kwargs.get('actual')
self.case_pass = kwargs.get('case_pass')
self.assert_method = kwargs.get('assert_method')
self.save_field = kwargs.get('save_field')
self.logs = None
def read_json_case(self, path):
with open(path, 'r', encoding='utf-8') as fp:
data = fp.read()
try:
data = json.loads(data)
except Exception as e:
print('json数据转换失败{}'.format(e))
finally:
return data
def api_assert(self):
"""
根据传入参数调用断言方法
:return: bool
"""
loginfo.debug('期望结果: {}, 断言方式: {}'.format(self.expected, self.assert_method))
if self.assert_method == 'include_text':
self.include_text()
elif self.assert_method == 'include_json':
self.include_json()
elif self.assert_method == 'equal_text':
self.equal_text()
elif self.assert_method == '':
self.assert_json()
else:
self.equal_json()
# 文本包含
def include_text(self):
if self.expected in str(self.actual):
self.case_pass = True
# json包含
def include_json(self):
self.expected = json.loads(self.expected)
self.actual = json.loads(self.actual)
if self.assert_json(self.expected, self.actual):
self.case_pass = True
def assert_json(self, exp, act):
if isinstance(exp, str) and isinstance(act, str) and exp == act:
return True
elif isinstance(exp, dict):
for j in exp.keys():
if j in act:
return self.assert_json(exp[j], act[j])
else:
return False
elif isinstance(exp, list) and isinstance(act, list):
for i in exp:
if i in act:
return self.assert_json(i, act[act.index(i)])
else:
return False
else:
return False
# 文本相等
def equal_text(self):
if self.expected == self.actual:
self.case_pass = True
# json相等
def equal_json(self):
if self.expected == self.actual:
self.case_pass = True
if __name__ == '__main__':
a = {'c': 'ww'}
b = {'a': 'aaa', 'b': 'bbb', 'c': {'ggg': '111'}, 'd': [{'xsd': 'tttt'}, {'rr': 'aaa'}]}
print(a)
print(b)
a = TestCase().assert_json(a, b)
print(a)
[env]
domain=http://119.3.73.53:18082/
header={"Content-Type": "application/json;charset=UTF-8","User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"}
[login]
username=ADMIN
password=password
[log_path]
path=../logs/logs
[report]
name=WMS-API-TEST
report_path=../report/report.html
[json_data]
json_data_path=..\data\json_data\
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"selectedRows": [
{
"header": {
"currentData": {
"id": "",
"warehouse_id": "${warehouse_id}",
"asn_no": "",
"ext_no": "",
"come_from": "WMS",
"come_from_label": "",
"owner_id": "${owner_id}",
"type": "100",
"type_label": "",
"bill_status": "100",
"bill_status_label": "",
"priority": "0",
"qty": "",
"receive_qty": "",
"order_time": "",
"est_arrival_time": "",
"actual_arrival_time": "",
"start_receive_time": "",
"end_receive_time": "",
"dock_id": "",
"dock_start_time": "",
"dock_end_time": "",
"supplier_id": "",
"supplier_code": "",
"supplier_name": "",
"supplier_address": "",
"supplier_contact": "",
"supplier_phone": "",
"carrier_id": "",
"carrier_code": "",
"carrier_name": "",
"carrier_address": "",
"carrier_contact": "",
"carrier_phone": "",
"carrier_plate_num": "",
"carrier_trailer_num": "",
"carrier_driver": "",
"carrier_driver_phone": "",
"carrier_waybill_num": "",
"remark": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"warehouse__code": "${warehouse_code}",
"warehouse__name": "${warehouse_code}",
"owner__code": "${owner_code}",
"owner__name": "${owner_code}",
"dock__code": "",
"dock__name": "",
"supplier__code": "",
"supplier__name": "",
"carrier__code": "",
"carrier__name": "",
"_TX_CODE": ""
},
"originalData": {
"id": "",
"warehouse_id": "",
"asn_no": "",
"ext_no": "",
"come_from": "WMS",
"come_from_label": "",
"owner_id": "",
"type": "",
"type_label": "",
"bill_status": "100",
"bill_status_label": "",
"priority": "",
"qty": "",
"receive_qty": "",
"order_time": "",
"est_arrival_time": "",
"actual_arrival_time": "",
"start_receive_time": "",
"end_receive_time": "",
"dock_id": "",
"dock_start_time": "",
"dock_end_time": "",
"supplier_id": "",
"supplier_code": "",
"supplier_name": "",
"supplier_address": "",
"supplier_contact": "",
"supplier_phone": "",
"carrier_id": "",
"carrier_code": "",
"carrier_name": "",
"carrier_address": "",
"carrier_contact": "",
"carrier_phone": "",
"carrier_plate_num": "",
"carrier_trailer_num": "",
"carrier_driver": "",
"carrier_driver_phone": "",
"carrier_waybill_num": "",
"remark": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"warehouse__code": "",
"warehouse__name": "",
"owner__code": "",
"owner__name": "",
"dock__code": "",
"dock__name": "",
"supplier__code": "",
"supplier__name": "",
"carrier__code": "",
"carrier__name": "",
"_TX_CODE": ""
}
},
"lines": {
"rows": [
{
"currentData": {
"_TX_CODE": "I",
"id": "",
"warehouse_id": "",
"asn_id": "",
"asn_no": "",
"line_no": "",
"ext_line_no": "",
"owner_id": "",
"sku_id": "${sku_id}",
"pack_id": "${pack_id}",
"uom": "EA",
"uom_base_qty": 1,
"qty": 1,
"receive_qty": "",
"location_id": "${location_id}",
"lpn": "",
"case_num": "",
"bill_status": "100",
"bill_status_label": "",
"remark": "",
"inventory_lot_id": "",
"sku_status": "",
"receive_time": "",
"produce_time": "",
"expire_time": "",
"supplier": "",
"asn_num": "",
"purchase_num": "",
"purchase_price": "",
"lot_attribute01": "",
"lot_attribute02": "",
"lot_attribute03": "",
"lot_attribute04": "",
"lot_attribute05": "",
"lot_attribute06": "",
"lot_attribute07": "",
"lot_attribute08": "",
"lot_attribute09": "",
"lot_attribute10": "",
"lot_attribute11": "",
"lot_attribute12": "",
"lot_attribute13": "",
"lot_attribute14": "",
"lot_attribute15": "",
"lot_attribute16": "",
"lot_attribute17": "",
"lot_attribute18": "",
"lot_attribute19": "",
"lot_attribute20": "",
"sort_num": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"uom_qty": 1,
"sku__code": "${sku_code}",
"sku__name": "${sku_code}",
"pack__code": "${pack_code}",
"pack__name": "${pack_code}",
"pack__each_code": "EA",
"pack__each_qty": 1,
"pack__inner_code": "IP",
"pack__inner_qty": null,
"pack__case_code": "CS",
"pack__case_qty": null,
"pack__pallet_code": "PL",
"pack__pallet_qty": null,
"location__code": "${location_code}",
"location__name": "${location_code}",
"inventory_lot__lot": ""
},
"originalData": {
"_TX_CODE": "I",
"id": "",
"warehouse_id": "",
"asn_id": "",
"asn_no": "",
"line_no": "",
"ext_line_no": "",
"owner_id": "",
"sku_id": "",
"pack_id": "",
"uom": "",
"uom_base_qty": "",
"qty": "",
"receive_qty": "",
"location_id": "",
"lpn": "",
"case_num": "",
"bill_status": "100",
"bill_status_label": "",
"remark": "",
"inventory_lot_id": "",
"sku_status": "",
"receive_time": "",
"produce_time": "",
"expire_time": "",
"supplier": "",
"asn_num": "",
"purchase_num": "",
"purchase_price": "",
"lot_attribute01": "",
"lot_attribute02": "",
"lot_attribute03": "",
"lot_attribute04": "",
"lot_attribute05": "",
"lot_attribute06": "",
"lot_attribute07": "",
"lot_attribute08": "",
"lot_attribute09": "",
"lot_attribute10": "",
"lot_attribute11": "",
"lot_attribute12": "",
"lot_attribute13": "",
"lot_attribute14": "",
"lot_attribute15": "",
"lot_attribute16": "",
"lot_attribute17": "",
"lot_attribute18": "",
"lot_attribute19": "",
"lot_attribute20": "",
"sort_num": "",
"container_empty": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"uom_qty": "",
"sku__code": "",
"sku__name": "",
"pack__code": "",
"pack__name": "",
"pack__each_code": "EA",
"pack__each_qty": "1",
"pack__inner_code": "IP",
"pack__inner_qty": "",
"pack__case_code": "CS",
"pack__case_qty": "",
"pack__pallet_code": "PL",
"pack__pallet_qty": "",
"location__code": "",
"location__name": "",
"inventory_lot__lot": ""
}
}
]
}
}
],
"aux": {
"new": true
}
}
{
"selectedRows": [
{
"header": {
"currentData": {
"id": "",
"warehouse_id": "${warehouse_id}",
"asn_no": "",
"ext_no": "",
"come_from": "WMS",
"come_from_label": "",
"owner_id": "${owner_id}",
"type": "103",
"type_label": "",
"bill_status": "100",
"bill_status_label": "",
"priority": "0",
"qty": "",
"receive_qty": "",
"order_time": "",
"est_arrival_time": "",
"actual_arrival_time": "",
"start_receive_time": "",
"end_receive_time": "",
"dock_id": "",
"dock_start_time": "",
"dock_end_time": "",
"supplier_id": "",
"supplier_code": "",
"supplier_name": "",
"supplier_address": "",
"supplier_contact": "",
"supplier_phone": "",
"carrier_id": "",
"carrier_code": "",
"carrier_name": "",
"carrier_address": "",
"carrier_contact": "",
"carrier_phone": "",
"carrier_plate_num": "",
"carrier_trailer_num": "",
"carrier_driver": "",
"carrier_driver_phone": "",
"carrier_waybill_num": "",
"remark": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"warehouse__code": "${warehouse_code}",
"warehouse__name": "${warehouse_code}",
"owner__code": "${owner_code}",
"owner__name": "${owner_code}",
"dock__code": "",
"dock__name": "",
"supplier__code": "",
"supplier__name": "",
"carrier__code": "",
"carrier__name": "",
"_TX_CODE": ""
},
"originalData": {
"id": "",
"warehouse_id": "",
"asn_no": "",
"ext_no": "",
"come_from": "WMS",
"come_from_label": "",
"owner_id": "",
"type": "",
"type_label": "",
"bill_status": "100",
"bill_status_label": "",
"priority": "",
"qty": "",
"receive_qty": "",
"order_time": "",
"est_arrival_time": "",
"actual_arrival_time": "",
"start_receive_time": "",
"end_receive_time": "",
"dock_id": "",
"dock_start_time": "",
"dock_end_time": "",
"supplier_id": "",
"supplier_code": "",
"supplier_name": "",
"supplier_address": "",
"supplier_contact": "",
"supplier_phone": "",
"carrier_id": "",
"carrier_code": "",
"carrier_name": "",
"carrier_address": "",
"carrier_contact": "",
"carrier_phone": "",
"carrier_plate_num": "",
"carrier_trailer_num": "",
"carrier_driver": "",
"carrier_driver_phone": "",
"carrier_waybill_num": "",
"remark": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"warehouse__code": "",
"warehouse__name": "",
"owner__code": "",
"owner__name": "",
"dock__code": "",
"dock__name": "",
"supplier__code": "",
"supplier__name": "",
"carrier__code": "",
"carrier__name": "",
"_TX_CODE": ""
}
},
"lines": {
"rows": [
{
"currentData": {
"_TX_CODE": "I",
"id": "",
"warehouse_id": "",
"asn_id": "",
"asn_no": "",
"line_no": "",
"ext_line_no": "",
"owner_id": "",
"sku_id": "${sku_id}",
"pack_id": "${pack_id}",
"uom": "EA",
"uom_base_qty": 1,
"qty": 1,
"receive_qty": "",
"location_id": "${location_id}",
"lpn": "",
"case_num": "",
"bill_status": "100",
"bill_status_label": "",
"remark": "",
"inventory_lot_id": "",
"sku_status": "",
"receive_time": "",
"produce_time": "",
"expire_time": "",
"supplier": "",
"asn_num": "",
"purchase_num": "",
"purchase_price": "",
"lot_attribute01": "",
"lot_attribute02": "",
"lot_attribute03": "",
"lot_attribute04": "",
"lot_attribute05": "",
"lot_attribute06": "",
"lot_attribute07": "",
"lot_attribute08": "",
"lot_attribute09": "",
"lot_attribute10": "",
"lot_attribute11": "",
"lot_attribute12": "",
"lot_attribute13": "",
"lot_attribute14": "",
"lot_attribute15": "",
"lot_attribute16": "",
"lot_attribute17": "",
"lot_attribute18": "",
"lot_attribute19": "",
"lot_attribute20": "",
"sort_num": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"uom_qty": 1,
"sku__code": "${sku_code}",
"sku__name": "${sku_code}",
"pack__code": "${pack_code}",
"pack__name": "${pack_code}",
"pack__each_code": "EA",
"pack__each_qty": 1,
"pack__inner_code": "IP",
"pack__inner_qty": null,
"pack__case_code": "CS",
"pack__case_qty": null,
"pack__pallet_code": "PL",
"pack__pallet_qty": null,
"location__code": "${location_code}",
"location__name": "${location_code}",
"inventory_lot__lot": ""
},
"originalData": {
"_TX_CODE": "I",
"id": "",
"warehouse_id": "",
"asn_id": "",
"asn_no": "",
"line_no": "",
"ext_line_no": "",
"owner_id": "",
"sku_id": "",
"pack_id": "",
"uom": "",
"uom_base_qty": "",
"qty": "",
"receive_qty": "",
"location_id": "",
"lpn": "",
"case_num": "",
"bill_status": "100",
"bill_status_label": "",
"remark": "",
"inventory_lot_id": "",
"sku_status": "",
"receive_time": "",
"produce_time": "",
"expire_time": "",
"supplier": "",
"asn_num": "",
"purchase_num": "",
"purchase_price": "",
"lot_attribute01": "",
"lot_attribute02": "",
"lot_attribute03": "",
"lot_attribute04": "",
"lot_attribute05": "",
"lot_attribute06": "",
"lot_attribute07": "",
"lot_attribute08": "",
"lot_attribute09": "",
"lot_attribute10": "",
"lot_attribute11": "",
"lot_attribute12": "",
"lot_attribute13": "",
"lot_attribute14": "",
"lot_attribute15": "",
"lot_attribute16": "",
"lot_attribute17": "",
"lot_attribute18": "",
"lot_attribute19": "",
"lot_attribute20": "",
"sort_num": "",
"container_empty": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"uom_qty": "",
"sku__code": "",
"sku__name": "",
"pack__code": "",
"pack__name": "",
"pack__each_code": "EA",
"pack__each_qty": "1",
"pack__inner_code": "IP",
"pack__inner_qty": "",
"pack__case_code": "CS",
"pack__case_qty": "",
"pack__pallet_code": "PL",
"pack__pallet_qty": "",
"location__code": "",
"location__name": "",
"inventory_lot__lot": ""
}
}
]
}
}
],
"aux": {
"new": true
}
}
{
"selectedRows": [
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T10:45:31.212Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00372",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0050",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T10:45:31.212Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00372",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0050",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
}
}
],
"aux": {
"metaData": {
"header": [
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "total_box_qty",
"label": "数量",
"type": "DecimalField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "from_zone_count",
"label": "库区数",
"type": "BigIntegerField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "from_location_count",
"label": "库位数",
"type": "BigIntegerField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "warehouse_id",
"relationModel": "location",
"label": "Warehouse Id",
"type": "ForeignKeyField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "warehouse__code",
"label": "Warehouse Code",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "warehouse__name",
"label": "仓库",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "owner__code",
"label": "货主编码",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "owner__name",
"label": "货主名称",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "box_no",
"label": "虚拟箱号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__so_no",
"label": "出库订单号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__ext_so_no",
"label": "外部订单号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__delivery_no",
"label": "So Delivery No",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__wave_no",
"label": "So Wave No",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__type",
"label": "订单类型",
"type": "MultipleChoiceField",
"category": "biz_so_type",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__type_label",
"label": "订单类型",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__bill_status",
"label": "状态",
"type": "ChoiceField",
"category": "OutboundShipOrderStatus",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__bill_status_label",
"label": "状态",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__block_status",
"label": "拦截状态",
"type": "ChoiceField",
"category": "OutboundShipOrderBlockStatus",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__block_status_label",
"label": "拦截状态",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__order_time",
"label": "订单时间",
"type": "DateTimeField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__plan_handle_time",
"label": "计划处理时间",
"type": "DateTimeField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__plan_ship_time",
"label": "计划出库时间",
"type": "DateTimeField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__plan_delivery_time",
"label": "计划交货时间",
"type": "DateTimeField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__priority",
"label": "订单优先级",
"type": "IntegerField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__transport_method",
"label": "运输方式",
"type": "ChoiceField",
"category": "transport_method",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__transport_method_label",
"label": "运输方式",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__pay_method",
"label": "支付方式",
"type": "ChoiceField",
"category": "pay_method",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__pay_method_label",
"label": "支付方式",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__pay_status",
"label": "支付状态",
"type": "ChoiceField",
"category": "pay_status",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__pay_status_label",
"label": "支付状态",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__road_line",
"label": "运输路线",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__load_station",
"label": "装货站点",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__unload_station",
"label": "卸货站点",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_code",
"label": "客户编码",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_name",
"label": "客户名称",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_province",
"label": "客户省",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_city",
"label": "客户城市",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_district",
"label": "客户行政区",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_town",
"label": "客户街道",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_address",
"label": "客户地址",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_receiver",
"label": "客户收货人",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_receiver_phone",
"label": "客户收货人电话",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_code",
"label": "承运商编码",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_name",
"label": "承运商名称",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_contact",
"label": "承运商联系人",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_phone",
"label": "承运商联系电话",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_plate_num",
"label": "承运商车牌号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_carriage_num",
"label": "承运商车厢/拖车号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_driver",
"label": "承运商司机",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_driver_phone",
"label": "承运商司机电话",
"type": "StringField",
"writable": true
}
]
},
"meta": {
"type": "list",
"query": "outbound_pick_line_box_group_q"
},
"selectAll": false,
"selection": [
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T10:45:31.212Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00372",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0050",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T10:45:31.212Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00372",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0050",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"isSelected": true
}
],
"rows": [
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T10:45:31.212Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00372",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0050",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T10:45:31.212Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00372",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0050",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"isSelected": true
}
],
"total": 1,
"pageNum": 1,
"pageSize": 20,
"query": {
"id": "",
"title": "",
"common": false,
"sort_order": 1000,
"fields": [],
"display": [],
"filter": {
"fields": [],
"sql": ""
},
"keyword": {
"value": "SO20210207-0050",
"fields": [
"so_no",
"box_no",
"wave_no"
],
"exact": false,
"partialMatchMode": "contain",
"caseSensitive": true
},
"refFields": [],
"order": [],
"defaultOrder": [],
"listHeaderSort": [],
"aggregation": {},
"quickFilter": {
"relationDataset": "box_pick_line__quickFilterDataSet",
"fields": [
{
"name": "name",
"label": "仓库",
"ignore": false,
"caseSensitive": true,
"quickFilterField": "warehouse_id",
"restriction": "eq"
}
]
}
},
"aggregationRow": {},
"currentRow": null,
"columnAttrs": [
{
"name": "warehouse__name",
"width": "100",
"title": "仓库",
"use": "lw-list-label"
},
{
"name": "box_no",
"width": "130",
"title": "虚拟箱号",
"use": "lw-list-label"
},
{
"name": "total_box_qty",
"width": "100",
"title": "数量",
"use": "lw-list-label"
},
{
"name": "from_zone_count",
"width": "100",
"title": "库区数",
"use": "lw-list-label"
},
{
"name": "from_location_count",
"width": "100",
"title": "库位数",
"use": "lw-list-label"
},
{
"name": "owner__code",
"width": "100",
"title": "货主编码",
"use": "lw-list-label"
},
{
"name": "owner__name",
"width": "100",
"title": "货主名称",
"use": "lw-list-label"
},
{
"name": "so__so_no",
"width": "130",
"title": "出库订单号",
"use": "lw-list-label"
},
{
"name": "so__ext_so_no",
"width": "130",
"title": "外部订单号",
"use": "lw-list-label"
},
{
"name": "so__type",
"width": "100",
"title": "订单类型",
"use": "lw-list-select",
"displayName": "so__type_label"
},
{
"name": "so__priority",
"width": "100",
"title": "订单优先级",
"use": "lw-list-label"
},
{
"name": "so__bill_status",
"width": "100",
"title": "状态",
"use": "lw-list-select",
"displayName": "so__bill_status_label"
},
{
"name": "so__block_status",
"width": "100",
"title": "拦截状态",
"use": "lw-list-select",
"displayName": "so__block_status_label"
},
{
"name": "so__order_time",
"width": "100",
"title": "订单时间",
"use": "lw-list-label",
"dateFormat": "yyyy-MM-dd HH:mm:ss"
},
{
"name": "so__plan_handle_time",
"width": "100",
"title": "计划处理时间",
"use": "lw-list-label",
"dateFormat": "yyyy-MM-dd HH:mm:ss"
},
{
"name": "so__plan_ship_time",
"width": "100",
"title": "计划出库时间",
"use": "lw-list-label",
"dateFormat": "yyyy-MM-dd HH:mm:ss"
},
{
"name": "so__plan_delivery_time",
"width": "100",
"title": "计划交货时间",
"use": "lw-list-label",
"dateFormat": "yyyy-MM-dd HH:mm:ss"
},
{
"name": "so__transport_method",
"width": "100",
"title": "运输方式",
"use": "lw-list-select",
"displayName": "so__transport_method_label"
},
{
"name": "so__pay_method",
"width": "100",
"title": "支付方式",
"use": "lw-list-select",
"displayName": "so__pay_method_label"
},
{
"name": "so__pay_status",
"width": "100",
"title": "支付状态",
"use": "lw-list-select",
"displayName": "so__pay_status_label"
},
{
"name": "so__road_line",
"width": "100",
"title": "运输路线",
"use": "lw-list-label"
},
{
"name": "so__load_station",
"width": "100",
"title": "装货站点",
"use": "lw-list-label"
},
{
"name": "so__unload_station",
"width": "100",
"title": "卸货站点",
"use": "lw-list-label"
},
{
"name": "so__customer_code",
"width": "100",
"title": "客户编码",
"use": "lw-list-label"
},
{
"name": "so__customer_name",
"width": "100",
"title": "客户名称",
"use": "lw-list-label"
},
{
"name": "so__customer_province",
"width": "100",
"title": "客户省",
"use": "lw-list-label"
},
{
"name": "so__customer_city",
"width": "100",
"title": "客户城市",
"use": "lw-list-label"
},
{
"name": "so__customer_district",
"width": "100",
"title": "客户行政区",
"use": "lw-list-label"
},
{
"name": "so__customer_town",
"width": "100",
"title": "客户街道",
"use": "lw-list-label"
},
{
"name": "so__customer_address",
"width": "100",
"title": "客户地址",
"use": "lw-list-label"
},
{
"name": "so__customer_receiver",
"width": "100",
"title": "客户收货人",
"use": "lw-list-label"
},
{
"name": "so__customer_receiver_phone",
"width": "100",
"title": "客户收货人电话",
"use": "lw-list-label"
},
{
"name": "so__carrier_code",
"width": "100",
"title": "承运商编码",
"use": "lw-list-label"
},
{
"name": "so__carrier_name",
"width": "100",
"title": "承运商名称",
"use": "lw-list-label"
},
{
"name": "so__carrier_contact",
"width": "100",
"title": "承运商联系人",
"use": "lw-list-label"
},
{
"name": "so__carrier_phone",
"width": "100",
"title": "承运商联系电话",
"use": "lw-list-label"
},
{
"name": "so__carrier_plate_num",
"width": "130",
"title": "承运商车牌号",
"use": "lw-list-label"
},
{
"name": "so__carrier_carriage_num",
"width": "130",
"title": "承运商车厢/拖车号",
"use": "lw-list-label"
},
{
"name": "so__carrier_driver",
"width": "100",
"title": "承运商司机",
"use": "lw-list-label"
},
{
"name": "so__carrier_driver_phone",
"width": "100",
"title": "承运商司机电话",
"use": "lw-list-label"
}
],
"datasetCache": true,
"getTotalBy": "count",
"totalBy": "count",
"countLimit": 1000,
"pageTurning": false
},
"additionalDatas": {
"outbound_pick_generate_page": {
"selectedRows": [
{
"currentData": {
"total_box_qty": "",
"from_zone_count": "",
"from_location_count": "",
"warehouse_id": "274133627011469312",
"warehouse__code": "GBLGZ",
"warehouse__name": "GBL 广州中心仓库",
"owner__code": "",
"owner__name": "",
"box_no": "",
"so__so_no": "",
"so__ext_so_no": "",
"so__delivery_no": "",
"so__wave_no": "",
"so__type": "",
"so__type_label": "",
"so__bill_status": "",
"so__bill_status_label": "",
"so__block_status": "",
"so__block_status_label": "",
"so__order_time": "",
"so__plan_handle_time": "",
"so__plan_ship_time": "",
"so__plan_delivery_time": "",
"so__priority": "",
"so__transport_method": "",
"so__transport_method_label": "",
"so__pay_method": "",
"so__pay_method_label": "",
"so__pay_status": "",
"so__pay_status_label": "",
"so__road_line": "",
"so__load_station": "",
"so__unload_station": "",
"so__customer_code": "",
"so__customer_name": "",
"so__customer_province": "",
"so__customer_city": "",
"so__customer_district": "",
"so__customer_town": "",
"so__customer_address": "",
"so__customer_receiver": "",
"so__customer_receiver_phone": "",
"so__carrier_code": "",
"so__carrier_name": "",
"so__carrier_contact": "",
"so__carrier_phone": "",
"so__carrier_plate_num": "",
"so__carrier_carriage_num": "",
"so__carrier_driver": "",
"so__carrier_driver_phone": "",
"_TX_CODE": "",
"pick_method": "100",
"pick_uom": "EA"
},
"originalData": {
"total_box_qty": "",
"from_zone_count": "",
"from_location_count": "",
"warehouse_id": "",
"warehouse__code": "",
"warehouse__name": "",
"owner__code": "",
"owner__name": "",
"box_no": "",
"so__so_no": "",
"so__ext_so_no": "",
"so__delivery_no": "",
"so__wave_no": "",
"so__type": "",
"so__type_label": "",
"so__bill_status": "",
"so__bill_status_label": "",
"so__block_status": "",
"so__block_status_label": "",
"so__order_time": "",
"so__plan_handle_time": "",
"so__plan_ship_time": "",
"so__plan_delivery_time": "",
"so__priority": "",
"so__transport_method": "",
"so__transport_method_label": "",
"so__pay_method": "",
"so__pay_method_label": "",
"so__pay_status": "",
"so__pay_status_label": "",
"so__road_line": "",
"so__load_station": "",
"so__unload_station": "",
"so__customer_code": "",
"so__customer_name": "",
"so__customer_province": "",
"so__customer_city": "",
"so__customer_district": "",
"so__customer_town": "",
"so__customer_address": "",
"so__customer_receiver": "",
"so__customer_receiver_phone": "",
"so__carrier_code": "",
"so__carrier_name": "",
"so__carrier_contact": "",
"so__carrier_phone": "",
"so__carrier_plate_num": "",
"so__carrier_carriage_num": "",
"so__carrier_driver": "",
"so__carrier_driver_phone": "",
"_TX_CODE": ""
}
}
]
}
}
}
\ No newline at end of file
{
"selectedRows": [
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T07:22:10.279Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00072",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0016",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T07:22:10.279Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00072",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0016",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
}
}
],
"aux": {
"metaData": {
"header": [
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "total_box_qty",
"label": "数量",
"type": "DecimalField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "from_zone_count",
"label": "库区数",
"type": "BigIntegerField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "from_location_count",
"label": "库位数",
"type": "BigIntegerField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "warehouse_id",
"relationModel": "location",
"label": "Warehouse Id",
"type": "ForeignKeyField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "warehouse__code",
"label": "Warehouse Code",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "warehouse__name",
"label": "仓库",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "owner__code",
"label": "货主编码",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "owner__name",
"label": "货主名称",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "box_no",
"label": "虚拟箱号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__so_no",
"label": "出库订单号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__ext_so_no",
"label": "外部订单号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__delivery_no",
"label": "So Delivery No",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__wave_no",
"label": "So Wave No",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__type",
"label": "订单类型",
"type": "MultipleChoiceField",
"category": "biz_so_type",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__type_label",
"label": "订单类型",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__bill_status",
"label": "状态",
"type": "ChoiceField",
"category": "OutboundShipOrderStatus",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__bill_status_label",
"label": "状态",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__block_status",
"label": "拦截状态",
"type": "ChoiceField",
"category": "OutboundShipOrderBlockStatus",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__block_status_label",
"label": "拦截状态",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__order_time",
"label": "订单时间",
"type": "DateTimeField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__plan_handle_time",
"label": "计划处理时间",
"type": "DateTimeField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__plan_ship_time",
"label": "计划出库时间",
"type": "DateTimeField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__plan_delivery_time",
"label": "计划交货时间",
"type": "DateTimeField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__priority",
"label": "订单优先级",
"type": "IntegerField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__transport_method",
"label": "运输方式",
"type": "ChoiceField",
"category": "transport_method",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__transport_method_label",
"label": "运输方式",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__pay_method",
"label": "支付方式",
"type": "ChoiceField",
"category": "pay_method",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__pay_method_label",
"label": "支付方式",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__pay_status",
"label": "支付状态",
"type": "ChoiceField",
"category": "pay_status",
"writable": true
},
{
"nullable": true,
"selectable": false,
"name": "so__pay_status_label",
"label": "支付状态",
"type": "StringField",
"writable": false
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__road_line",
"label": "运输路线",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__load_station",
"label": "装货站点",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__unload_station",
"label": "卸货站点",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_code",
"label": "客户编码",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_name",
"label": "客户名称",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_province",
"label": "客户省",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_city",
"label": "客户城市",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_district",
"label": "客户行政区",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_town",
"label": "客户街道",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_address",
"label": "客户地址",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_receiver",
"label": "客户收货人",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__customer_receiver_phone",
"label": "客户收货人电话",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_code",
"label": "承运商编码",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_name",
"label": "承运商名称",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_contact",
"label": "承运商联系人",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_phone",
"label": "承运商联系电话",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_plate_num",
"label": "承运商车牌号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_carriage_num",
"label": "承运商车厢/拖车号",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_driver",
"label": "承运商司机",
"type": "StringField",
"writable": true
},
{
"nullable": true,
"defaultValue": null,
"selectable": true,
"name": "so__carrier_driver_phone",
"label": "承运商司机电话",
"type": "StringField",
"writable": true
}
]
},
"meta": {
"type": "list",
"query": "outbound_pick_line_box_group_q"
},
"selectAll": false,
"selection": [
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T07:22:10.279Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00072",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0016",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T07:22:10.279Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00072",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0016",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"isCurrent": true,
"isSelected": true
}
],
"rows": [
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T07:22:10.279Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00072",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0016",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T07:22:10.279Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00072",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0016",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"isCurrent": true,
"isSelected": true
},
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T02:31:27.422Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00062",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0006",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T02:31:27.422Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00062",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0006",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
}
},
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T02:32:08.853Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00052",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0007",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T02:32:08.853Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00052",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0007",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
}
},
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T02:33:43.361Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00042",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0009",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T02:33:43.361Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00042",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0009",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
}
},
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T02:32:28.736Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00032",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0008",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T02:32:28.736Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00032",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0008",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
}
},
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 9,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-05T09:21:23.659Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 2,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00022",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210205-0002",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 9,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-05T09:21:23.659Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 2,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00022",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210205-0002",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
}
},
{
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T01:48:01.306Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00012",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0004",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T01:48:01.306Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00012",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0004",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
}
},
{
"currentData": {
"owner__name": "农夫山泉",
"so__plan_handle_time": null,
"so__priority": 0,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-02T09:04:37.845Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "200W-01",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "1000",
"total_box_qty": 20000,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "茶园工厂-原材料",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210202-0010",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210202-0007",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "276277393021341696",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "农夫山泉",
"so__plan_handle_time": null,
"so__priority": 0,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-02T09:04:37.845Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "200W-01",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "1000",
"total_box_qty": 20000,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "茶园工厂-原材料",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210202-0010",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210202-0007",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "276277393021341696",
"_TX_CODE": ""
}
}
],
"total": 8,
"pageNum": 1,
"pageSize": 20,
"query": {
"id": "",
"title": "",
"selected": "",
"common": false,
"sort_order": 1000,
"fields": [],
"display": [],
"filter": {
"fields": [],
"sql": ""
},
"keyword": {
"value": "",
"fields": [
"so_no",
"box_no",
"wave_no"
],
"exact": false,
"partialMatchMode": "contain",
"caseSensitive": true
},
"refFields": [],
"order": [],
"defaultOrder": [],
"listHeaderSort": [],
"aggregation": {},
"quickFilter": {
"relationDataset": "box_pick_line__quickFilterDataSet",
"fields": [
{
"name": "name",
"label": "仓库",
"ignore": false,
"caseSensitive": true,
"quickFilterField": "warehouse_id",
"restriction": "eq"
}
]
}
},
"aggregationRow": {},
"currentRow": {
"currentData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T07:22:10.279Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00072",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0016",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"originalData": {
"owner__name": "GRT 广汽乘用车",
"so__plan_handle_time": null,
"so__priority": 1,
"so__carrier_driver": null,
"so__wave_no": null,
"so__customer_code": null,
"so__carrier_contact": null,
"so__customer_receiver": null,
"from_location_count": 1,
"so__order_time": "2021-02-07T07:22:10.279Z",
"so__customer_city": null,
"so__plan_ship_time": null,
"warehouse__code": "GBLGZ",
"so__customer_name": null,
"so__bill_status_label": "已分配",
"so__pay_status": null,
"so__carrier_code": null,
"so__customer_town": null,
"owner__code": "GRT",
"total_box_qty": 1,
"so__type_label": "销售出库",
"so__road_line": null,
"so__block_status": "0",
"so__carrier_phone": null,
"so__bill_status": "300",
"so__customer_receiver_phone": null,
"so__customer_province": null,
"so__plan_delivery_time": null,
"so__carrier_driver_phone": null,
"so__block_status_label": "未拦截",
"so__carrier_name": null,
"so__load_station": null,
"warehouse__name": "GBL 广州中心仓库",
"so__ext_so_no": null,
"so__carrier_plate_num": null,
"so__delivery_no": null,
"so__customer_district": null,
"from_zone_count": 1,
"box_no": "BX20210207-00072",
"so__pay_method": null,
"so__transport_method": null,
"so__so_no": "SO20210207-0016",
"so__unload_station": null,
"so__type": "100",
"so__customer_address": null,
"so__carrier_carriage_num": null,
"warehouse_id": "274133627011469312",
"_TX_CODE": ""
},
"isCurrent": true,
"isSelected": true
},
"columnAttrs": [
{
"name": "warehouse__name",
"width": "100",
"title": "仓库",
"use": "lw-list-label"
},
{
"name": "box_no",
"width": "130",
"title": "虚拟箱号",
"use": "lw-list-label"
},
{
"name": "total_box_qty",
"width": "100",
"title": "数量",
"use": "lw-list-label"
},
{
"name": "from_zone_count",
"width": "100",
"title": "库区数",
"use": "lw-list-label"
},
{
"name": "from_location_count",
"width": "100",
"title": "库位数",
"use": "lw-list-label"
},
{
"name": "owner__code",
"width": "100",
"title": "货主编码",
"use": "lw-list-label"
},
{
"name": "owner__name",
"width": "100",
"title": "货主名称",
"use": "lw-list-label"
},
{
"name": "so__so_no",
"width": "130",
"title": "出库订单号",
"use": "lw-list-label"
},
{
"name": "so__ext_so_no",
"width": "130",
"title": "外部订单号",
"use": "lw-list-label"
},
{
"name": "so__type",
"width": "100",
"title": "订单类型",
"use": "lw-list-select",
"displayName": "so__type_label"
},
{
"name": "so__priority",
"width": "100",
"title": "订单优先级",
"use": "lw-list-label"
},
{
"name": "so__bill_status",
"width": "100",
"title": "状态",
"use": "lw-list-select",
"displayName": "so__bill_status_label"
},
{
"name": "so__block_status",
"width": "100",
"title": "拦截状态",
"use": "lw-list-select",
"displayName": "so__block_status_label"
},
{
"name": "so__order_time",
"width": "100",
"title": "订单时间",
"use": "lw-list-label",
"dateFormat": "yyyy-MM-dd HH:mm:ss"
},
{
"name": "so__plan_handle_time",
"width": "100",
"title": "计划处理时间",
"use": "lw-list-label",
"dateFormat": "yyyy-MM-dd HH:mm:ss"
},
{
"name": "so__plan_ship_time",
"width": "100",
"title": "计划出库时间",
"use": "lw-list-label",
"dateFormat": "yyyy-MM-dd HH:mm:ss"
},
{
"name": "so__plan_delivery_time",
"width": "100",
"title": "计划交货时间",
"use": "lw-list-label",
"dateFormat": "yyyy-MM-dd HH:mm:ss"
},
{
"name": "so__transport_method",
"width": "100",
"title": "运输方式",
"use": "lw-list-select",
"displayName": "so__transport_method_label"
},
{
"name": "so__pay_method",
"width": "100",
"title": "支付方式",
"use": "lw-list-select",
"displayName": "so__pay_method_label"
},
{
"name": "so__pay_status",
"width": "100",
"title": "支付状态",
"use": "lw-list-select",
"displayName": "so__pay_status_label"
},
{
"name": "so__road_line",
"width": "100",
"title": "运输路线",
"use": "lw-list-label"
},
{
"name": "so__load_station",
"width": "100",
"title": "装货站点",
"use": "lw-list-label"
},
{
"name": "so__unload_station",
"width": "100",
"title": "卸货站点",
"use": "lw-list-label"
},
{
"name": "so__customer_code",
"width": "100",
"title": "客户编码",
"use": "lw-list-label"
},
{
"name": "so__customer_name",
"width": "100",
"title": "客户名称",
"use": "lw-list-label"
},
{
"name": "so__customer_province",
"width": "100",
"title": "客户省",
"use": "lw-list-label"
},
{
"name": "so__customer_city",
"width": "100",
"title": "客户城市",
"use": "lw-list-label"
},
{
"name": "so__customer_district",
"width": "100",
"title": "客户行政区",
"use": "lw-list-label"
},
{
"name": "so__customer_town",
"width": "100",
"title": "客户街道",
"use": "lw-list-label"
},
{
"name": "so__customer_address",
"width": "100",
"title": "客户地址",
"use": "lw-list-label"
},
{
"name": "so__customer_receiver",
"width": "100",
"title": "客户收货人",
"use": "lw-list-label"
},
{
"name": "so__customer_receiver_phone",
"width": "100",
"title": "客户收货人电话",
"use": "lw-list-label"
},
{
"name": "so__carrier_code",
"width": "100",
"title": "承运商编码",
"use": "lw-list-label"
},
{
"name": "so__carrier_name",
"width": "100",
"title": "承运商名称",
"use": "lw-list-label"
},
{
"name": "so__carrier_contact",
"width": "100",
"title": "承运商联系人",
"use": "lw-list-label"
},
{
"name": "so__carrier_phone",
"width": "100",
"title": "承运商联系电话",
"use": "lw-list-label"
},
{
"name": "so__carrier_plate_num",
"width": "130",
"title": "承运商车牌号",
"use": "lw-list-label"
},
{
"name": "so__carrier_carriage_num",
"width": "130",
"title": "承运商车厢/拖车号",
"use": "lw-list-label"
},
{
"name": "so__carrier_driver",
"width": "100",
"title": "承运商司机",
"use": "lw-list-label"
},
{
"name": "so__carrier_driver_phone",
"width": "100",
"title": "承运商司机电话",
"use": "lw-list-label"
}
],
"datasetCache": true,
"getTotalBy": "count",
"totalBy": "count",
"countLimit": 1000,
"pageTurning": false
},
"additionalDatas": {
"outbound_pick_generate_page": {
"selectedRows": [
{
"currentData": {
"total_box_qty": "",
"from_zone_count": "",
"from_location_count": "",
"warehouse_id": "274133627011469312",
"warehouse__code": "GBLGZ",
"warehouse__name": "GBL 广州中心仓库",
"owner__code": "",
"owner__name": "",
"box_no": "",
"so__so_no": "",
"so__ext_so_no": "",
"so__delivery_no": "",
"so__wave_no": "",
"so__type": "",
"so__type_label": "",
"so__bill_status": "",
"so__bill_status_label": "",
"so__block_status": "",
"so__block_status_label": "",
"so__order_time": "",
"so__plan_handle_time": "",
"so__plan_ship_time": "",
"so__plan_delivery_time": "",
"so__priority": "",
"so__transport_method": "",
"so__transport_method_label": "",
"so__pay_method": "",
"so__pay_method_label": "",
"so__pay_status": "",
"so__pay_status_label": "",
"so__road_line": "",
"so__load_station": "",
"so__unload_station": "",
"so__customer_code": "",
"so__customer_name": "",
"so__customer_province": "",
"so__customer_city": "",
"so__customer_district": "",
"so__customer_town": "",
"so__customer_address": "",
"so__customer_receiver": "",
"so__customer_receiver_phone": "",
"so__carrier_code": "",
"so__carrier_name": "",
"so__carrier_contact": "",
"so__carrier_phone": "",
"so__carrier_plate_num": "",
"so__carrier_carriage_num": "",
"so__carrier_driver": "",
"so__carrier_driver_phone": "",
"_TX_CODE": "",
"pick_method": "100",
"pick_uom": "EA"
},
"originalData": {
"total_box_qty": "",
"from_zone_count": "",
"from_location_count": "",
"warehouse_id": "",
"warehouse__code": "",
"warehouse__name": "",
"owner__code": "",
"owner__name": "",
"box_no": "",
"so__so_no": "",
"so__ext_so_no": "",
"so__delivery_no": "",
"so__wave_no": "",
"so__type": "",
"so__type_label": "",
"so__bill_status": "",
"so__bill_status_label": "",
"so__block_status": "",
"so__block_status_label": "",
"so__order_time": "",
"so__plan_handle_time": "",
"so__plan_ship_time": "",
"so__plan_delivery_time": "",
"so__priority": "",
"so__transport_method": "",
"so__transport_method_label": "",
"so__pay_method": "",
"so__pay_method_label": "",
"so__pay_status": "",
"so__pay_status_label": "",
"so__road_line": "",
"so__load_station": "",
"so__unload_station": "",
"so__customer_code": "",
"so__customer_name": "",
"so__customer_province": "",
"so__customer_city": "",
"so__customer_district": "",
"so__customer_town": "",
"so__customer_address": "",
"so__customer_receiver": "",
"so__customer_receiver_phone": "",
"so__carrier_code": "",
"so__carrier_name": "",
"so__carrier_contact": "",
"so__carrier_phone": "",
"so__carrier_plate_num": "",
"so__carrier_carriage_num": "",
"so__carrier_driver": "",
"so__carrier_driver_phone": "",
"_TX_CODE": ""
}
}
]
}
}
}
\ No newline at end of file
{
"selectedRows": [
{
"header": {
"currentData": {
"id": "",
"warehouse_id": "${warehouse_id}",
"asn_no": "",
"ext_no": "",
"come_from": "WMS",
"come_from_label": "",
"owner_id": "${owner_id}",
"type": "101",
"type_label": "",
"bill_status": "100",
"bill_status_label": "",
"priority": "0",
"qty": "",
"receive_qty": "",
"order_time": "",
"est_arrival_time": "",
"actual_arrival_time": "",
"start_receive_time": "",
"end_receive_time": "",
"dock_id": "",
"dock_start_time": "",
"dock_end_time": "",
"supplier_id": "",
"supplier_code": "",
"supplier_name": "",
"supplier_address": "",
"supplier_contact": "",
"supplier_phone": "",
"carrier_id": "",
"carrier_code": "",
"carrier_name": "",
"carrier_address": "",
"carrier_contact": "",
"carrier_phone": "",
"carrier_plate_num": "",
"carrier_trailer_num": "",
"carrier_driver": "",
"carrier_driver_phone": "",
"carrier_waybill_num": "",
"remark": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"warehouse__code": "${warehouse_code}",
"warehouse__name": "${warehouse_code}",
"owner__code": "${owner_code}",
"owner__name": "${owner_code}",
"dock__code": "",
"dock__name": "",
"supplier__code": "",
"supplier__name": "",
"carrier__code": "",
"carrier__name": "",
"_TX_CODE": ""
},
"originalData": {
"id": "",
"warehouse_id": "",
"asn_no": "",
"ext_no": "",
"come_from": "WMS",
"come_from_label": "",
"owner_id": "",
"type": "",
"type_label": "",
"bill_status": "100",
"bill_status_label": "",
"priority": "",
"qty": "",
"receive_qty": "",
"order_time": "",
"est_arrival_time": "",
"actual_arrival_time": "",
"start_receive_time": "",
"end_receive_time": "",
"dock_id": "",
"dock_start_time": "",
"dock_end_time": "",
"supplier_id": "",
"supplier_code": "",
"supplier_name": "",
"supplier_address": "",
"supplier_contact": "",
"supplier_phone": "",
"carrier_id": "",
"carrier_code": "",
"carrier_name": "",
"carrier_address": "",
"carrier_contact": "",
"carrier_phone": "",
"carrier_plate_num": "",
"carrier_trailer_num": "",
"carrier_driver": "",
"carrier_driver_phone": "",
"carrier_waybill_num": "",
"remark": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"warehouse__code": "",
"warehouse__name": "",
"owner__code": "",
"owner__name": "",
"dock__code": "",
"dock__name": "",
"supplier__code": "",
"supplier__name": "",
"carrier__code": "",
"carrier__name": "",
"_TX_CODE": ""
}
},
"lines": {
"rows": [
{
"currentData": {
"_TX_CODE": "I",
"id": "",
"warehouse_id": "",
"asn_id": "",
"asn_no": "",
"line_no": "",
"ext_line_no": "",
"owner_id": "",
"sku_id": "${sku_id}",
"pack_id": "${pack_id}",
"uom": "EA",
"uom_base_qty": 1,
"qty": 1,
"receive_qty": "",
"location_id": "${location_id}",
"lpn": "",
"case_num": "",
"bill_status": "100",
"bill_status_label": "",
"remark": "",
"inventory_lot_id": "",
"sku_status": "",
"receive_time": "",
"produce_time": "",
"expire_time": "",
"supplier": "",
"asn_num": "",
"purchase_num": "",
"purchase_price": "",
"lot_attribute01": "",
"lot_attribute02": "",
"lot_attribute03": "",
"lot_attribute04": "",
"lot_attribute05": "",
"lot_attribute06": "",
"lot_attribute07": "",
"lot_attribute08": "",
"lot_attribute09": "",
"lot_attribute10": "",
"lot_attribute11": "",
"lot_attribute12": "",
"lot_attribute13": "",
"lot_attribute14": "",
"lot_attribute15": "",
"lot_attribute16": "",
"lot_attribute17": "",
"lot_attribute18": "",
"lot_attribute19": "",
"lot_attribute20": "",
"sort_num": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"uom_qty": 1,
"sku__code": "${sku_code}",
"sku__name": "${sku_code}",
"pack__code": "${pack_code}",
"pack__name": "${pack_code}",
"pack__each_code": "EA",
"pack__each_qty": 1,
"pack__inner_code": "IP",
"pack__inner_qty": null,
"pack__case_code": "CS",
"pack__case_qty": null,
"pack__pallet_code": "PL",
"pack__pallet_qty": null,
"location__code": "${location_code}",
"location__name": "${location_code}",
"inventory_lot__lot": ""
},
"originalData": {
"_TX_CODE": "I",
"id": "",
"warehouse_id": "",
"asn_id": "",
"asn_no": "",
"line_no": "",
"ext_line_no": "",
"owner_id": "",
"sku_id": "",
"pack_id": "",
"uom": "",
"uom_base_qty": "",
"qty": "",
"receive_qty": "",
"location_id": "",
"lpn": "",
"case_num": "",
"bill_status": "100",
"bill_status_label": "",
"remark": "",
"inventory_lot_id": "",
"sku_status": "",
"receive_time": "",
"produce_time": "",
"expire_time": "",
"supplier": "",
"asn_num": "",
"purchase_num": "",
"purchase_price": "",
"lot_attribute01": "",
"lot_attribute02": "",
"lot_attribute03": "",
"lot_attribute04": "",
"lot_attribute05": "",
"lot_attribute06": "",
"lot_attribute07": "",
"lot_attribute08": "",
"lot_attribute09": "",
"lot_attribute10": "",
"lot_attribute11": "",
"lot_attribute12": "",
"lot_attribute13": "",
"lot_attribute14": "",
"lot_attribute15": "",
"lot_attribute16": "",
"lot_attribute17": "",
"lot_attribute18": "",
"lot_attribute19": "",
"lot_attribute20": "",
"sort_num": "",
"container_empty": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"uom_qty": "",
"sku__code": "",
"sku__name": "",
"pack__code": "",
"pack__name": "",
"pack__each_code": "EA",
"pack__each_qty": "1",
"pack__inner_code": "IP",
"pack__inner_qty": "",
"pack__case_code": "CS",
"pack__case_qty": "",
"pack__pallet_code": "PL",
"pack__pallet_qty": "",
"location__code": "",
"location__name": "",
"inventory_lot__lot": ""
}
}
]
}
}
],
"aux": {
"new": true
}
}
{
"selectedRows": [
{
"header": {
"currentData": {
"id": "",
"warehouse_id": "${warehouse_id}",
"asn_no": "",
"ext_no": "",
"come_from": "WMS",
"come_from_label": "",
"owner_id": "${owner_id}",
"type": "102",
"type_label": "",
"bill_status": "100",
"bill_status_label": "",
"priority": "0",
"qty": "",
"receive_qty": "",
"order_time": "",
"est_arrival_time": "",
"actual_arrival_time": "",
"start_receive_time": "",
"end_receive_time": "",
"dock_id": "",
"dock_start_time": "",
"dock_end_time": "",
"supplier_id": "",
"supplier_code": "",
"supplier_name": "",
"supplier_address": "",
"supplier_contact": "",
"supplier_phone": "",
"carrier_id": "",
"carrier_code": "",
"carrier_name": "",
"carrier_address": "",
"carrier_contact": "",
"carrier_phone": "",
"carrier_plate_num": "",
"carrier_trailer_num": "",
"carrier_driver": "",
"carrier_driver_phone": "",
"carrier_waybill_num": "",
"remark": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"warehouse__code": "${warehouse_code}",
"warehouse__name": "${warehouse_code}",
"owner__code": "${owner_code}",
"owner__name": "${owner_code}",
"dock__code": "",
"dock__name": "",
"supplier__code": "",
"supplier__name": "",
"carrier__code": "",
"carrier__name": "",
"_TX_CODE": ""
},
"originalData": {
"id": "",
"warehouse_id": "",
"asn_no": "",
"ext_no": "",
"come_from": "WMS",
"come_from_label": "",
"owner_id": "",
"type": "",
"type_label": "",
"bill_status": "100",
"bill_status_label": "",
"priority": "",
"qty": "",
"receive_qty": "",
"order_time": "",
"est_arrival_time": "",
"actual_arrival_time": "",
"start_receive_time": "",
"end_receive_time": "",
"dock_id": "",
"dock_start_time": "",
"dock_end_time": "",
"supplier_id": "",
"supplier_code": "",
"supplier_name": "",
"supplier_address": "",
"supplier_contact": "",
"supplier_phone": "",
"carrier_id": "",
"carrier_code": "",
"carrier_name": "",
"carrier_address": "",
"carrier_contact": "",
"carrier_phone": "",
"carrier_plate_num": "",
"carrier_trailer_num": "",
"carrier_driver": "",
"carrier_driver_phone": "",
"carrier_waybill_num": "",
"remark": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"warehouse__code": "",
"warehouse__name": "",
"owner__code": "",
"owner__name": "",
"dock__code": "",
"dock__name": "",
"supplier__code": "",
"supplier__name": "",
"carrier__code": "",
"carrier__name": "",
"_TX_CODE": ""
}
},
"lines": {
"rows": [
{
"currentData": {
"_TX_CODE": "I",
"id": "",
"warehouse_id": "",
"asn_id": "",
"asn_no": "",
"line_no": "",
"ext_line_no": "",
"owner_id": "",
"sku_id": "${sku_id}",
"pack_id": "${pack_id}",
"uom": "EA",
"uom_base_qty": 1,
"qty": 1,
"receive_qty": "",
"location_id": "${location_id}",
"lpn": "",
"case_num": "",
"bill_status": "100",
"bill_status_label": "",
"remark": "",
"inventory_lot_id": "",
"sku_status": "",
"receive_time": "",
"produce_time": "",
"expire_time": "",
"supplier": "",
"asn_num": "",
"purchase_num": "",
"purchase_price": "",
"lot_attribute01": "",
"lot_attribute02": "",
"lot_attribute03": "",
"lot_attribute04": "",
"lot_attribute05": "",
"lot_attribute06": "",
"lot_attribute07": "",
"lot_attribute08": "",
"lot_attribute09": "",
"lot_attribute10": "",
"lot_attribute11": "",
"lot_attribute12": "",
"lot_attribute13": "",
"lot_attribute14": "",
"lot_attribute15": "",
"lot_attribute16": "",
"lot_attribute17": "",
"lot_attribute18": "",
"lot_attribute19": "",
"lot_attribute20": "",
"sort_num": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"uom_qty": 1,
"sku__code": "${sku_code}",
"sku__name": "${sku_code}",
"pack__code": "${pack_code}",
"pack__name": "${pack_code}",
"pack__each_code": "EA",
"pack__each_qty": 1,
"pack__inner_code": "IP",
"pack__inner_qty": null,
"pack__case_code": "CS",
"pack__case_qty": null,
"pack__pallet_code": "PL",
"pack__pallet_qty": null,
"location__code": "${location_code}",
"location__name": "${location_code}",
"inventory_lot__lot": ""
},
"originalData": {
"_TX_CODE": "I",
"id": "",
"warehouse_id": "",
"asn_id": "",
"asn_no": "",
"line_no": "",
"ext_line_no": "",
"owner_id": "",
"sku_id": "",
"pack_id": "",
"uom": "",
"uom_base_qty": "",
"qty": "",
"receive_qty": "",
"location_id": "",
"lpn": "",
"case_num": "",
"bill_status": "100",
"bill_status_label": "",
"remark": "",
"inventory_lot_id": "",
"sku_status": "",
"receive_time": "",
"produce_time": "",
"expire_time": "",
"supplier": "",
"asn_num": "",
"purchase_num": "",
"purchase_price": "",
"lot_attribute01": "",
"lot_attribute02": "",
"lot_attribute03": "",
"lot_attribute04": "",
"lot_attribute05": "",
"lot_attribute06": "",
"lot_attribute07": "",
"lot_attribute08": "",
"lot_attribute09": "",
"lot_attribute10": "",
"lot_attribute11": "",
"lot_attribute12": "",
"lot_attribute13": "",
"lot_attribute14": "",
"lot_attribute15": "",
"lot_attribute16": "",
"lot_attribute17": "",
"lot_attribute18": "",
"lot_attribute19": "",
"lot_attribute20": "",
"sort_num": "",
"container_empty": "",
"domain_name": "",
"version": "0",
"insert_user": "",
"insert_user_common_name": "",
"insert_date": "",
"update_user": "",
"update_user_common_name": "",
"update_date": "",
"uom_qty": "",
"sku__code": "",
"sku__name": "",
"pack__code": "",
"pack__name": "",
"pack__each_code": "EA",
"pack__each_qty": "1",
"pack__inner_code": "IP",
"pack__inner_qty": "",
"pack__case_code": "CS",
"pack__case_qty": "",
"pack__pallet_code": "PL",
"pack__pallet_qty": "",
"location__code": "",
"location__name": "",
"inventory_lot__lot": ""
}
}
]
}
}
],
"aux": {
"new": true
}
}
{
"code": "null",
"message": null,
"messageCode": null,
"messageArgs": null,
"messageType": "success",
"exception": null,
"traceId": null,
"stackTrace": null,
"data": {
"total": 6,
"datas": [
{
"storage_type": "STORAGE",
"parent": "274362567319752704",
"load_capacity": null,
"zone_stage_location_id": null,
"domain_name": "DEFAULT",
"insert_user_common_name": "hello",
"zone_row_mix_rule_id": null,
"effective_date": null,
"id": "274479972138225664",
"height": 1.0,
"abc_type": null,
"section__code": "2",
"is_open": true,
"mix_rule_id": null,
"version": 1,
"section__section_type": "OTHER",
"heap_tiers": null,
"detail": null,
"gps_fence": null,
"z_coordinate": null,
"section__name": "存储区",
"latitude": null,
"insert_user": "DEFAULT.ADMIN",
"y_coordinate": null,
"layer": null,
"enabled": true,
"warehouse__code": "GBLGZ",
"zone_col_mix_rule_name": null,
"line_order": null,
"roadway_in_location_id": null,
"update_user": "DEFAULT.ADMIN",
"bay_space": null,
"bay_length": null,
"x_coordinate": null,
"calendar": null,
"model3": null,
"model2": null,
"model1": "w_location",
"address": "274133627011469312",
"line_order2": null,
"column": null,
"unload_capacity": null,
"layer_count": null,
"gateway_type": null,
"roadway__code": null,
"shelf_type": null,
"capacity_type": "volume",
"sort_num": null,
"width": 1.0,
"line_order3": null,
"bulletin": null,
"parent2": "274363078269865984",
"refer_code": "H-1-1-008",
"door": null,
"z_coordinate2": null,
"recognition": null,
"w_location_type": null,
"lose_id": false,
"expiration_date": null,
"section_type": "OTHER",
"barrier": null,
"zone": null,
"x_coordinate2": null,
"y_coordinate2": null,
"longitude": null,
"truck_type": null,
"w_zone_type": null,
"pack_handle_type": null,
"insert_date": "2021-01-27T10:05:24.949Z",
"dock_type": null,
"operation_interval": null,
"storage_type_label": "存储",
"mix_rule_name": null,
"update_date": "2021-02-05T09:16:52.737Z",
"capacity_type_label": "volume",
"volume": null,
"is_auto": false,
"zone__code": "2",
"qty": null,
"speaker": null,
"bays": null,
"name": "H-1-1-008",
"roadway": null,
"_id": "274479972138225664",
"code": "H-1-1-008",
"stack_limit": null,
"storage_condition": null,
"truck": null,
"sku_form_types": null,
"description": null,
"rule": null,
"heap_lines": null,
"roadway__name": null,
"wx_fence": null,
"section_type_label": "存储库房/区段",
"zone_row_mix_rule_name": null,
"zone__name": "存储库区",
"row": null,
"floor": null,
"static_minute": null,
"roadway_out_location_id": null,
"_html": "H-1-1-008",
"length": 1.0,
"hight_low_type": null,
"berthing_time": null,
"warehouse__name": "GBL 广州中心仓库",
"update_user_common_name": "hello",
"ground_pallet_count": null,
"zone_col_mix_rule_id": null,
"avl_qty": null,
"section__section_type_label": "存储库房/区段"
},
{
"storage_type": "STORAGE",
"parent": "274362567319752704",
"load_capacity": null,
"zone_stage_location_id": null,
"domain_name": "DEFAULT",
"insert_user_common_name": "hello",
"zone_row_mix_rule_id": null,
"effective_date": null,
"id": "274425748457132032",
"height": 1.0,
"abc_type": null,
"section__code": "2",
"is_open": true,
"mix_rule_id": null,
"version": 1,
"section__section_type": "OTHER",
"heap_tiers": null,
"detail": null,
"gps_fence": null,
"z_coordinate": null,
"section__name": "存储区",
"latitude": null,
"insert_user": "DEFAULT.ADMIN",
"y_coordinate": null,
"layer": null,
"enabled": true,
"warehouse__code": "GBLGZ",
"zone_col_mix_rule_name": null,
"line_order": null,
"roadway_in_location_id": null,
"update_user": "DEFAULT.ADMIN",
"bay_space": null,
"bay_length": null,
"x_coordinate": null,
"calendar": null,
"model3": null,
"model2": null,
"model1": "w_location",
"address": "274133627011469312",
"line_order2": null,
"column": null,
"unload_capacity": null,
"layer_count": null,
"gateway_type": null,
"roadway__code": "s2",
"shelf_type": null,
"capacity_type": "volume",
"sort_num": null,
"width": 1.0,
"line_order3": null,
"bulletin": null,
"parent2": "274363078269865984",
"refer_code": "H-1-1-003",
"door": null,
"z_coordinate2": null,
"recognition": null,
"w_location_type": null,
"lose_id": false,
"expiration_date": null,
"section_type": "OTHER",
"barrier": null,
"zone": null,
"x_coordinate2": null,
"y_coordinate2": null,
"longitude": null,
"truck_type": null,
"w_zone_type": null,
"pack_handle_type": null,
"insert_date": "2021-01-27T06:29:57.016Z",
"dock_type": null,
"operation_interval": null,
"storage_type_label": "存储",
"mix_rule_name": null,
"update_date": "2021-02-05T09:16:58.776Z",
"capacity_type_label": "volume",
"volume": null,
"is_auto": false,
"zone__code": "2",
"qty": null,
"speaker": null,
"bays": null,
"name": "H-1-1-003",
"roadway": "274362446045646848",
"_id": "274425748457132032",
"code": "H-1-1-003",
"stack_limit": null,
"storage_condition": null,
"truck": null,
"sku_form_types": null,
"description": null,
"rule": null,
"heap_lines": null,
"roadway__name": "XD002",
"wx_fence": null,
"section_type_label": "存储库房/区段",
"zone_row_mix_rule_name": null,
"zone__name": "存储库区",
"row": null,
"floor": null,
"static_minute": null,
"roadway_out_location_id": null,
"_html": "H-1-1-003",
"length": 1.0,
"hight_low_type": null,
"berthing_time": null,
"warehouse__name": "GBL 广州中心仓库",
"update_user_common_name": "hello",
"ground_pallet_count": null,
"zone_col_mix_rule_id": null,
"avl_qty": null,
"section__section_type_label": "存储库房/区段"
},
{
"storage_type": "STORAGE",
"parent": "274362567319752704",
"load_capacity": null,
"zone_stage_location_id": null,
"domain_name": "DEFAULT",
"insert_user_common_name": "hello",
"zone_row_mix_rule_id": null,
"effective_date": null,
"id": "274424516489383936",
"height": 1.0,
"abc_type": null,
"section__code": "2",
"is_open": true,
"mix_rule_id": null,
"version": 1,
"section__section_type": "OTHER",
"heap_tiers": null,
"detail": null,
"gps_fence": null,
"z_coordinate": null,
"section__name": "存储区",
"latitude": null,
"insert_user": "DEFAULT.ADMIN",
"y_coordinate": null,
"layer": null,
"enabled": true,
"warehouse__code": "GBLGZ",
"zone_col_mix_rule_name": null,
"line_order": null,
"roadway_in_location_id": null,
"update_user": "DEFAULT.ADMIN",
"bay_space": null,
"bay_length": null,
"x_coordinate": null,
"calendar": null,
"model3": null,
"model2": null,
"model1": "w_location",
"address": "274133627011469312",
"line_order2": null,
"column": null,
"unload_capacity": null,
"layer_count": null,
"gateway_type": null,
"roadway__code": null,
"shelf_type": null,
"capacity_type": "volume",
"sort_num": null,
"width": 1.0,
"line_order3": null,
"bulletin": null,
"parent2": "274363078269865984",
"refer_code": "H-1-1-002",
"door": null,
"z_coordinate2": null,
"recognition": null,
"w_location_type": null,
"lose_id": false,
"expiration_date": null,
"section_type": "OTHER",
"barrier": null,
"zone": null,
"x_coordinate2": null,
"y_coordinate2": null,
"longitude": null,
"truck_type": null,
"w_zone_type": null,
"pack_handle_type": null,
"insert_date": "2021-01-27T06:25:03.289Z",
"dock_type": null,
"operation_interval": null,
"storage_type_label": "存储",
"mix_rule_name": null,
"update_date": "2021-02-05T09:17:06.019Z",
"capacity_type_label": "volume",
"volume": null,
"is_auto": false,
"zone__code": "2",
"qty": null,
"speaker": null,
"bays": null,
"name": "H-1-1-002",
"roadway": null,
"_id": "274424516489383936",
"code": "H-1-1-002",
"stack_limit": null,
"storage_condition": null,
"truck": null,
"sku_form_types": null,
"description": null,
"rule": null,
"heap_lines": null,
"roadway__name": null,
"wx_fence": null,
"section_type_label": "存储库房/区段",
"zone_row_mix_rule_name": null,
"zone__name": "存储库区",
"row": null,
"floor": null,
"static_minute": null,
"roadway_out_location_id": null,
"_html": "H-1-1-002",
"length": 1.0,
"hight_low_type": null,
"berthing_time": null,
"warehouse__name": "GBL 广州中心仓库",
"update_user_common_name": "hello",
"ground_pallet_count": null,
"zone_col_mix_rule_id": null,
"avl_qty": null,
"section__section_type_label": "存储库房/区段"
},
{
"storage_type": "STORAGE",
"parent": "274362567319752704",
"load_capacity": null,
"zone_stage_location_id": null,
"domain_name": "DEFAULT",
"insert_user_common_name": "hello",
"zone_row_mix_rule_id": null,
"effective_date": null,
"id": "274418734473547776",
"height": 1.0,
"abc_type": null,
"section__code": "2",
"is_open": true,
"mix_rule_id": null,
"version": 1,
"section__section_type": "OTHER",
"heap_tiers": null,
"detail": null,
"gps_fence": null,
"z_coordinate": null,
"section__name": "存储区",
"latitude": null,
"insert_user": "DEFAULT.ADMIN",
"y_coordinate": null,
"layer": null,
"enabled": true,
"warehouse__code": "GBLGZ",
"zone_col_mix_rule_name": null,
"line_order": null,
"roadway_in_location_id": null,
"update_user": "DEFAULT.ADMIN",
"bay_space": null,
"bay_length": null,
"x_coordinate": null,
"calendar": null,
"model3": null,
"model2": null,
"model1": "w_location",
"address": "274133627011469312",
"line_order2": null,
"column": null,
"unload_capacity": null,
"layer_count": null,
"gateway_type": null,
"roadway__code": null,
"shelf_type": null,
"capacity_type": "volume",
"sort_num": null,
"width": 1.0,
"line_order3": null,
"bulletin": null,
"parent2": "274363078269865984",
"refer_code": "H-1-1-001",
"door": null,
"z_coordinate2": null,
"recognition": null,
"w_location_type": null,
"lose_id": false,
"expiration_date": null,
"section_type": "OTHER",
"barrier": null,
"zone": null,
"x_coordinate2": null,
"y_coordinate2": null,
"longitude": null,
"truck_type": null,
"w_zone_type": null,
"pack_handle_type": null,
"insert_date": "2021-01-27T06:02:04.749Z",
"dock_type": null,
"operation_interval": null,
"storage_type_label": "存储",
"mix_rule_name": null,
"update_date": "2021-02-05T09:17:12.991Z",
"capacity_type_label": "volume",
"volume": null,
"is_auto": false,
"zone__code": "2",
"qty": null,
"speaker": null,
"bays": null,
"name": "H-1-1-001",
"roadway": null,
"_id": "274418734473547776",
"code": "H-1-1-001",
"stack_limit": null,
"storage_condition": null,
"truck": null,
"sku_form_types": null,
"description": null,
"rule": null,
"heap_lines": null,
"roadway__name": null,
"wx_fence": null,
"section_type_label": "存储库房/区段",
"zone_row_mix_rule_name": null,
"zone__name": "存储库区",
"row": null,
"floor": null,
"static_minute": null,
"roadway_out_location_id": null,
"_html": "H-1-1-001",
"length": 1.0,
"hight_low_type": null,
"berthing_time": null,
"warehouse__name": "GBL 广州中心仓库",
"update_user_common_name": "hello",
"ground_pallet_count": null,
"zone_col_mix_rule_id": null,
"avl_qty": null,
"section__section_type_label": "存储库房/区段"
},
{
"storage_type": "STORAGE",
"parent": "274362567319752704",
"load_capacity": null,
"zone_stage_location_id": null,
"domain_name": "DEFAULT",
"insert_user_common_name": "hello",
"zone_row_mix_rule_id": null,
"effective_date": null,
"id": "274363290136743936",
"height": 1.0,
"abc_type": null,
"section__code": "2",
"is_open": true,
"mix_rule_id": null,
"version": 2,
"section__section_type": "OTHER",
"heap_tiers": null,
"detail": null,
"gps_fence": null,
"z_coordinate": null,
"section__name": "存储区",
"latitude": null,
"insert_user": "DEFAULT.ADMIN",
"y_coordinate": null,
"layer": "1",
"enabled": true,
"warehouse__code": "GBLGZ",
"zone_col_mix_rule_name": null,
"line_order": null,
"roadway_in_location_id": null,
"update_user": "DEFAULT.ADMIN",
"bay_space": null,
"bay_length": null,
"x_coordinate": null,
"calendar": null,
"model3": null,
"model2": null,
"model1": "w_location",
"address": "274133627011469312",
"line_order2": null,
"column": "1",
"unload_capacity": null,
"layer_count": 1,
"gateway_type": null,
"roadway__code": "s2",
"shelf_type": "OTHER",
"capacity_type": "volume",
"sort_num": null,
"width": 1.0,
"line_order3": null,
"bulletin": null,
"parent2": "274363078269865984",
"refer_code": "存储-01",
"door": null,
"z_coordinate2": null,
"recognition": null,
"w_location_type": null,
"lose_id": false,
"expiration_date": null,
"section_type": "OTHER",
"barrier": null,
"zone": null,
"x_coordinate2": null,
"y_coordinate2": null,
"longitude": null,
"truck_type": null,
"w_zone_type": null,
"pack_handle_type": null,
"insert_date": "2021-01-27T02:21:45.791Z",
"dock_type": null,
"operation_interval": null,
"storage_type_label": "存储",
"mix_rule_name": null,
"update_date": "2021-01-27T02:49:34.566Z",
"capacity_type_label": "volume",
"shelf_type_label": "其他",
"volume": null,
"is_auto": false,
"zone__code": "2",
"qty": null,
"speaker": null,
"bays": null,
"name": "存储-01",
"roadway": "274362446045646848",
"_id": "274363290136743936",
"code": "2",
"stack_limit": null,
"storage_condition": null,
"truck": null,
"sku_form_types": null,
"description": null,
"rule": null,
"heap_lines": null,
"roadway__name": "XD002",
"wx_fence": null,
"section_type_label": "存储库房/区段",
"zone_row_mix_rule_name": null,
"zone__name": "存储库区",
"row": "1",
"floor": null,
"static_minute": null,
"roadway_out_location_id": null,
"_html": "2",
"length": 1.0,
"hight_low_type": null,
"berthing_time": null,
"warehouse__name": "GBL 广州中心仓库",
"update_user_common_name": "hello",
"ground_pallet_count": null,
"zone_col_mix_rule_id": null,
"avl_qty": null,
"section__section_type_label": "存储库房/区段"
},
{
"storage_type": "TEMP",
"parent": "274346390933606400",
"load_capacity": null,
"zone_stage_location_id": null,
"domain_name": "DEFAULT",
"insert_user_common_name": "hello",
"zone_row_mix_rule_id": null,
"effective_date": null,
"id": "274347153684566016",
"height": 1.0,
"abc_type": null,
"section__code": "1",
"is_open": true,
"mix_rule_id": null,
"version": 1,
"section__section_type": "STAGED",
"heap_tiers": null,
"detail": null,
"gps_fence": null,
"z_coordinate": null,
"section__name": "1",
"latitude": null,
"insert_user": "DEFAULT.ADMIN",
"y_coordinate": null,
"layer": "1",
"enabled": true,
"warehouse__code": "GBLGZ",
"zone_col_mix_rule_name": null,
"line_order": null,
"roadway_in_location_id": null,
"update_user": "DEFAULT.ADMIN",
"bay_space": null,
"bay_length": null,
"x_coordinate": null,
"calendar": null,
"model3": null,
"model2": null,
"model1": "w_location",
"address": "274133627011469312",
"line_order2": null,
"column": "1",
"unload_capacity": null,
"layer_count": 1,
"gateway_type": null,
"roadway__code": "1",
"shelf_type": null,
"capacity_type": "volume",
"sort_num": null,
"width": 1.0,
"line_order3": null,
"bulletin": null,
"parent2": "274346840462331904",
"refer_code": "虚拟库位",
"door": null,
"z_coordinate2": null,
"recognition": null,
"w_location_type": null,
"lose_id": false,
"expiration_date": null,
"section_type": "STAGED",
"barrier": null,
"zone": null,
"x_coordinate2": null,
"y_coordinate2": null,
"longitude": null,
"truck_type": null,
"w_zone_type": null,
"pack_handle_type": null,
"insert_date": "2021-01-27T01:17:38.562Z",
"dock_type": null,
"operation_interval": null,
"storage_type_label": "暂存库位",
"mix_rule_name": null,
"update_date": "2021-01-27T02:14:42.714Z",
"capacity_type_label": "volume",
"volume": null,
"is_auto": false,
"zone__code": "1",
"qty": null,
"speaker": null,
"bays": null,
"name": "虚拟库位",
"roadway": "274346060355342336",
"_id": "274347153684566016",
"code": "1",
"stack_limit": null,
"storage_condition": null,
"truck": null,
"sku_form_types": null,
"description": null,
"rule": null,
"heap_lines": null,
"roadway__name": "XD001",
"wx_fence": null,
"section_type_label": "暂存库房/区段",
"zone_row_mix_rule_name": null,
"zone__name": "A01",
"row": "1",
"floor": null,
"static_minute": null,
"roadway_out_location_id": null,
"_html": "1",
"length": 1.0,
"hight_low_type": null,
"berthing_time": null,
"warehouse__name": "GBL 广州中心仓库",
"update_user_common_name": "hello",
"ground_pallet_count": null,
"zone_col_mix_rule_id": null,
"avl_qty": null,
"section__section_type_label": "暂存库房/区段"
}
]
},
"qa": null,
"question": null,
"renewedToken": null,
"duration": false,
"messageDurative": false,
"deferMillis": 0,
"objectDescription": null
}
\ No newline at end of file
"""
支持用例编写的另一种方式(待扩展)
"""
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"testPass": 0,
"testResult": [
{
"CaseName": "test_template",
"api": "test_errors_save_imgs",
"parameter": "parameter",
"result": "result",
"status": "失败",
"log": null
}
],
"testName": "测试deafult报告",
"testAll": 1,
"testFail": 1,
"beginTime": "2018-01-26 16:12:03",
"totalTime": "18s",
"testSkip": 0,
"testError": 0
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
"""
执行时需要继承Testunner这个类
不允许重载__init__函数
"""
from base.case_runner import TestRunner
from base.case_runner import excel_driver
import random
def random_name(name):
return name + str(random.randint(1000, 9999))
# 仓库的相关数据替换--货主
def replace_warehouse_data(case, m_res):
for data in m_res['warehouse_info']:
if 'TEST_WAREHOUSE' in data['code']:
case.request_data['selectedRows'][0]['warehouses']['rows'][0]['currentData']['warehouse_id'] = data['id']
case.request_data['selectedRows'][0]['warehouses']['rows'][0]['currentData']['warehouse__code'] = data[
'code']
case.request_data['selectedRows'][0]['warehouses']['rows'][0]['currentData']['warehouse__name'] = data[
'refer_code']
break
for data in m_res['staff_info']:
if 'TEST_STAFF' in data['code']:
case.request_data['selectedRows'][0]['operators']['rows'][0]['currentData']['staff_num'] = data['name']
case.request_data['selectedRows'][0]['operators']['rows'][0]['currentData']['user_id'] = data[
'ext__insert_user']
case.request_data['selectedRows'][0]['operators']['rows'][0]['currentData']['staff__code'] = data[
'name']
case.request_data['selectedRows'][0]['operators']['rows'][0]['currentData']['staff__name'] = data[
'name']
case.request_data['selectedRows'][0]['operators']['rows'][0]['currentData']['operator__username'] = data[
'insert_user'].split('.')[-1]
case.request_data['selectedRows'][0]['operators']['rows'][0]['currentData']['operator__common_name'] = data[
'insert_user_common_name']
break
# 批次仓库相关
def replace_warehouse_data_batch(case, m_res):
for data in m_res['warehouse_info']:
if 'TEST_WAREHOUSE' in data['code']:
case.request_data['selectedRows'][0]['header']['currentData']['warehouse_id'] = data['id']
case.request_data['selectedRows'][0]['header']['currentData']['warehouse__code'] = data['code']
case.request_data['selectedRows'][0]['header']['currentData']['warehouse__name'] = data['refer_code']
break
def warehouse_config_parameter(case, m_res):
# 仓库参数替换
replace_warehouse_data_batch(case, m_res)
# 在途批次和库存批次规则参数替换
case.request_data['selectedRows'][0]['header']['currentData']['way_lot_rule_id'] = m_res['lot_rule_id']
case.request_data['selectedRows'][0]['header']['currentData']['lot_rule_id'] = m_res['lot_rule_id']
# 入库验证规则
case.request_data['selectedRows'][0]['header']['currentData']['in_validation_rule_id'] = m_res['rule_in_validation_id']
# 出库验证规则
case.request_data['selectedRows'][0]['header']['currentData']['out_validation_rule_id'] = m_res['rule_out_validation_id']
# 库位混放规则
case.request_data['selectedRows'][0]['header']['currentData']['loc_mix_rule_id'] = m_res['rule_mix_storage_id']
# 容器混放规则
case.request_data['selectedRows'][0]['header']['currentData']['cup_mix_rule_id'] = m_res['rule_mix_storage_id']
# 周转规则
case.request_data['selectedRows'][0]['header']['currentData']['rule_rotate_id'] = m_res['zhouzhuan_id']
# 上架规则
case.request_data['selectedRows'][0]['header']['currentData']['rule_putaway_id'] = m_res['shangjia_id']
# 分配规则
case.request_data['selectedRows'][0]['header']['currentData']['rule_allocate_id'] = m_res['rule_allocate_id']
# 切分规则
case.request_data['selectedRows'][0]['header']['currentData']['rule_cutbox_id'] = m_res['rule_cutbox_id']
# 波次规则
case.request_data['selectedRows'][0]['header']['currentData']['rule_wave_id'] = m_res['rule_wave_id']
# 拣选规则
case.request_data['selectedRows'][0]['header']['currentData']['rule_pick_order_id'] = m_res['jianxuan_id']
# 商品名称替换
def replace_good_name(case, m_res):
name = random_name('test_good')
case.request_data['selectedRows'][0]['header']['currentData']['code'] = name
case.request_data['selectedRows'][0]['header']['currentData']['refer_code'] = name
case.request_data['selectedRows'][0]['header']['currentData']['name'] = name
@excel_driver('D:\Gitee\\test_data/testcase.xlsx')
class BaseData(TestRunner):
# 重写用例执行前的方法
def before_parameter(self, case, mid_res):
"""
case-- 用例对象,可通过case.name这里的名字与excel中的字段对应即可
mid_res-- 保存的中间结果
"""
if case.name == '新增货主':
replace_warehouse_data(case, mid_res)
elif case.name in ['创建批次规则', '创建混放规则', '创建收货验证规则',
'创建周转规则', '创建上架规则', '创建上架规则明细',
'创建分配规则', '创建预分配规则', '创建切分规则', '创建波次规则',
'创建拣选规则', '创建拣选明细', '创建发货验证规则']:
replace_warehouse_data_batch(case, mid_res)
elif case.name == '创建仓库参数配置':
warehouse_config_parameter(case, mid_res)
elif case.name == '创建商品信息':
replace_good_name(case, mid_res)
if __name__ == '__main__':
BaseData().run_test()
"""
执行时需要继承Testunner这个类
不允许重载__init__函数
"""
from base.case_runner import TestRunner
from base.case_runner import excel_driver
import copy
# 到货单创建参数修改
def inbound_asn_edit(case, m_res):
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['sku_id'] = ''
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['pack_id'] = ''
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['location_id'] = ''
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['sku__code'] = ''
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['sku__name'] = ''
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['pack__code'] = ''
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['pack__name'] = ''
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['location__code'] = ''
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['location__name'] = ''
# 入库表单头处理
def order_replace(case, m_res):
tmp_data_header = copy.deepcopy(m_res['header'])
tmp_data_lines = copy.deepcopy(m_res['lines']['rows'][0])
mod_feild = ['owner_id', 'order_time', 'type', 'id',
'type_label', 'insert_date', 'warehouse__code',
'owner__code', 'warehouse__code', 'come_from_label',
'come_from', 'asn_no', 'warehouse__name', 'bill_status',
'bill_status_label', 'receipt_no']
for i in mod_feild:
if i in tmp_data_lines:
case.request_data['selectedRows'][0]['currentData'][i] = tmp_data_lines[i]
# case.request_data['aux'][i] = tmp_data_header[i]
if i in tmp_data_header:
case.request_data['aux'][i] = tmp_data_header[i]
if i == 'id':
case.request_data['selectedRows'][0]['currentData'][i] = tmp_data_header[i]
case.request_data['aux'][i] = tmp_data_header[i]
case.request_data['selectedRows'][0]['originalData'] = case.request_data['selectedRows'][0]['currentData']
def save_parameter_replace(case, m_res):
tmp_data_header = copy.deepcopy(m_res['header'])
for h in tmp_data_header.keys():
if h in case.request_data['aux']:
case.request_data['aux'][h] = tmp_data_header[h]
if h in case.request_data['selectedRows'][0]['currentData']:
case.request_data['selectedRows'][0]['currentData'][h] = tmp_data_header[h]
case.request_data['selectedRows'][0]['originalData'] = case.request_data['selectedRows'][0]['currentData']
# 上架参数处理
def execute_putaway_order_data(case, m_res):
tmp_data_header = copy.deepcopy(m_res['header'])
tmp_data_lines = copy.deepcopy(m_res['lines']['rows'][0])
for h in tmp_data_header.keys():
if h in case.request_data['aux']:
case.request_data['aux'][h] = tmp_data_header[h]
if h in case.request_data['selectedRows'][0]['header']['currentData']:
case.request_data['selectedRows'][0]['header']['currentData'][h] = tmp_data_header[h]
for r in tmp_data_lines.keys():
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData'][r] = tmp_data_lines[r]
aaa = case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']
case.request_data['selectedRows'][0]['header']['originalData'] = case.request_data['selectedRows'][0]['header']['currentData']
case.request_data['selectedRows'][0]['lines']['rows'][0]['originalData'] = aaa
case.request_data['selectedRows'][0]['lines']['currentRow']['currentData'] = aaa
case.request_data['selectedRows'][0]['lines']['currentRow']['originalData'] = aaa
# 生成上架单参数处理
def gen_pk_parameter(case, m_res):
if m_res:
for pk_info in m_res:
for t_keys in pk_info.keys():
if t_keys in case.request_data['selectedRows'][0]['currentData'].keys():
case.request_data['selectedRows'][0]['currentData'][t_keys] = pk_info[t_keys]
aaa = case.request_data['selectedRows'][0]['currentData']
case.request_data['selectedRows'][0]['originalData'] = aaa
case.request_data['aux']['selection'][0]['currentData'] = aaa
case.request_data['aux']['selection'][0]['originalData'] = aaa
case.request_data['aux']['rows'][0]['currentData'] = aaa
case.request_data['aux']['rows'][0]['originalData'] = aaa
@excel_driver('D:/Gitee/test_data/testcase.xlsx')
class GQTest(TestRunner):
# 重写用例执行前的方法
def before_parameter(self, case, mid_res):
"""
case-- 用例对象,可通过case.name这里的名字与excel中的字段对应即可
mid_res-- 保存的中间结果
"""
if case.name == '增加库位':
case.request_data['selectedRows'][0]['header']['currentData']['code'] = 'H-1-1-008'
case.request_data['selectedRows'][0]['header']['currentData']['refer_code'] = 'H-1-1-008'
case.request_data['selectedRows'][0]['header']['currentData']['name'] = 'H-1-1-008'
elif '到货单创建' in case.name:
pass
elif case.name in ['提交到货单', '确认到货单', '删除到货单', '删除到货单异常']:
order_replace(case, mid_res['sub_data'])
elif case.name in ['整单收货', '确认完成收货', '生成上架单', '撤回到货单', '整单回转收货']:
save_parameter_replace(case, mid_res['order_info'])
elif '到货单创建' in case.name:
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['location_id'] = \
mid_res.get('location')['id']
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['location__code'] = \
mid_res.get('location')['code']
case.request_data['selectedRows'][0]['lines']['rows'][0]['currentData']['location__name'] = \
mid_res.get('location')['name']
elif case.name in ['上架单查询', '发放上架', '执行上架', '取消上架']:
if case.name == '上架单查询':
putaway_msg = mid_res.get('putaway_msg')
mid_res['putaway_num'] = putaway_msg[-15:]
case.request_data['keyword']['value'] = putaway_msg[-15:]
elif case.name == '执行上架':
execute_putaway_order_data(case, mid_res['execute_putaway_data'])
else:
order_replace(case, mid_res['putaway_info'])
elif case.name in ['分配库存']:
save_parameter_replace(case, mid_res['output_order_info'])
elif case.name in ['生成拣选单']:
gen_pk_parameter(case, mid_res['pk_info'])
if __name__ == '__main__':
GQTest().run_test()
from openpyxl import load_workbook
class OperatorExcel:
def __init__(self, case_path=None):
if case_path:
self.case_path = case_path
else:
case_path = '../data/template_testcase.xlsx'
self.api_case = load_workbook(case_path)['api']
self.scene_case = load_workbook(case_path)['scene']
# 获取所有用例
def get_all_case(self):
case_data = []
for row in range(1, self.api_case.max_row+1):
case = []
for column in range(1, self.api_case.max_column+1):
case.append(self.api_case.cell(row=row, column=column).value)
case_data.append(case)
return case_data
def get_scene_case(self):
case_data = []
for row in range(1, self.scene_case.max_row + 1):
case = []
for column in range(1, self.scene_case.max_column + 1):
case.append(self.scene_case.cell(row=row, column=column).value)
case_data.append(case)
return case_data
if __name__ == '__main__':
# print(OperatorExcel().get_all_case())
print(OperatorExcel().get_scene_case())
\ No newline at end of file
from base import loginfo
from base.setting import setting
from base.base_request import ApiRequests
import json
# 获取登录后的cookie
def get_token():
loginfo.debug('token获取中……')
parameter = {"username": setting.login['username'],
"password": setting.login['password'],
"captcha": {"captcha": "", "timestamp": "", "sign": ""}}
res = ApiRequests().run_main('api/auth/login', data=parameter)
if 'success' in res:
loginfo.debug('token 获取成功')
return {'Cookie': '_t_logwire=' + json.loads(res)['data']['token']}
else:
loginfo.debug('获取失败')
Markdown is supported
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