对接售后列表订单状态
This commit is contained in:
@@ -190,7 +190,7 @@ export default memo(({orderInfo, onClick}:Param) => {
|
||||
//退款
|
||||
const {fetchData: fetchDataApplyRefund} = ApplyRefundApi()
|
||||
const applyRefund = async () => {
|
||||
if(!orderInfo?.av_return_roll) return alert.none('该订单没有可退条数')
|
||||
// if(!orderInfo?.av_return_roll) return alert.none('该订单没有可退条数')
|
||||
Taro.showModal({
|
||||
title: '确定退款?',
|
||||
success: async function async (res) {
|
||||
|
||||
@@ -7,9 +7,10 @@ import classnames from "classnames";
|
||||
type Param = {
|
||||
title?: string,
|
||||
onChange?: (val: string) => void,
|
||||
placeholder?: string
|
||||
placeholder?: string,
|
||||
defaultValue?: string
|
||||
}
|
||||
export default memo(({onChange, title = '', placeholder = '请输入'}:Param) => {
|
||||
export default memo(({onChange, title = '', placeholder = '请输入', defaultValue}:Param) => {
|
||||
const [descData, setDescData] = useState({
|
||||
number: 0,
|
||||
value: '',
|
||||
|
||||
Reference in New Issue
Block a user