Commit fe98caf8e47726b46094599753dcf72554f37936
1 parent
4abb2950
fix: 修改淘宝选择器
Showing
2 changed files
with
5 additions
and
3 deletions
src/pages/Order/OrderList/OrderDrawer.tsx
... | ... | @@ -1152,7 +1152,9 @@ export default ({ onClose, data, subOrders, orderOptType }) => { |
1152 | 1152 | autoFillSalesInfo(option); |
1153 | 1153 | |
1154 | 1154 | // 检查是否是特殊的淘宝销售代码 |
1155 | - const isTaobaoSalesCode = ['TB', 'TBC', 'HCTB'].includes(value); | |
1155 | + const isTaobaoSalesCode = ['TB', 'TBC', 'HCTB', '淘宝'].includes( | |
1156 | + value, | |
1157 | + ); | |
1156 | 1158 | |
1157 | 1159 | // 清空支付渠道和支付方式 |
1158 | 1160 | form.setFieldsValue({ | ... | ... |
src/pages/Order/OrderList/OrderList.tsx
... | ... | @@ -1844,7 +1844,7 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) => { |
1844 | 1844 | '' |
1845 | 1845 | )} |
1846 | 1846 | |
1847 | - {optRecord.paths?.includes('invoicing') ? ( | |
1847 | + {/* {optRecord.paths?.includes('invoicing') ? ( | |
1848 | 1848 | <Button |
1849 | 1849 | className="p-0" |
1850 | 1850 | type="link" |
... | ... | @@ -1859,7 +1859,7 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) => { |
1859 | 1859 | </Button> |
1860 | 1860 | ) : ( |
1861 | 1861 | '' |
1862 | - )} | |
1862 | + )} */} | |
1863 | 1863 | |
1864 | 1864 | {/* {optRecord.paths?.includes('applyInvoicing') ? ( |
1865 | 1865 | <Button | ... | ... |