Browse Source

update group tilile

master
Alex Cheung 1 year ago
parent
commit
ccdd568261
4 changed files with 9 additions and 8 deletions
  1. +1
    -1
      src/pages/Proof/Create_FromApp/ProofForm.js
  2. +1
    -1
      src/pages/Proof/Create_FromApp/index.js
  3. +1
    -1
      src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js
  4. +6
    -5
      src/utils/ComboData.js

+ 1
- 1
src/pages/Proof/Create_FromApp/ProofForm.js View File

@@ -38,7 +38,7 @@ const FormPanel = ({ formData }) => {
React.useEffect(() => { React.useEffect(() => {
if (formData) { if (formData) {
setData(formData); setData(formData);
if (formData.groupType == "A") {
if (formData.groupType == "Private Bill") {
setColumnPrice(ComboData.proofPrice[1]) setColumnPrice(ComboData.proofPrice[1])
formData['length'] = 18; formData['length'] = 18;
} }


+ 1
- 1
src/pages/Proof/Create_FromApp/index.js View File

@@ -57,7 +57,7 @@ const Index = () => {
responseData.data["issueNoStr"] = responseData.data.issueVolume + "/" + responseData.data.issueYear + " No. " + responseData.data.issueNo responseData.data["issueNoStr"] = responseData.data.issueVolume + "/" + responseData.data.issueYear + " No. " + responseData.data.issueNo
responseData.data["issueDate"] = DateUtils.dateStr(responseData.data.issueDate); responseData.data["issueDate"] = DateUtils.dateStr(responseData.data.issueDate);


responseData.data["groupType"] = responseData.data.groupNo.charAt(0);
responseData.data["groupType"] = responseData.data.groupTitle;
setRecord(responseData.data); setRecord(responseData.data);
} }
}); });


+ 1
- 1
src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js View File

@@ -196,7 +196,7 @@ const ApplicationDetailCard = (
alignItems: 'end', alignItems: 'end',
}}> }}>
<CloseIcon /> <CloseIcon />
<Typography ml={1} variant="h5">Not accepted</Typography>
<Typography ml={1} variant="h5">Not accept</Typography>
</Button> </Button>
</> : </> :
currentApplicationDetailData.status == "paid" ? currentApplicationDetailData.status == "paid" ?


+ 6
- 5
src/utils/ComboData.js View File

@@ -52,11 +52,12 @@ export const publicNoticeStatic_GLD = [




export const groupTitle = [ export const groupTitle = [
{ key: 1, labelCht: 'A - 私人帳單', label: 'A - Private Bill', title: 'Private Bill', type: 'A'},
{ key: 2, labelCht: 'B - 公司條例', label: 'B - Companies Ordinance', title: 'Companies Ordinance', type: 'B' },
{ key: 3, labelCht: 'C - 高等法院', label: 'C - High Court', title: 'High Court', type: 'C' },
{ key: 4, labelCht: 'D - 通知', label: 'D - Notices', title: 'Notices', type: 'D' },
{ key: 5, labelCht: 'E - 其他', label: 'E - Miscellaneous (Companies)', title: 'Miscellaneous  (Companies)', type: 'E' },
{ key: 1, labelCht: 'A1 - 私人帳單', label: 'A1 - Private Bill', title: 'Private Bill', type: 'A'},
{ key: 2, labelCht: 'A2 - 公司條例', label: 'A2 - Companies Ordinance', title: 'Companies Ordinance', type: 'A'},
{ key: 3, labelCht: 'B - 公司條例', label: 'B - Companies Ordinance', title: 'Companies Ordinance', type: 'B' },
{ key: 4, labelCht: 'C - 高等法院', label: 'C - High Court', title: 'High Court', type: 'C' },
{ key: 5, labelCht: 'D - 通知', label: 'D - Notices', title: 'Notices', type: 'D' },
{ key: 6, labelCht: 'E - 其他', label: 'E - Miscellaneous (Companies)', title: 'Miscellaneous  (Companies)', type: 'E' },
]; ];


export const proofPrice = [ export const proofPrice = [


Loading…
Cancel
Save