yangyj 1 жил өмнө
parent
commit
8bd52287d7

+ 1 - 2
src/config/index.json

@@ -1,7 +1,6 @@
 {
 {
     "version": "20230607160059",
     "version": "20230607160059",
-    "target": "http://39.108.216.210:8090",
-    "target1": "http://192.168.0.125:8090",
+    "target": "http://127.0.0.1:8090",
     "smsPhone": "",
     "smsPhone": "",
     "vite": {
     "vite": {
         "port": 5180,
         "port": 5180,

+ 11 - 10
src/views/debit-pay/admin/components/certificate/editModal.vue

@@ -60,8 +60,8 @@
             <!-- 表格数据 -->
             <!-- 表格数据 -->
             <hc-card-item class="mt-3">
             <hc-card-item class="mt-3">
                 <hc-table is-new :is-index="false" :column="tableColumn" :datas="tableData">
                 <hc-table is-new :is-index="false" :column="tableColumn" :datas="tableData">
-                    <template #key8="{ row }">
-                        <hc-table-input v-model="row.key8" disabled />
+                    <template #currentPeriodPay="{ row }">
+                        <hc-table-input v-model="row.currentPeriodPay" :disabled="row.noApply!=1" />
                     </template>
                     </template>
                 </hc-table>
                 </hc-table>
             </hc-card-item>
             </hc-card-item>
@@ -155,6 +155,7 @@ const formRules = {}
 
 
 //获取详情
 //获取详情
 const getDataDetail = async () => {
 const getDataDetail = async () => {
+   
     const { data } = await mainApi.getDetail({ id: dataId.value })
     const { data } = await mainApi.getDetail({ id: dataId.value })
     const form = getObjValue(data)
     const form = getObjValue(data)
     formModel.value = form
     formModel.value = form
@@ -165,14 +166,14 @@ const getDataDetail = async () => {
 
 
 //表格数据
 //表格数据
 const tableColumn = ref([
 const tableColumn = ref([
-    { key: 'key1', name: '支付章号' },
-    { key: 'key2', name: '支付项名称' },
-    { key: 'key3', name: '合同金额(元)' },
-    { key: 'key4', name: '变更金额(元)' },
-    { key: 'key5', name: '变更后的金额(元)' },
-    { key: 'key6', name: '本期未累计完成(元)' },
-    { key: 'key7', name: '上期未累计完成(元)' },
-    { key: 'key8', name: '本期完成(元)' },
+    { key: 'formName', name: '支付章号' },
+    { key: 'chapterSeq', name: '支付项名称' },
+    { key: 'contractAmount', name: '合同金额(元)' },
+    { key: 'revisedTotal', name: '变更金额(元)' },
+    { key: 'revisedAmount', name: '变更后的金额(元)' },
+    { key: 'currentPeriodEndPay', name: '本期未累计完成(元)' },
+    { key: 'previousPeriodEndPay', name: '上期未累计完成(元)' },
+    { key: 'currentPeriodPay', name: '本期完成(元)' },
 ])
 ])
 const tableData = ref([])
 const tableData = ref([])