✨ feat:提交订单显示客户名字
This commit is contained in:
parent
f551b5a015
commit
001b709ff0
@ -61,9 +61,11 @@ export default () => {
|
|||||||
}, 300)
|
}, 300)
|
||||||
|
|
||||||
const { fetchData: infoFetch } = mpsaleOrderpreView()
|
const { fetchData: infoFetch } = mpsaleOrderpreView()
|
||||||
|
const [pussName, setPusername] = useState<String>('')
|
||||||
//获取订单详情
|
//获取订单详情
|
||||||
const getDetail = async () => {
|
const getDetail = async () => {
|
||||||
let arr: any[] = []
|
let arr: any[] = []
|
||||||
|
setPusername(decodeURIComponent(router.params.purchaser_name))
|
||||||
arr = JSON.parse(decodeURIComponent(router.params.shopping_cart_product_color_list))
|
arr = JSON.parse(decodeURIComponent(router.params.shopping_cart_product_color_list))
|
||||||
let list: any[] = []
|
let list: any[] = []
|
||||||
arr?.forEach(item => {
|
arr?.forEach(item => {
|
||||||
@ -170,7 +172,7 @@ export default () => {
|
|||||||
modeName={infoObj.sale_mode_name}
|
modeName={infoObj.sale_mode_name}
|
||||||
>
|
>
|
||||||
<View className={styles.pussBox}>
|
<View className={styles.pussBox}>
|
||||||
<View className={styles.pussName}>{router.params.purchaser_name}</View>
|
<View className={styles.pussName}>{pussName}</View>
|
||||||
{/* <View className={styles.pussPhone}>{infoObj.purchaser_phone}</View> */}
|
{/* <View className={styles.pussPhone}>{infoObj.purchaser_phone}</View> */}
|
||||||
</View>
|
</View>
|
||||||
</DefaultBox>
|
</DefaultBox>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user