@zhou333666
2017-08-03T14:00:37.000000Z
字数 1237
阅读 702
未分类
data: {
errors: [
'列不存在[价格]'
],
item_errors: [
]
}
## 货品错误
data: {
total: 120,
success: 119,
fail: 1,
errors: [
],
item_errors: [
{
id:'HP111',
errors: [
‘价格为负[-3.5]’
]
}
]
}
data: {
total: 120,
success: 119,
fail: 1,
errors: [
],
item_errors: [
{
id:'RKD123',
errors: [
‘入库时间错误’
],
item_errors: [
{
id:'HP111',
errors: [
‘条码不存在’,
]
}
]
}
]
}
{msg:
[
{
entity:报表名称,
id:报表单号,
total:总导入数据条数,
success:导入成功数据条数,
fail:失败数据条数
error:'报表出错信息:列不对,入库单已导入',
error_items[
{
entity:"一行数据能标识的地方",
id:"标识号",
error:'出错原因'
}
]
},
{
entity:报表名称,
id:报表单号2,
total:,
success:,
fail:
error:,
error_items[
]
}
]
}
{msg:
[{
entity:商品信息,
id:null,
total:120,
success:0,
fail:120,
error:'列排序不对,是否自营应该第18列',
error_items[
]
}]
}
{msg:
[
{
entity:商品信息,
id:null,
total:120,
success:100,
fail:20,
error:null,
error_items[
{
entity:条形码,
id:123,
error:'数据出错'
},
{
entity:条形码,
id:456,
error:'数据重复'
}
]
}
]
}
{msg:
[
{
entity:入库单,
id:123456,
total:12,
success:0,
fail:12,
error:'数据要全正确,才能导入',
error_items[
{
entity:条形码,
id:123,
error:'商品不存在'
},
{
entity:条形码,
id:456,
error:'数量不能为负|金额不能为负'
}
]
},
{
entity:入库单,
id:5689,
total:20,
success:20,
fail:0,
error:'导入成功',
error_items[
]
}
]
}