feat:订单状态枚举更换接口

This commit is contained in:
Haiyi 2022-10-09 17:00:30 +08:00
parent 001b709ff0
commit fe16a473a2
4 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import { CAP_HTML_TO_IMAGE_BASE_URL } from '@/common/constant'
export const mpenumsaleorderstatus = () => { export const mpenumsaleorderstatus = () => {
return useRequest({ return useRequest({
url: `/v1/mp/enum/sale/order/status`, url: `/v2/mp/enum/filterMPSaleOrderStatus`,
method: "get", method: "get",
}) })
} }

View File

@ -13,7 +13,7 @@ export const BASE_URL = CURRENT_BASE_URL
// export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境 // export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境
// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞 // export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
// export const BASE_URL = `http://192.168.1.7:50002/lymarket` // 添 // export const BASE_URL = `http://192.168.1.7:50002/lymarket` // 添
// export const BASE_URL = `http://192.168.1.42:50001/lymarket` // 杰 // export const BASE_URL = `http://192.168.1.42:50002/lymarket` // 杰
// export const BASE_URL = `http://192.168.1.95:40001/lymarket` // 华 // export const BASE_URL = `http://192.168.1.95:40001/lymarket` // 华
// CDN // CDN

View File

@ -74,6 +74,9 @@ export default memo((pros: Params) => {
onBlur={(e) => pros.getInput?.(e.detail.value)} onBlur={(e) => pros.getInput?.(e.detail.value)}
></Input> ></Input>
} }
{
!pros.isInput && <View className={styles.inputStyle}>{pros.inputValue}</View>
}
</View> </View>
<View className={styles.iconFlex}></View> <View className={styles.iconFlex}></View>

View File

@ -99,7 +99,7 @@ export default () => {
<Form <Form
title={'收款账户'} title={'收款账户'}
require={false} require={false}
isInput={true} isInput={false}
disabled={true} disabled={true}
inputValue={Query.receiving_account} inputValue={Query.receiving_account}
showMore={false} showMore={false}
@ -118,7 +118,6 @@ export default () => {
placeholderStyle='font-size: 28rpx;font-weight: 400;' placeholderStyle='font-size: 28rpx;font-weight: 400;'
autoFocus autoFocus
maxlength={64} maxlength={64}
placeholder={'请填写备注信息'}
></Textarea> ></Textarea>
{/* <View className={styles.numsTotal}>{`${typeof (Query.nums) == 'undefined' ? 0 : Query.nums}/64`}</View> */} {/* <View className={styles.numsTotal}>{`${typeof (Query.nums) == 'undefined' ? 0 : Query.nums}/64`}</View> */}
</View> </View>
@ -138,6 +137,7 @@ export default () => {
</View> </View>
</View> </View>
</View > </View >
<View className={styles.safeBox} style={{ height: '200rpx' }}></View>
</> </>
) )
} }