verce-vue-test 0.0.157 → 0.0.159

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.157",
3
+ "version": "0.0.159",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 公共运行时配置。
3
+ * 工作日期由 Vite 环境变量 VITE_SYSTEM_WORK_DATE 注入,格式为 YYYYMMDD。
4
+ */
5
+ export const runtimeConfig = {
6
+ systemWorkDate: String(import.meta.env.VITE_SYSTEM_WORK_DATE || ''),
7
+ }
@@ -513,7 +513,10 @@ onBeforeUnmount(() => {
513
513
  <el-descriptions-item label="记录ID">{{ detailRecord.id }}</el-descriptions-item>
514
514
  <el-descriptions-item label="大额报备日期">{{ detailRecord.forecastDate }}</el-descriptions-item>
515
515
  <el-descriptions-item label="计划汇款日期">{{ detailRecord.planDate }}</el-descriptions-item>
516
- <el-descriptions-item label="汇款起息日">
516
+ <el-descriptions-item>
517
+ <template #label>
518
+ <span class="detail-required-label">汇款起息日</span>
519
+ </template>
517
520
  <el-date-picker
518
521
  v-model="detailEditForm.valueDate"
519
522
  class="detail-edit-control"
@@ -577,7 +580,10 @@ onBeforeUnmount(() => {
577
580
  <el-descriptions-item label="最终收款行 SWIFTCODE">
578
581
  {{ detailRecord.rdfibic }}
579
582
  </el-descriptions-item>
580
- <el-descriptions-item label="账户行" :span="4">
583
+ <el-descriptions-item :span="4">
584
+ <template #label>
585
+ <span class="detail-required-label">账户行</span>
586
+ </template>
581
587
  <el-select
582
588
  v-model="detailEditForm.nostro"
583
589
  class="detail-edit-control"
@@ -618,7 +624,10 @@ onBeforeUnmount(() => {
618
624
  <el-descriptions-item label="报备人">{{ detailRecord.linkMan }}</el-descriptions-item>
619
625
  <el-descriptions-item label="联系电话">{{ detailRecord.linkWay }}</el-descriptions-item>
620
626
  <el-descriptions-item label="复核人">{{ detailRecord.supervisor }}</el-descriptions-item>
621
- <el-descriptions-item label="授权人">
627
+ <el-descriptions-item>
628
+ <template #label>
629
+ <span class="detail-required-label">授权人</span>
630
+ </template>
622
631
  <el-input
623
632
  v-model="detailEditForm.author"
624
633
  class="detail-edit-control"
@@ -651,25 +660,27 @@ onBeforeUnmount(() => {
651
660
  <span class="detail-actions__hint">账户行、汇款起息日与授权人将在审核时一并保存</span>
652
661
  <div class="detail-actions__buttons">
653
662
  <el-button :icon="ArrowLeft" @click="returnToList">返回</el-button>
654
- <el-button
655
- type="primary"
656
- :icon="CircleCheck"
657
- :loading="reviewAction === 'approve'"
658
- :disabled="reviewAction !== null && reviewAction !== 'approve'"
659
- @click="handleReview('approve')"
660
- >
661
- 通过
662
- </el-button>
663
- <el-button
664
- type="danger"
665
- plain
666
- :icon="CircleClose"
667
- :loading="reviewAction === 'reject'"
668
- :disabled="reviewAction !== null && reviewAction !== 'reject'"
669
- @click="handleReview('reject')"
670
- >
671
- 驳回
672
- </el-button>
663
+ <template v-if="detailRecord.reviewStatus === 'pending'">
664
+ <el-button
665
+ type="primary"
666
+ :icon="CircleCheck"
667
+ :loading="reviewAction === 'approve'"
668
+ :disabled="reviewAction !== null && reviewAction !== 'approve'"
669
+ @click="handleReview('approve')"
670
+ >
671
+ 通过
672
+ </el-button>
673
+ <el-button
674
+ type="danger"
675
+ plain
676
+ :icon="CircleClose"
677
+ :loading="reviewAction === 'reject'"
678
+ :disabled="reviewAction !== null && reviewAction !== 'reject'"
679
+ @click="handleReview('reject')"
680
+ >
681
+ 驳回
682
+ </el-button>
683
+ </template>
673
684
  </div>
674
685
  </footer>
675
686
  </section>
@@ -901,11 +912,20 @@ onBeforeUnmount(() => {
901
912
 
902
913
  .detail-descriptions :deep(.el-descriptions__label) {
903
914
  width: 126px;
904
- color: #667085;
915
+ color: #344054;
916
+ font-weight: 600;
917
+ }
918
+
919
+ .detail-descriptions :deep(.detail-required-label)::after {
920
+ margin-left: 4px;
921
+ color: #d92d20;
922
+ content: "*";
923
+ font-weight: 700;
905
924
  }
906
925
 
907
926
  .detail-descriptions :deep(.el-descriptions__content) {
908
- color: #27364f;
927
+ color: #1f2937;
928
+ font-weight: 500;
909
929
  word-break: break-word;
910
930
  }
911
931
 
@@ -913,6 +933,17 @@ onBeforeUnmount(() => {
913
933
  width: 100%;
914
934
  }
915
935
 
936
+ .detail-descriptions :deep(.detail-edit-control .el-input__inner),
937
+ .detail-descriptions :deep(.detail-edit-control .el-select__selected-item),
938
+ .detail-descriptions :deep(.detail-edit-control .el-textarea__inner) {
939
+ color: #1f2937;
940
+ }
941
+
942
+ .detail-descriptions :deep(.detail-edit-control .el-input__inner::placeholder),
943
+ .detail-descriptions :deep(.detail-edit-control .el-textarea__inner::placeholder) {
944
+ color: #667085;
945
+ }
946
+
916
947
  .detail-descriptions :deep(.detail-edit-control .el-input__wrapper),
917
948
  .detail-descriptions :deep(.detail-edit-control .el-select__wrapper),
918
949
  .detail-descriptions :deep(.detail-edit-control .el-textarea__inner) {