991-견적서 pricing 버튼 클릭, confirm 노출
This commit is contained in:
parent
e938feec2f
commit
04d49e6aa6
@ -498,6 +498,18 @@ export default function Estimate({}) {
|
||||
})
|
||||
}
|
||||
|
||||
//Pricing 버튼클릭시 confirm 노출
|
||||
const handlePricingBtn = (showPriceCd) => {
|
||||
swalFire({
|
||||
text: getMessage('estimate.detail.showPrice.pricingBtn.confirm'),
|
||||
type: 'confirm',
|
||||
icon: 'warning',
|
||||
confirmFn: () => {
|
||||
handlePricing(showPriceCd)
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
//Pricing 버튼
|
||||
const handlePricing = async (showPriceCd) => {
|
||||
const param = {
|
||||
@ -1808,9 +1820,10 @@ export default function Estimate({}) {
|
||||
<button
|
||||
type="button"
|
||||
className="btn-origin grey ml5"
|
||||
onClick={() => {
|
||||
onClick={(event) => {
|
||||
|
||||
setHandlePricingFlag(true)
|
||||
handlePricing(showPriceCd)
|
||||
handlePricingBtn(showPriceCd)
|
||||
}}
|
||||
>
|
||||
{getMessage('estimate.detail.showPrice.pricingBtn')}
|
||||
|
||||
@ -941,6 +941,7 @@
|
||||
"estimate.detail.header.unitPrice": "定価",
|
||||
"estimate.detail.showPrice.pricingBtn": "Pricing",
|
||||
"estimate.detail.showPrice.pricingBtn.noItemId": "Pricingが欠落しているアイテムがあります。 Pricingを進めてください。",
|
||||
"estimate.detail.showPrice.pricingBtn.confirm": "価格登録初期化されますがよろしいですか?",
|
||||
"estimate.detail.showPrice.description1": "製品価格OPEN",
|
||||
"estimate.detail.showPrice.description2": "追加の変更品目",
|
||||
"estimate.detail.showPrice.description3": "添付必須",
|
||||
|
||||
@ -942,6 +942,7 @@
|
||||
"estimate.detail.header.unitPrice": "정가",
|
||||
"estimate.detail.showPrice.pricingBtn": "Pricing",
|
||||
"estimate.detail.showPrice.pricingBtn.noItemId": "Pricing이 누락된 아이템이 있습니다. 제품 선택 후 Pricing을 진행해주세요.",
|
||||
"estimate.detail.showPrice.pricingBtn.confirm": "가격등록을 초기화 하시겠습니까?",
|
||||
"estimate.detail.showPrice.description1": "제품 가격 OPEN",
|
||||
"estimate.detail.showPrice.description2": "추가 변경 자재",
|
||||
"estimate.detail.showPrice.description3": "첨부필수",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user