Bladeren bron

commit 融资回购状态

yu jie 4 jaren geleden
bovenliggende
commit
e3c83fc7c8

+ 9 - 0
src/views/business/purchase/list/pending/index.vue

@@ -35,6 +35,15 @@
       <template #unpricedqty="{ text, record }">
         <span>{{ handleEnumdic(text, record) }}</span>
       </template>
+        <template #unpayamount="{ text, record }">
+            <span>{{ record.unpayamount.toFixed(2) }}</span>
+        </template>
+        <template #daikaiamount="{ text, record }">
+            <span>{{ record.daikaiamount.toFixed(2) }}</span>
+        </template>
+
+
+
         <template #deliverystartdate,deliveryenddate="{ record }">
             <span>{{ formatValue(formatTime(record.deliverystartdate, "d") + '--' +
                         formatTime(record.deliveryenddate, "d"))  }}</span>

+ 1 - 1
src/views/information/spot-contract/components/detail/index.vue

@@ -53,7 +53,7 @@
 
         <!-- 款项类型 -->
         <template #kxtype="{ text, record }">
-          <a>{{ stateName(record.kxtype ,record.contracttype) }}</a>
+          <a>{{ stateName(record.deductamount ,record.contracttype) }}</a>
         </template>
 
         <!-- 金额-->

+ 0 - 1
src/views/manage/finance-review/setup.ts

@@ -67,7 +67,6 @@ export function kxtypeName(type: number): string {
  */
 export function stateName(deductamount: number, contracttype: number) {
     let result = "--";
-    debugger
     if (deductamount === undefined || deductamount === 0) {
         if (contracttype === 1) {  // 采购
             result = "付款"

+ 2 - 2
src/views/order/financing_manager/components/financing_manager_apply_order/index.vue

@@ -21,8 +21,8 @@
                  @click="openComponent" />
       </template>
         <!-- 类型 -->
-        <template #financetype="{ text }">
-            <a>{{ getFinanceTypeName(text) }}</a>
+        <template #financetype="{ record }">
+            <a>{{ getFinanceTypeName(record.financetype) }}</a>
         </template>
 
         <!-- 状态 -->

+ 1 - 1
src/views/order/financing_manager/components/financing_manager_contract/index.vue

@@ -22,7 +22,7 @@
       </template>
         <!-- 类型 -->
         <template #financetype="{ text }">
-            <a>{{ getFinanceTypeName(text) }}</a>
+            <a>{{ getFinanceTypeName(record.financetype) }}</a>
         </template>
 
         <!-- 状态 -->

+ 0 - 1
src/views/order/performance_information/components/components/breach_contract/index.vue

@@ -120,7 +120,6 @@ export default defineComponent({
                     ApplyRemark: param.remark, // string 申请备注
                     Attachment: "" // string 附件
                 };
-                debugger;
                 requestResultLoadingAndInfo(performanceContractedApply, paramReq, loading, ['违约成功', '违约失败:']).then(() => {
                     cancel(true);
                 });