diff --git a/static/js/app.js b/static/js/app.js index 43171b7..0876d9f 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -19824,37 +19824,48 @@ window.showSkuInfoModal = function(el, title) { html += '
| 下单时间 | '; - html += '编号 | '; - html += '名称 | '; - html += '下单数量 | '; - html += '采购跟单 | '; - html += '采购计划 | '; + html += ''; diff --git a/tests/test_packaging_loading_and_sku_modal.py b/tests/test_packaging_loading_and_sku_modal.py index 8f7f5d6..9b95aa8 100644 --- a/tests/test_packaging_loading_and_sku_modal.py +++ b/tests/test_packaging_loading_and_sku_modal.py @@ -32,6 +32,14 @@ class PackagingLoadingAndSkuModalTest(unittest.TestCase): self.assertIn('订单在途', APP_JS) self.assertIn('grid-template-columns:repeat(2,minmax(0,1fr))', APP_JS) + def test_sku_information_sections_use_bordered_tables_with_colored_headers(self): + self.assertIn('class="sku-info-basic-table"', APP_JS) + self.assertIn('class="sku-info-transit-table"', APP_JS) + self.assertIn('border:1px solid #b8c8db', APP_JS) + self.assertIn('border:1px solid #b9cdbf', APP_JS) + self.assertIn('background:#eef6ff', APP_JS) + self.assertIn('background:#edf8f0', APP_JS) + if __name__ == '__main__': unittest.main()
|---|