First Select KSG in radio button
This commit is contained in:
parent
9da6fba311
commit
65ea82a5ff
|
|
@ -9,7 +9,7 @@ const WeightCalculatePrice = ({ itemData, CartOrderDetails, onSubmit }) => {
|
||||||
const [enteredPrice, setEnteredPrice] = useState('');
|
const [enteredPrice, setEnteredPrice] = useState('');
|
||||||
const [enteredQty, setEnteredQty] = useState('');
|
const [enteredQty, setEnteredQty] = useState('');
|
||||||
const [calculatedQty, setCalculatedQty] = useState(0);
|
const [calculatedQty, setCalculatedQty] = useState(0);
|
||||||
const [calcMode, setCalcMode] = useState('amt');
|
const [calcMode, setCalcMode] = useState('kgs');
|
||||||
|
|
||||||
const priceInputRef = useRef(null);
|
const priceInputRef = useRef(null);
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
|
|
@ -82,8 +82,8 @@ const WeightCalculatePrice = ({ itemData, CartOrderDetails, onSubmit }) => {
|
||||||
form.resetFields();
|
form.resetFields();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Radio.Button value="amt">AMT</Radio.Button>
|
|
||||||
<Radio.Button value="kgs">KGS</Radio.Button>
|
<Radio.Button value="kgs">KGS</Radio.Button>
|
||||||
|
<Radio.Button value="amt">AMT</Radio.Button>
|
||||||
</Radio.Group>
|
</Radio.Group>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue