master
lml 4 months ago
parent 2ac1e1ee97
commit 4d8142471c

Binary file not shown.

@ -293,7 +293,6 @@
}
})
.then(response => {
console.log(response,'response')
if(response.data.code===200){
this.rawData = response.data.data;
// this.timelineData = this.transformData(this.rawData);

@ -1141,9 +1141,9 @@ export default {
data.shipment.parcels.label_url 标签文档的url地址 String 访问这个地址就能下载标签标签格式是pdf `.split('\n'),
tableData:[
{ id: 'shipment', field: 'shipment', fieldName: '订单信息', required: '是', dataType: 'Shipment Object', example: '', description: '订单详细信息',children:[
{ id: 'service', field: 'service', fieldName: '服务类型代码', required: '是', dataType: 'String', example: '', description: '通过/v1/sys/bdChannel/queryAllChannelList接口可以查看' },
{ id: 'shipmentType', field: 'shipmentType', fieldName: '收件地址类型', required: '是', dataType: 'string', example: '1', description: '1:FBA地址 2第三方海外仓 3商业地址 4:住宅地址' },
{ id: 'takeType', field: 'takeType', fieldName: '交货方式', required: '是', dataType: 'String', example: '1', description: '1:自送到仓 2上门提货' },
{ id: 'service', field: 'service', fieldName: '渠道', required: '是', dataType: 'String', example: '', description: '渠道必填 通过/v1/sys/bdChannel/queryAllChannelList接口可以查看' },
{ id: 'shipmentType', field: 'shipmentType', fieldName: '收件地址类型', required: '是', dataType: 'string', example: '1', description: '地址类型必填 1:FBA地址 2第三方海外仓 3商业地址 4:住宅地址' },
{ id: 'takeType', field: 'takeType', fieldName: '交货方式', required: '是', dataType: 'String', example: '1', description: '交货方式必填 1:自送到仓 2上门提货' },
{ id: 'warehouseId', field: 'warehouseId', fieldName: '交货仓库id', required: '是', dataType: 'String', example: '', description: '当选择上门提货时必填,数据从/v1/sys/bdWarehouse/queryWarehouseList接口中获取' },
{ id: 'transportMode', field: 'transportMode', fieldName: '运输方式', required: '是', dataType: 'string', example: 'AIR', description: '海运-OCEAN, 空运-AIR, 铁路-RAIL, 卡航-ROAD' },
{ id: 'store_id', field: 'store_id', fieldName: '店铺名称', required: '否', dataType: 'String', example: '', description: '默认为空' },
@ -1151,11 +1151,11 @@ export default {
{ id: 'reference_1', field: 'reference_1', fieldName: '参考号一', required: '否', dataType: 'String', example: '', description: '' },
{ id: 'reference_2', field: 'reference_2', fieldName: '参考号二', required: '否', dataType: 'String', example: '', description: '' },
{ id: 'parcel_count', field: 'parcel_count', fieldName: '箱子总数', required: '是', dataType: 'String', example: '', description: '' },
{ id: 'taxwith', field: 'taxwith', fieldName: '交税方式', required: '否', dataType: 'Int', example: '0', description: '默认值为0 什么都不选择1 不包税2 包税3 自主税号4 自税递延' },
{ id: 'taxwith', field: 'taxwith', fieldName: '交税方式', required: '否', dataType: 'Int', example: '0', description: '默认值为0 什么都不选择1 不包税2 包税3 自主税号4 自税递延 交税方式必填' },
{ id: 'deliverywith', field: 'deliverywith', fieldName: '交货条款', required: '否', dataType: 'String', example: '', description: '默认为空。ddu代表DDU; ddp代表DDP' },
{ id: 'exportwith', field: 'exportwith', fieldName: '报关', required: '否', dataType: 'Int', example: '0', description: '默认值为0 什么都不选择1 买单报关2 报关退税' },
{ id: 'exportwith', field: 'exportwith', fieldName: '报关', required: '否', dataType: 'Int', example: '0', description: '报关必填 1 买单报关2 报关退税 ' },
{ id: 'importwith', field: 'importwith', fieldName: '清关', required: '否', dataType: 'Int', example: '0', description: '默认值为0 什么都不选择1 一般贸易清关2 快件清关' },
{ id: 'attrs', field: 'attrs', fieldName: '物品属性', required: '否', dataType: 'array', example: '["elec", "magnetic"]', description: '带电elec 带磁magnetic 危险品danger 液体liquid 粉末powder 膏体paste 敏感货sensitive_goods 木制品wood 纺织品textile' },
{ id: 'attrs', field: 'attrs', fieldName: '物品属性', required: '否', dataType: 'array', example: '["elec", "magnetic"]', description: '产品属性必填 带电elec 带磁magnetic 危险品danger 液体liquid 粉末powder 膏体paste 敏感货sensitive_goods 木制品wood 纺织品textile ' },
{ id: 'vat_number', field: 'vat_number', fieldName: 'vat号', required: '否', dataType: 'String', example: '', description: '' },
{ id: 'ioss', field: 'ioss', fieldName: 'IOSS号', required: '否', dataType: 'String', example: '', description: '' },
{ id: 'eori', field: 'eori', fieldName: 'eori号', required: '否', dataType: 'String', example: '', description: '' },
@ -1163,8 +1163,8 @@ export default {
{ id: 'cod_currency', field: 'cod_currency', fieldName: '代收币种', required: '否', dataType: 'String', example: '', description: '' },
{ id: 'declaration_currency', field: 'declaration_currency', fieldName: '申报币种', required: '否', dataType: 'String', example: '', description: '' },
{ id: 'amazon_ref_id', field: 'amazon_ref_id', fieldName: 'Amazon Reference ID', required: '否', dataType: 'String', example: '', description: '' },
{ id: 'to_warehouse_code', field: 'to_warehouse_code', fieldName: '仓库代码', required: '否', dataType: 'String', example: '', description: '收件地址类型是FBA/海外仓则必填数据从获取FBA仓库编码/获取海外仓仓库编码接口中获取' },
{ id: 'to_address', field: 'to_address', fieldName: '收件人地址', required: '是', dataType: 'Address Object', example: '', description: '' },
{ id: 'to_warehouse_code', field: 'to_warehouse_code', fieldName: '仓库代码', required: '否', dataType: 'String', example: '', description: '收件地址必填 收件地址类型是FBA/海外仓则必填数据从获取FBA仓库编码/获取海外仓仓库编码接口中获取 ' },
{ id: 'to_address', field: 'to_address', fieldName: '收件人地址', required: '是', dataType: 'Address Object', example: '', description: '目的国家必填' },
{ id: 'from_address', field: 'from_address', fieldName: '发件人地址', required: '条件', dataType: 'Address Object', example: '', description: '选填如果填了Address Object必填项要填上' },
{ id: 'parcels', field: 'parcels', fieldName: '箱子', required: '是', dataType: 'Parcels Object Array', example: '', description: '' },
{ id: 'remark', field: 'remark', fieldName: '备注', required: '否', dataType: 'String', example: '', description: '' }
@ -1189,7 +1189,7 @@ export default {
{ id: 'Ext Object', field: 'Ext Object', fieldName: 'EXT相关', required: '否', dataType: 'Ext Object', example: '', description: '',children:[
{ id: 'identity_card_no', field: 'identity_card_no', fieldName: '身份证号码', required: '否', dataType: 'String', example: '', description: '' }
]},
{ id: 'Parcels Object Array', field: 'Parcels Object Array', fieldName: 'Parcels Object Array', required: '', dataType: 'Parcels Object Array', example: '', description: '',children:[
{ id: 'Parcels Object Array', field: 'Parcels Object Array', fieldName: 'Parcels Object Array', required: '', dataType: 'Parcels Object Array', example: '', description: '货物/产品明细必填',children:[
{ id: 'number', field: 'number', fieldName: '箱号', required: '是', dataType: 'String', example: 'FBAABCD1234U000001', description: '按123…顺序递增。有FBA箱号可以填写FBA箱号' },
{ id: 'client_weight', field: 'client_weight', fieldName: '重量', required: '条件', dataType: 'Number', example: '5', description: '单位kg。如果调用修改客户重量尺寸接口则必填' },
{ id: 'client_length', field: 'client_length', fieldName: '长', required: '否', dataType: 'Number', example: '120', description: '单位cm' },
@ -1246,7 +1246,18 @@ export default {
rowClassName({ row, rowIndex }) {
const selected = this.$route.query.selectedVersion;
// console.log(selectedVersion,row, rowIndex,'selectedVersionselectedVersion')
if ((row.id === 'transportMode' || row.id === 'shipmentType'||row.id === 'service'||row.id === 'takeType'||row.id === 'warehouseId'||row.id === 'to_warehouse_code')&&selected==='oldSystem') {
if ((
row.id === 'transportMode' ||
row.id === 'shipmentType'||
row.id === 'service'||
row.id === 'takeType'||
row.id === 'warehouseId'||
row.id === 'to_warehouse_code'||
row.id === 'exportwith'||
row.id === 'attrs'||
row.id === 'to_address'||
row.id === 'Parcels Object Array'
)&&selected==='oldSystem') {
return 'blueTips';
}
},

Loading…
Cancel
Save