|
@@ -638,7 +638,8 @@ export const handleSelection = (item: any) => {
|
|
|
if (state.section.length !== 2 && item) {
|
|
|
state.section.push(item);
|
|
|
if (state.section.length === 2) {
|
|
|
- state.section = formateSelectMearure(state.section);
|
|
|
+ setSection(state.section[0].MeasureNumberXML,state.section[1].MeasureNumberXML)
|
|
|
+ //state.section = formateSelectMearure(state.section);
|
|
|
closeToast();
|
|
|
}
|
|
|
}
|
|
@@ -702,7 +703,7 @@ export const hanldeDirectSelection = (list: any[]) => {
|
|
|
state.sectionStatus = true;
|
|
|
setTimeout(() => {
|
|
|
state.section = formateSelectMearure(list);
|
|
|
- console.log(333333333,state.section)
|
|
|
+ //console.log(333333333,state.section)
|
|
|
}, 500);
|
|
|
};
|
|
|
let offsetTop = 0;
|