Compare commits

..

No commits in common. "70c706341e38a2386b4f76890ea79bf6cc2baaa6" and "c704207d2f04dba2ae3bcc3347efe665ef059ec9" have entirely different histories.

2 changed files with 6 additions and 24 deletions

View File

@ -175,10 +175,7 @@ export default function Estimate({}) {
row.check = false
estimateOption.map((row2) => {
if (row.pkgYn === '0') {
// if (row2 === row.code) {
// row.check = true
// }
if (row.code.split('、').includes(row2)) {
if (row2 === row.code) {
row.check = true
}
} else {
@ -220,10 +217,7 @@ export default function Estimate({}) {
row.check = false
estimateOption.map((row2) => {
if (row.pkgYn === '0') {
// if (row2 === row.code) {
// row.check = true
// }
if (row.code.split('、').includes(row2)) {
if (row2 === row.code) {
row.check = true
}
} else {
@ -246,6 +240,7 @@ export default function Estimate({}) {
}
}
})
setSpecialNoteList(res)
setSpecialNoteFirstFlg(true)
@ -474,21 +469,6 @@ export default function Estimate({}) {
} else {
item.check = false
}
} else {
let codes = item.code.split('、')
let flg = '0'
if (codes.length > 1) {
for (let i = 0; i < pushData.length; i++) {
if (codes.indexOf(pushData[i]) > -1) {
flg = '1'
}
}
if (flg === '1') {
item.check = true
} else {
item.check = false
}
}
}
})

View File

@ -136,7 +136,7 @@ export const useEstimateController = (planNo, flag) => {
}
useEffect(() => {
setEstimateData({ ...estimateContextState, userId: session.userId })
setEstimateData({ ...estimateContextState, userId: session.userId, sapSalesStoreCd: session.custCd })
}, [estimateContextState])
// 첨부파일 다운로드
@ -452,6 +452,8 @@ export const useEstimateController = (planNo, flag) => {
}
const params = {
saleStoreId: session.storeId,
sapSalesStoreCd: session.custCd,
objectNo: estimateData.objectNo,
planNo: sendPlanNo,
copySaleStoreId: otherSaleStoreId ? otherSaleStoreId : saleStoreId,