diff --git a/config/kuka_posting.php b/config/kuka_posting.php index a90e17ac..561f379f 100644 --- a/config/kuka_posting.php +++ b/config/kuka_posting.php @@ -139,11 +139,11 @@ return [ ['name' => 'material', 'source' => '材质', 'label' => '材质'], ], 'shipment_display_fields' => [ + 'shipping_date', 'online_order_no', 'order_status', 'shipping_warehouse', 'store_name', - 'shipping_date', 'product_code', 'style_code', 'item_number', diff --git a/resources/views/business/pages/posting-data/kuka-basic-data.blade.php b/resources/views/business/pages/posting-data/kuka-basic-data.blade.php index b54df63f..074342e7 100644 --- a/resources/views/business/pages/posting-data/kuka-basic-data.blade.php +++ b/resources/views/business/pages/posting-data/kuka-basic-data.blade.php @@ -258,6 +258,6 @@ 'showDirectoryIndex' => false, 'enableColumnResize' => true, 'columnWidths' => config('kuka_posting.field_widths', []), - 'columnPreferenceVersion' => 'kuka-shipment-columns-v3', + 'columnPreferenceVersion' => 'kuka-shipment-columns-v4', ]) diff --git a/tests/Feature/Business/KukaPostingBasePageTest.php b/tests/Feature/Business/KukaPostingBasePageTest.php index ed9c4c93..fb0a4845 100644 --- a/tests/Feature/Business/KukaPostingBasePageTest.php +++ b/tests/Feature/Business/KukaPostingBasePageTest.php @@ -50,7 +50,7 @@ class KukaPostingBasePageTest extends FeatureTestCase ->assertSee('data-directory-resizable="true"', false) ->assertSee('data-directory-column-resize', false) ->assertSee('directory-column-widths', false) - ->assertSee('data-directory-column-preference-version="kuka-shipment-columns-v3"', false) + ->assertSee('data-directory-column-preference-version="kuka-shipment-columns-v4"', false) ->assertSeeText('线上订单号') ->assertSeeText('订单状态') ->assertSeeText('发货仓') @@ -95,11 +95,11 @@ class KukaPostingBasePageTest extends FeatureTestCase $names = array_column($fields, 'name'); $this->assertSame( [ + 'shipping_date', 'online_order_no', 'order_status', 'shipping_warehouse', 'store_name', - 'shipping_date', 'product_code', 'style_code', 'item_number',