Commit e19a85bc authored by chen's avatar chen

fix: 修复:确认询价报价(服务消费者)详情报价按钮显示不对和列表未显示商品示图片的问题

parent 7d567154
...@@ -40,7 +40,7 @@ const Foot = (props: Iprops) => { ...@@ -40,7 +40,7 @@ const Foot = (props: Iprops) => {
} }
}; };
// 提交审核 // 提交审核
const handleSubmit = () => { const handleSubmit = () => {
if (!agreeOrRefuseFlg && !reason) { if (!agreeOrRefuseFlg && !reason) {
Toast.show(`${placeholderStr}`); Toast.show(`${placeholderStr}`);
...@@ -51,7 +51,7 @@ const Foot = (props: Iprops) => { ...@@ -51,7 +51,7 @@ const Foot = (props: Iprops) => {
state: agreeOrRefuseFlg ? 1 : 0, state: agreeOrRefuseFlg ? 1 : 0,
auditOpinion: reason auditOpinion: reason
}; };
const requApi = inputType === 2 ? const requApi = inputType === 2 ?
postTransactionMobileNotarizeEnquiryQuotedPriceSubmit : postTransactionMobileNotarizeEnquiryQuotedPriceAffirm postTransactionMobileNotarizeEnquiryQuotedPriceSubmit : postTransactionMobileNotarizeEnquiryQuotedPriceAffirm
requApi(param).then((res: any) => { requApi(param).then((res: any) => {
if (res.code === 1000) { if (res.code === 1000) {
...@@ -61,10 +61,10 @@ const Foot = (props: Iprops) => { ...@@ -61,10 +61,10 @@ const Foot = (props: Iprops) => {
Toast.show(res.message); Toast.show(res.message);
} }
}); });
}; };
// 显示/隐藏 模态框输入框 type: true-同意 2-拒绝 index: 1-报价 2-审核 // 显示/隐藏 模态框输入框 type: true-同意 2-拒绝 index: 1-报价 2-审核
const handleVisible = (flg: boolean, type: boolean, index: number ) => { const handleVisible = (flg: boolean, type: boolean, index: number ) => {
setInputType(index) setInputType(index)
...@@ -98,10 +98,10 @@ const Foot = (props: Iprops) => { ...@@ -98,10 +98,10 @@ const Foot = (props: Iprops) => {
</Text> </Text>
</View> </View>
); );
} }
if ( if (
outerStatus === 4 status === 4
) { ) {
return ( return (
<View style={[myStyle.foot, myStyle.flex]}> <View style={[myStyle.foot, myStyle.flex]}>
...@@ -113,10 +113,10 @@ const Foot = (props: Iprops) => { ...@@ -113,10 +113,10 @@ const Foot = (props: Iprops) => {
</Text> </Text>
</View> </View>
); );
} }
}; };
const ChangeReason = (value: any) => { const ChangeReason = (value: any) => {
setReason(value) setReason(value)
......
...@@ -31,7 +31,7 @@ const CheckOrderItem = (props: any) => { ...@@ -31,7 +31,7 @@ const CheckOrderItem = (props: any) => {
label = t('order.inquiry.index.innerStatus5', '提交'); label = t('order.inquiry.index.innerStatus5', '提交');
break; break;
} }
return ( return (
<> <>
{label ? ( {label ? (
...@@ -55,7 +55,7 @@ const CheckOrderItem = (props: any) => { ...@@ -55,7 +55,7 @@ const CheckOrderItem = (props: any) => {
2, 2,
0, 0,
t('order.inquiry.index.day', '天') t('order.inquiry.index.day', '天')
); );
fmtText.splice( fmtText.splice(
5, 5,
...@@ -99,13 +99,13 @@ const CheckOrderItem = (props: any) => { ...@@ -99,13 +99,13 @@ const CheckOrderItem = (props: any) => {
) : null} ) : null}
</View> </View>
{/* -------------------------- */} {/* -------------------------- */}
<View style={myStyle['box-bottome']}> <View style={myStyle['box-bottome']}>
<View style={myStyle['box-bottome-container']}> <View style={myStyle['box-bottome-container']}>
<View style={myStyle['box-article']}> <View style={myStyle['box-article']}>
<View style={myStyle['box-line']}></View> <View style={myStyle['box-line']}></View>
</View> </View>
<View> <View style={{width: '94%'}}>
<View style={myStyle['box-bottome-title']}> <View style={myStyle['box-bottome-title']}>
<Image style={myStyle['box-bottome-block']} source={BaoIcon} /> <Image style={myStyle['box-bottome-block']} source={BaoIcon} />
<Text style={myStyle['box-bottome-title-text']}> <Text style={myStyle['box-bottome-title-text']}>
...@@ -132,11 +132,10 @@ const CheckOrderItem = (props: any) => { ...@@ -132,11 +132,10 @@ const CheckOrderItem = (props: any) => {
</View> </View>
</View> </View>
<View style={myStyle['box-bottome-content-right']}> <View style={myStyle['box-bottome-content-right']}>
{/* source={{ uri: products.logo }} */} <Image
{/* <Image source={{ uri: item.imgUrl }}
source={lingxi_icon} style={myStyle['box-bottome-content-right-img']}
style={myStyle['box-bottome-content-right-img']} />
/> */}
</View> </View>
</View> </View>
{/* 这里~~~~~~· */} {/* 这里~~~~~~· */}
......
...@@ -204,6 +204,7 @@ export default (theme: ThemeStyle) => ...@@ -204,6 +204,7 @@ export default (theme: ThemeStyle) =>
'box-bottome-content-right-img': { 'box-bottome-content-right-img': {
height: 48, height: 48,
width: 48, width: 48,
borderRadius: 4
}, },
'box-bottome-foot': { 'box-bottome-foot': {
height: 35, height: 35,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment