견적서 가격표시
This commit is contained in:
parent
44c0247c04
commit
d01d7f6791
@ -326,22 +326,22 @@ export default function Estimate({ params }) {
|
||||
|
||||
//가격 표시 option 변경 이벤트
|
||||
const onChangeStorePriceList = (priceCd) => {
|
||||
const param = {
|
||||
saleStoreId: session.storeId,
|
||||
sapSalesStoreCd: session.custCd,
|
||||
docTpCd: priceCd,
|
||||
}
|
||||
|
||||
//프라이싱 했을때 priceCd setEstimateContextState
|
||||
//화면에 보여지는 값은 showPriceCd로 관리
|
||||
setShowPriceCd(priceCd)
|
||||
// return
|
||||
// const param = {
|
||||
// saleStoreId: session.storeId,
|
||||
// sapSalesStoreCd: session.custCd,
|
||||
// docTpCd: priceCd,
|
||||
// }
|
||||
|
||||
const apiUrl = `/api/estimate/price/store-price-list?${queryStringFormatter(param)}`
|
||||
get({ url: apiUrl }).then((res) => {
|
||||
if (isNotEmptyArray(res?.data)) {
|
||||
setStorePriceList(res.data)
|
||||
}
|
||||
})
|
||||
// const apiUrl = `/api/estimate/price/store-price-list?${queryStringFormatter(param)}`
|
||||
// get({ url: apiUrl }).then((res) => {
|
||||
// if (isNotEmptyArray(res?.data)) {
|
||||
// setStorePriceList(res.data)
|
||||
// }
|
||||
// })
|
||||
}
|
||||
|
||||
const makeUniqueSpecialNoteCd = (itemList) => {
|
||||
@ -1404,7 +1404,6 @@ export default function Estimate({ params }) {
|
||||
<div className="select-wrap">
|
||||
{session?.storeLvl === '1' ? (
|
||||
<select
|
||||
// key={uuidv4()}
|
||||
className="select-light"
|
||||
onChange={(e) => {
|
||||
onChangeStorePriceList(e.target.value)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user