From 001b709ff083881b275214b02ff499850d87f616 Mon Sep 17 00:00:00 2001 From: Haiyi <1021441632@qq.com> Date: Sun, 9 Oct 2022 13:51:17 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=E6=8F=90=E4=BA=A4=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=98=BE=E7=A4=BA=E5=AE=A2=E6=88=B7=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/submitOrder/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/submitOrder/index.tsx b/src/pages/submitOrder/index.tsx index 6483eee..9cf475d 100644 --- a/src/pages/submitOrder/index.tsx +++ b/src/pages/submitOrder/index.tsx @@ -61,9 +61,11 @@ export default () => { }, 300) const { fetchData: infoFetch } = mpsaleOrderpreView() + const [pussName, setPusername] = useState('') //获取订单详情 const getDetail = async () => { let arr: any[] = [] + setPusername(decodeURIComponent(router.params.purchaser_name)) arr = JSON.parse(decodeURIComponent(router.params.shopping_cart_product_color_list)) let list: any[] = [] arr?.forEach(item => { @@ -170,7 +172,7 @@ export default () => { modeName={infoObj.sale_mode_name} > - {router.params.purchaser_name} + {pussName} {/* {infoObj.purchaser_phone} */}