CaiWuXiTong/config/kuka_posting.php
chenxi c32dbe57b2 feat: 接入顾家报价单导入 (#1070)
feat: 接入顾家报价单导入 (#1070)
2026-11-11 13:20:51 +08:00

108 lines
7.9 KiB
PHP

<?php
return [
'source_name' => '聚水潭销售主题分析(新版)/ 商品利润 / 明细(订单商品)',
'source_sheet' => '发货明细表',
'quotation_source_name' => '顾家报价单',
'quotation_source_sheet' => 'Sheet1',
'quotation_key_field' => 'MaterialNumber',
'quotation_status_field' => 'RecordStatus',
'quotation_fields' => [
['name' => 'fbk1', 'source' => 'Fbk1', 'label' => '物料'],
['name' => 'material_number', 'source' => 'MaterialNumber', 'label' => '物料编码'],
['name' => 'material_desc', 'source' => 'MaterialDesc', 'label' => '物料描述'],
['name' => 'supplier_account', 'source' => 'ToElsAccount', 'label' => '供应商SRM账号'],
['name' => 'supplier_name', 'source' => 'ToElsAccountName', 'label' => '供应商名称'],
['name' => 'order_unit', 'source' => 'OrderUnit', 'label' => '单位'],
['name' => 'currency', 'source' => 'Currency', 'label' => '币种'],
['name' => 'tax_rate', 'source' => 'TaxRate', 'label' => '税率', 'kind' => 'number'],
['name' => 'ladder_quantity', 'source' => 'LadderQuantity', 'label' => '阶梯数量', 'kind' => 'number'],
['name' => 'ladder_grade', 'source' => 'LadderGrade', 'label' => '阶梯价格', 'kind' => 'number'],
['name' => 'price_including_tax', 'source' => 'PriceIncludingTax', 'label' => '含税价', 'kind' => 'number'],
['name' => 'price_excluding_tax', 'source' => 'PriceExcludingTax', 'label' => '不含税价', 'kind' => 'number'],
['name' => 'purchase_organization', 'source' => 'PurchaseOrganization', 'label' => '采购组织'],
['name' => 'factory', 'source' => 'Factory', 'label' => '工厂'],
['name' => 'purchase_group', 'source' => 'PurchaseGroup', 'label' => '采购组'],
['name' => 'purchase_group_desc', 'source' => 'PurchaseGroupDesc', 'label' => '采购组名称'],
['name' => 'price_valid_date', 'source' => 'PriceValidDate', 'label' => '价格开始时间', 'kind' => 'date'],
['name' => 'price_expiry_date', 'source' => 'PriceExpiryDate', 'label' => '价格结束时间', 'kind' => 'date'],
['name' => 'create_date', 'source' => 'CreateDate', 'label' => '创建时间', 'kind' => 'date'],
['name' => 'source_type', 'source' => 'SourceType', 'label' => '价格来源'],
['name' => 'over_tolerance', 'source' => 'OverTolerance', 'label' => '超量容差率', 'kind' => 'number'],
['name' => 'lack_tolerance', 'source' => 'LackTolerance', 'label' => '不足容差率', 'kind' => 'number'],
['name' => 'record_type', 'source' => 'RecordType', 'label' => '价格记录类型'],
['name' => 'remark', 'source' => 'Remark', 'label' => '备注'],
['name' => 'confirm_control', 'source' => 'Fbk6', 'label' => '确认控制'],
['name' => 'quota', 'source' => 'Quota', 'label' => '配额'],
['name' => 'supply_source', 'source' => 'Fbk5', 'label' => '货源'],
['name' => 'price_unit', 'source' => 'Fbk14', 'label' => '价格单位'],
[
'name' => 'record_status',
'source' => 'RecordStatus',
'label' => '状态',
'kind' => 'badge',
'tones' => ['生效' => 'success', '有效' => 'success'],
],
['name' => 'material_form', 'source' => 'Fbk3', 'label' => '物料形态'],
['name' => 'create_user', 'source' => 'CreateUser', 'label' => '创建人'],
['name' => 'last_update_user', 'source' => 'LastUpdateUser', 'label' => '最后修改人'],
['name' => 'last_update_date', 'source' => 'LastUpdateDate', 'label' => '最后修改时间', 'kind' => 'date'],
],
'stores' => [
'天猫-HX旗舰店101',
'京东-HX旗舰店101',
'京东-HX旗舰店102',
'京东-HX旗舰店103',
'京东-HX旗舰店104',
'拼多多-HX旗舰店101',
'拼多多-HX旗舰店102',
'拼多多-HX旗舰店103',
'拼多多-HX旗舰店105',
'拼多多-HX旗舰店106',
'拼多多-HX旗舰店107',
'抖音-HX旗舰店101',
],
'fields' => [
['name' => 'internal_order_no', 'source' => '内部订单号', 'label' => '内部订单号'],
['name' => 'marked_labels', 'source' => '标记多标签', 'label' => '标记多标签'],
['name' => 'after_sales_order_no', 'source' => '售后单号', 'label' => '售后单号'],
['name' => 'order_type', 'source' => '订单类型', 'label' => '订单类型'],
['name' => 'online_order_no', 'source' => '线上订单号', 'label' => '线上订单号'],
['name' => 'order_status', 'source' => '订单状态', 'label' => '订单状态', 'kind' => 'badge'],
['name' => 'shipping_warehouse', 'source' => '发货仓', 'label' => '发货仓'],
['name' => 'operations_cloud_warehouse', 'source' => '运营云仓', 'label' => '运营云仓'],
['name' => 'distributor', 'source' => '分销商', 'label' => '分销商'],
['name' => 'owner_distribution', 'source' => '货主分销', 'label' => '货主分销'],
['name' => 'store_name', 'source' => '店铺', 'label' => '店铺'],
['name' => 'buyer_account', 'source' => '买家账号', 'label' => '买家账号'],
['name' => 'seller_remark', 'source' => '卖家备注', 'label' => '卖家备注'],
['name' => 'order_date', 'source' => '订单日期', 'label' => '订单日期', 'kind' => 'date'],
['name' => 'shipping_date', 'source' => '发货日期', 'label' => '发货日期', 'kind' => 'date'],
['name' => 'payment_date', 'source' => '付款日期', 'label' => '付款日期', 'kind' => 'date'],
['name' => 'receipt_confirm_date', 'source' => '确认收货日期', 'label' => '确认收货日期', 'kind' => 'date'],
['name' => 'province', 'source' => '省', 'label' => '省'],
['name' => 'city', 'source' => '市', 'label' => '市'],
['name' => 'district', 'source' => '区县', 'label' => '区县'],
['name' => 'shipping_company', 'source' => '订单快递公司', 'label' => '订单快递公司'],
['name' => 'shipping_tracking_no', 'source' => '订单快递单号', 'label' => '订单快递单号'],
['name' => 'after_sales_company', 'source' => '售后快递公司', 'label' => '售后快递公司'],
['name' => 'after_sales_tracking_no', 'source' => '售后快递单号', 'label' => '售后快递单号'],
['name' => 'receiver_name', 'source' => '收货人', 'label' => '收货人'],
['name' => 'after_sales_registered_at', 'source' => '售后登记日期', 'label' => '售后登记日期', 'kind' => 'date'],
['name' => 'after_sales_confirmed_at', 'source' => '售后确认日期', 'label' => '售后确认日期', 'kind' => 'date'],
['name' => 'receiving_warehouse', 'source' => '收货仓', 'label' => '收货仓'],
['name' => 'after_sales_category', 'source' => '售后分类', 'label' => '售后分类'],
['name' => 'problem_type', 'source' => '问题类型', 'label' => '问题类型'],
['name' => 'product_code', 'source' => '商品编码', 'label' => '商品编码'],
['name' => 'original_online_order_no', 'source' => '原始线上订单号', 'label' => '原始线上订单号'],
['name' => 'style_code', 'source' => '款式编码', 'label' => '款式编码'],
['name' => 'item_number', 'source' => '货号', 'label' => '货号'],
['name' => 'material_number', 'source' => '物料编号', 'label' => '物料编号'],
['name' => 'model', 'source' => '型号', 'label' => '型号'],
['name' => 'cost', 'source' => '成本', 'label' => '成本', 'kind' => 'number'],
['name' => 'product_material', 'source' => '产品材质', 'label' => '产品材质'],
['name' => 'shipped_quantity', 'source' => '实发数量', 'label' => '实发数量', 'kind' => 'number'],
['name' => 'shipping_amount', 'source' => '发货金额', 'label' => '发货金额', 'kind' => 'number'],
],
];