songxy 8 ماه پیش
والد
کامیت
a620fcbb1f

+ 2 - 1
client/src/views/OaSystem/projectCenter/purchaseContract/deptContract.vue

@@ -156,7 +156,8 @@
           </el-table-column>
           <el-table-column prop="amountStatus" label="合同状态" width="100">
             <template #default="scope">
-              {{ getDictLabel(DICT_TYPE.CONTRACT_COST_STATUS, scope.row.amountStatus) }}
+              {{ scope.row.contractAmount === scope.row.returnAmount ? '已付清' : '未付清' }}
+              <!-- {{ getDictLabel(DICT_TYPE.CONTRACT_COST_STATUS, scope.row.amountStatus) }} -->
             </template>
           </el-table-column>
           <el-table-column prop="contractAmount" label="合同金额" width="100" align="center">

+ 2 - 1
client/src/views/OaSystem/projectCenter/purchaseContract/myContract.vue

@@ -144,7 +144,8 @@
           </el-table-column>
           <el-table-column prop="amountStatus" label="合同状态" width="100">
             <template #default="scope">
-              {{ getDictLabel(DICT_TYPE.CONTRACT_COST_STATUS, scope.row.amountStatus) }}
+              {{ scope.row.contractAmount === scope.row.returnAmount ? '已付清' : '未付清' }}
+              <!-- {{ getDictLabel(DICT_TYPE.CONTRACT_COST_STATUS, scope.row.amountStatus) }} -->
             </template>
           </el-table-column>
           <el-table-column prop="contractAmount" label="合同金额" width="100" align="center">

+ 2 - 1
client/src/views/OaSystem/projectCenter/purchaseContract/purchaseContract.vue

@@ -168,7 +168,8 @@
           </el-table-column>
           <el-table-column prop="amountStatus" label="合同状态" width="100">
             <template #default="scope">
-              {{ getDictLabel(DICT_TYPE.CONTRACT_COST_STATUS, scope.row.amountStatus) }}
+              {{ scope.row.contractAmount === scope.row.returnAmount ? '已付清' : '未付清' }}
+              <!-- {{ getDictLabel(DICT_TYPE.CONTRACT_COST_STATUS, scope.row.amountStatus) }} -->
             </template>
           </el-table-column>
           <el-table-column prop="contractAmount" label="合同金额" width="100" align="center">