🐞 fix:【ID1000658】:

新版内部商城加入购物车的客户搜索无效,
【ID1000661】:序号2,3,9,10,11,13,14,22,37,38,43
This commit is contained in:
Haiyi
2022-11-08 13:54:23 +08:00
parent 7eb3394cd8
commit 4198b9b548
33 changed files with 538 additions and 369 deletions
+5 -1
View File
@@ -175,11 +175,13 @@ export default memo(() => {
}, [])
const [goodObj, setGoodsobj] = useState({})
const ShopCartRef = useRef<any>()
//点击对应商品显示购物车
const showCart = async (item) => {
setSearchObj((e) => ({ ...e, goodsId: item.id }))
setShowShopCart(true)
setGoodsobj(item)
ShopCartRef.current.SearchRef.current.clearInput()
}
//点击加展示输入框
@@ -396,7 +398,9 @@ export default memo(() => {
}
</>
}
<ShopCart handSure={() => handSure()}
<ShopCart
ref={ShopCartRef}
handSure={() => handSure()}
clientName={clientObj?.clientName}
clientId={clientObj?.clientId}
modeFont={search.modeId}