Handy_Cao 1 rok pred
rodič
commit
4bf7c647a8

+ 4 - 0
public/config/columns.json

@@ -80,6 +80,10 @@
                 "label": "position.transfer.depositremain"
             },
             {
+                "field": "unpaymentremain",
+                "label": "position.transfer.unpaymentremain"
+            },
+            {
                 "field": "sellname",
                 "label": "position.transfer.sellname"
             },

+ 1 - 0
public/locales/en-US.json

@@ -773,6 +773,7 @@
             "transferdepositratio": "TransferDepositRatio",
             "transferdeposit": "TransferDeposit",
             "depositremain": "DepositRemain",
+            "unpaymentremain": "UnPaymentRemain",
             "paystatus": "PayStatus",
             "lasttradedate": "LastTradeDate",
             "deposit": "Deposit",

+ 1 - 0
public/locales/th-TH.json

@@ -776,6 +776,7 @@
             "transferdepositratio": "สัดส่วนการโอน",
             "transferdeposit": "การโอนเงิน",
             "depositremain": "ยังไม่ได้จ่ายเงิน",
+            "unpaymentremain": "ค่าสินค้ายังไม่ได้จ่าย",
             "paystatus": "สถานะการจ่ายเงิน",
             "lasttradedate": "วันสุดท้าย",
             "deposit": "จ่ายไปแล้ว",

+ 1 - 0
public/locales/zh-CN.json

@@ -776,6 +776,7 @@
             "transferdepositratio": "转让定金比例",
             "transferdeposit": "转让定金",
             "depositremain": "未付定金",
+            "unpaymentremain": "未付货款",
             "paystatus": "支付状态",
             "lasttradedate": "最后交易日",
             "deposit": "已付定金",

+ 4 - 0
src/packages/mobile/views/order/position/components/transfer/list/Index.vue

@@ -39,6 +39,10 @@
                             <span>{{ item.depositremain }}</span>
                         </li>
                         <li>
+                            <span>{{ $t('position.transfer.unpaymentremain') }}</span>
+                            <span>{{ formatDecimal((item.buycurpositionqty * item.presaleprice) - item.depositremain) }}</span>
+                        </li>
+                        <li>
                             <span>{{ $t('position.transfer.lasttradedate') }}</span>
                             <span>{{ item.lasttradedate }}</span>
                         </li>

+ 4 - 0
src/packages/pc/views/footer/presell/transferposition/index.vue

@@ -18,6 +18,10 @@
         <template #totalamount="{ row }">
             {{ formatDecimal(row.buycurpositionqty * row.presaleprice) }}
         </template>
+        <!-- 未付货款-->
+        <template #unpaymentremain="{ row }">
+            {{ formatDecimal((row.buycurpositionqty * row.presaleprice) - row.depositremain) }}
+        </template>
         <!-- 支付状态 -->
         <template #paystatus="{ value }">
             {{ getPayStatusName(value) }}