✨ feat:根据客户传递id接口获得商品价格
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
width: 260px;
|
||||
height: 30px;
|
||||
font-size: 24px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
margin-bottom: 16px;
|
||||
@@ -48,10 +47,16 @@
|
||||
|
||||
.productNums {
|
||||
font-size: 24px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.productName {
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.rightFontsbox {
|
||||
@@ -59,7 +64,6 @@
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #F41A39;
|
||||
margin-bottom: 14px;
|
||||
@@ -94,7 +98,6 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 24px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
text-align: center;
|
||||
|
||||
@@ -20,7 +20,8 @@ interface props {
|
||||
name?: string,
|
||||
roll?: number | string,
|
||||
buyNums?: number | string,
|
||||
id?: number
|
||||
id?: number,
|
||||
weight_error?: number | string
|
||||
},
|
||||
goodList?: any[],
|
||||
onBlur?: (a: any, c: any) => void
|
||||
@@ -68,8 +69,8 @@ export default memo((props: props) => {
|
||||
<View className={styles.rightGoodbox}>
|
||||
<View className={styles.leftFontsbox}>
|
||||
<View className={styles.title}>{props.value?.code} {props.value?.name}</View>
|
||||
{/* <View className={styles.productName}>0681# 26S全棉平纹</View> */}
|
||||
<View className={styles.productNums}>剩:{props.value?.roll}件</View>
|
||||
<View className={styles.productNums}>剩:{props.value?.roll}件</View>
|
||||
<View className={styles.productName}>空差:{props?.value?.weight_error as number / 1000}Kg</View>
|
||||
</View>
|
||||
<View className={styles.rightFontsbox}>
|
||||
<View className={styles.money}>¥{props?.modeFont === 0 ? Number(props.value?.bulk_price) / 100 : props.modeFont === 1 ? Number(props.value?.length_cut_price) / 100 : Number(props.value?.weight_cut_price) / 100}{props.modeFont != 1 ? '/Kg' : '/m'}</View>
|
||||
|
||||
Reference in New Issue
Block a user