Compare commits

..

No commits in common. "ac015123cdcf29c16fb8d4deb6ba8a56c286d621" and "6b76108d8beb65d6f3d9ed683806ee1e536f37d0" have entirely different histories.

View File

@ -377,8 +377,8 @@ export default function Estimate({}) {
useEffect(() => {
if (estimateContextState.estimateType !== '') {
const param = {
saleStoreId: estimateContextState.sapSaleStoreId,
sapSalesStoreCd: estimateContextState.sapSalesStoreCd,
saleStoreId: session.storeId,
sapSalesStoreCd: session.custCd,
docTpCd: estimateContextState?.estimateType,
}
@ -481,8 +481,8 @@ export default function Estimate({}) {
//Pricing
const handlePricing = async (showPriceCd) => {
const param = {
saleStoreId: estimateContextState.sapSaleStoreId,
sapSalesStoreCd: estimateContextState.sapSalesStoreCd,
saleStoreId: session.storeId,
sapSalesStoreCd: session.custCd,
docTpCd: estimateContextState.estimateType,
priceCd: showPriceCd,
itemIdList: estimateContextState.itemList.filter((item) => item.delFlg === '0' && item.paDispOrder === null),
@ -506,6 +506,7 @@ export default function Estimate({}) {
})
}
}
setIsGlobalLoading(true)
await promisePost({ url: '/api/estimate/price/item-price-list', data: param }).then((res) => {
let updateList = []