🐞 fix(ID1001473):【内部商城】-功能{-发货列表}:内部小程序发货列表扫码没显示发货订单详情
This commit is contained in:
parent
0463005c92
commit
addbabac64
@ -151,6 +151,7 @@ const Delivery: FC = () => {
|
|||||||
const handleScan = () => {
|
const handleScan = () => {
|
||||||
Taro.scanCode({
|
Taro.scanCode({
|
||||||
success(res) {
|
success(res) {
|
||||||
|
console.log(res, '22222')
|
||||||
setSearch(e => ({ ...e, delivery_notice_order_no: res.result }))
|
setSearch(e => ({ ...e, delivery_notice_order_no: res.result }))
|
||||||
},
|
},
|
||||||
fail(res) {
|
fail(res) {
|
||||||
@ -177,7 +178,7 @@ const Delivery: FC = () => {
|
|||||||
return (
|
return (
|
||||||
<View className={styles.delivery}>
|
<View className={styles.delivery}>
|
||||||
<View className={styles.searchBox}>
|
<View className={styles.searchBox}>
|
||||||
<Search placeholder="请输入或扫描条形码" showBtn={false} changeOnSearch={getSearchData} customRightSlot={scanIcon()}>
|
<Search placeholder="请输入或扫描条形码" showBtn={false} changeOnSearch={getSearchData} customRightSlot={scanIcon()} defaultValue={search.delivery_notice_order_no}>
|
||||||
<View onClick={onShowFilter} className={styles.icon__filter}>
|
<View onClick={onShowFilter} className={styles.icon__filter}>
|
||||||
<IconText svg iconName="icon-shaixuan" text="筛选" customClass={styles['icon--filter']} />
|
<IconText svg iconName="icon-shaixuan" text="筛选" customClass={styles['icon--filter']} />
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user