✨ feat:状态按钮重新对接完成进度20%
This commit is contained in:
@@ -117,7 +117,7 @@ export default memo((props: Props) => {
|
||||
订单金额
|
||||
</View>
|
||||
<View className={styles.rightFont}>
|
||||
¥{formatPriceDiv(obj.total_sale_price)}
|
||||
¥{formatPriceDiv(obj.wait_pay_amount)}
|
||||
</View>
|
||||
</View>
|
||||
<View className={styles.itemMoney}>
|
||||
|
||||
@@ -143,7 +143,6 @@ export default () => {
|
||||
clientName: '',
|
||||
sale_user_id: '',
|
||||
saleuserName: '',
|
||||
// order_no: '',
|
||||
sale_mode: undefined,
|
||||
shipment_mode: undefined
|
||||
})
|
||||
@@ -159,10 +158,7 @@ export default () => {
|
||||
})
|
||||
}
|
||||
}
|
||||
// //订单号输入框
|
||||
// const handInput = (eq) => {
|
||||
// setsearchObj((e) => ({ ...e, order_no: eq.detail.value }))
|
||||
// }
|
||||
|
||||
|
||||
//订单类型
|
||||
const [modeList, setModeList] = useState<any[]>([{ id: -1, name: '不限' }, { id: 0, name: '大货' }, { id: 1, name: '剪版' }, { id: 2, name: '散剪' }])
|
||||
@@ -243,8 +239,7 @@ export default () => {
|
||||
const handScan = () => {
|
||||
Taro.scanCode({
|
||||
success(res) {
|
||||
// setsearchObj((e) => ({ ...e, order_no: res.result }))
|
||||
setSearchField({ ...searchField, order_no: res.result })
|
||||
setSearchField((val) => ({ ...val, order_no: res.result }))
|
||||
},
|
||||
fail(res) {
|
||||
console.log(res);
|
||||
@@ -596,7 +591,7 @@ export default () => {
|
||||
return (
|
||||
<View>
|
||||
<View style={{ background: '#FFFFFF', paddingLeft: '20rpx', paddingBottom: '20rpx', position: 'sticky', top: '0', zIndex: '99' }}>
|
||||
<Search handScan={() => handScan()} showScan placeholder='搜索商品/名称/颜色/订单号' showBtn={false} changeOnSearch={getSearchData} debounceTime={300}>
|
||||
<Search handScan={() => handScan()} defaultValue={searchField.order_no} showScan placeholder='搜索商品/名称/颜色/订单号' showBtn={false} changeOnSearch={getSearchData} debounceTime={300}>
|
||||
<View className={styles.flexBox} onClick={() => showSelctPopup()}>
|
||||
<IconFont name='icon-shaixuan' size={35} color={!isDisabled ? '#0D7CFF' : ''} customClassName={styles['activeshaixuan']} />
|
||||
{/* <View className={classnames('iconfont', 'icon-shaixuan', !isDisabled ? styles.icon_shaixuan : styles.activeshaixuan)}></View> */}
|
||||
|
||||
Reference in New Issue
Block a user