Handy_Cao 1 năm trước cách đây
mục cha
commit
9e7bd4eeb4

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

@@ -23,6 +23,8 @@
         "nomore": "No more",
         "loadMore": "Load More",
         "orderindex": "Index",
+        "startdate": "StartDate",
+        "enddate": "EndDate",
         "requestfailure": "Request failed, click Reload"
     },
     "tabbar": {
@@ -42,6 +44,7 @@
         "usercancel": "Cancellation Service"
     },
     "operation": {
+        "add": "Add",
         "submit": "Submit",
         "confirm": "Confirm",
         "delete": "Delete",
@@ -62,6 +65,7 @@
         "default2": "ApplyBreach",
         "modify": "Modify",
         "modify2": "Modify Info",
+        "manual": "Manual",
         "extension": "Delay",
         "execution": "Execute",
         "payment": "Payment",
@@ -661,6 +665,8 @@
             "sellname": "SellName",
             "starttime": "Start",
             "endtime": "End",
+            "starttime1": "StartTime",
+            "endtime1": "EndTime",
             "tradeqty": "TradeQty",
             "openprice": "OpenPrice",
             "tradeamount": "TradeAmount",
@@ -676,6 +682,7 @@
             "title1": "Transfer Position Detail",
             "subtitle": "Transfer Position Information",
             "goodsname": "Name/Code",
+            "goodsdisplay": "Name/Code",
             "buycurholderamount": "BuyCurHolderAmount",
             "buycurpositionqty": "BuyCurPositionQty",
             "buyfrozenqty": "BuyFrozenQty",
@@ -702,6 +709,8 @@
         },
         "swap": {
             "title": "Swap",
+            "goodsname": "Name/Code",
+            "buyorsell": "BuyOrSell",
             "averageprice": "AveragePrice",
             "curpositionqty": "CurPositionQty",
             "curholderamount": "CurHolderAmount",
@@ -715,6 +724,9 @@
         },
         "pricing": {
             "title": "Pricing",
+            "goodsname": "Name/Code",
+            "buyorsell": "BuyOrSell",
+            "lastprice": "LastPrice",
             "curpositionqty": "CurPositionQty",
             "averageprice": "AveragePrice",
             "frozenqty": "FrozenQty",
@@ -763,6 +775,8 @@
             "title": "Spot",
             "subtitle": "Pick Up Information",
             "goodsname": "Name/Code",
+            "deliverygoodsname": "DeliveryGoodsName",
+            "wrstandardname": "WrstandardName",
             "warehousename": "WarehouseName",
             "qty": "Qty",
             "appointmentmodeldisplay": "DeliveryWay",
@@ -773,6 +787,7 @@
             "applytime": "ApplyTime",
             "date": "Date",
             "applystatus": "ApplyStatus",
+            "expressnum": "ExpressNum",
             "applyid": "ApplyId"
         }
     },
@@ -781,12 +796,15 @@
         "title1": "In",
         "title2": "Out",
         "in": {
+            "goodsdisplay": "Name/Code",
             "outusername": "OutUserName",
             "qty": "TransferQty",
             "transferprice": "TransferPrice",
             "freezedays": "FreezeDays",
             "goodscurprice": "GoodsCurPrice",
             "incharge": "InCharge",
+            "transferapplystatus": "TransferApplyStatus",
+            "applytime": "ApplyTime",
             "verificationpwd": "Password Verification",
             "sure": "Sure",
             "tips1": "Please enter your login password",
@@ -798,11 +816,14 @@
             "tips7": "Please enter the password"
         },
         "out": {
+            "goodsdisplay": "Name/Code",
             "inusername": "InUserName",
             "qty": "TransferQty",
             "transferprice": "TransferPrice",
             "freezedays": "FreezeDays",
             "goodscurprice": "GoodsCurPrice",
+            "transferapplystatus": "TransferApplyStatus",
+            "applytime": "ApplyTime",
             "outcharge": "OutCharge"
         },
         "agreement": {
@@ -857,6 +878,7 @@
         "subtitle": "Execut Information",
         "buy": "Buy",
         "sell": "Sell",
+        "deliverygoodsname": "DeliveryGoodsName",
         "performancetype": "Type",
         "wrstandardname": "WrstandardName",
         "warehousename": "Warehouse",
@@ -864,10 +886,18 @@
         "amount": "Amount",
         "buyusername": "BuyUserName",
         "sellusername": "SellUserName",
+        "paymenttype": "PaymentType",
         "buypaidamount": "BuyPaidAmount",
         "sellreceivedamount": "SellReceivedAmount",
+        "sellerfreezeamount": "SellFreezeAmount",
+        "sellerfreezeamountremain": "SellReceivedAmountRemain",
+        "buyerfreezeamount": "BuyerFreezaAmount",
+        "buyerfreezeamountremain": "BuyerFreezaAmountRemain",
+        "performancestatus": "PerformanceStatus",
+        "overshortamount": "OverShortAmount",
         "curstepname": "CurStepName",
         "starttime": "Start",
+        "starttime1": "StartTime",
         "relatedorderid": "RelatedOrderID",
         "performanceplanid": "PerformanceplanID",
         "applyremark": "Remark",
@@ -1058,6 +1088,7 @@
             "title2": "FundsInfo",
             "title3": "FundLists",
             "title4": "Settlement",
+            "accountid": "AccountID",
             "createtime": "createtime",
             "operatetypename": "operatetypename",
             "amount": "amount",

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

@@ -24,6 +24,8 @@
         "nomore": "没有更多了",
         "loadMore": "加载更多",
         "orderindex": "序号",
+        "startdate": "开始日期",
+        "enddate": "结束日期",
         "requestfailure": "请求失败,点击重新加载"
     },
     "tabbar": {
@@ -43,6 +45,7 @@
         "usercancel": "注销服务"
     },
     "operation": {
+        "add": "新增",
         "submit": "提交",
         "confirm": "确认",
         "delete": "删除",
@@ -65,6 +68,7 @@
         "modify2": "修改信息",
         "extension": "延期申请",
         "execution": "立即执行",
+        "manual": "手动确认",
         "payment": "付款",
         "search": "查询",
         "reset": "重置",
@@ -664,6 +668,8 @@
             "sellname": "发售方",
             "starttime": "开始日期",
             "endtime": "结束日期",
+            "starttime1": "开始日期",
+            "endtime1": "结束日期",
             "tradeqty": "认购量",
             "openprice": "预售价",
             "tradeamount": "总货款",
@@ -679,6 +685,7 @@
             "title1": "转让持仓详情",
             "subtitle": "转让持仓信息",
             "goodsname": "商品代码/名称",
+            "goodsdisplay": "商品",
             "buycurholderamount": "持仓金额",
             "buycurpositionqty": "持仓量",
             "buyfrozenqty": "冻结量",
@@ -705,6 +712,8 @@
         },
         "swap": {
             "title": "掉期持仓",
+            "goodsname": "商品/代码",
+            "buyorsell": "方向",
             "averageprice": "订单均价",
             "curpositionqty": "持有量",
             "curholderamount": "订单金额",
@@ -718,8 +727,12 @@
         },
         "pricing": {
             "title": "点价持仓",
+            "goodsname": "商品代码/名称",
+            "buyorsell": "方向",
+            "lastprice": "现价",
             "curpositionqty": "持有量",
             "averageprice": "持仓均价",
+            "averageprice1": "订单价格",
             "frozenqty": "冻结量",
             "curholderamount": "持仓金额",
             "enableqty": "可用量",
@@ -766,6 +779,8 @@
             "title": "现货提货单",
             "subtitle": "提货信息",
             "goodsname": "商品代码/名称",
+            "deliverygoodsname": "品种",
+            "wrstandardname": "商品",
             "warehousename": "仓库",
             "qty": "提货数量",
             "appointmentmodeldisplay": "提货方式",
@@ -776,6 +791,7 @@
             "applytime": "申请时间",
             "date": "日期",
             "applystatus": "提货状态",
+            "expressnum": "物流信息",
             "applyid": "提货单号"
         }
     },
@@ -784,12 +800,15 @@
         "title1": "我的转入",
         "title2": "我的转出",
         "in": {
+            "goodsdisplay": "商品",
             "outusername": "转出方",
             "qty": "转让量",
             "transferprice": "转让价格",
             "freezedays": "冻结天数",
             "goodscurprice": "商品价格",
             "incharge": "手续费",
+            "transferapplystatus": "状态",
+            "applytime": "申请时间",
             "verificationpwd": "密码验证",
             "sure": "确定",
             "tips1": "请输入登录密码",
@@ -801,11 +820,14 @@
             "tips7": "请输入密码"
         },
         "out": {
+            "goodsdisplay": "商品",
             "inusername": "转入方",
             "qty": "转让量",
             "transferprice": "转让价格",
             "freezedays": "冻结天数",
             "goodscurprice": "商品价格",
+            "transferapplystatus": "状态",
+            "applytime": "申请时间",
             "outcharge": "手续费"
         },
         "agreement": {
@@ -860,6 +882,7 @@
         "subtitle": "执行信息",
         "buy": "买履约",
         "sell": "卖履约",
+        "deliverygoodsname": "品种",
         "performancetype": "类型",
         "wrstandardname": "商品",
         "warehousename": "仓库",
@@ -867,10 +890,18 @@
         "amount": "履约金额",
         "buyusername": "买方",
         "sellusername": "卖方",
+        "paymenttype": "付款方式",
         "buypaidamount": "买方已付",
         "sellreceivedamount": "卖方已收",
+        "sellerfreezeamount": "履约冻结",
+        "sellerfreezeamountremain": "履约冻结剩余",
+        "buyerfreezeamount": "履约冻结",
+        "buyerfreezeamountremain": "履约冻结剩余",
+        "performancestatus": "履约状态",
+        "overshortamount": "溢短金额",
         "curstepname": "当前步骤",
         "starttime": "开始时间",
+        "starttime1": "开始时间",
         "relatedorderid": "关联单号",
         "performanceplanid": "履约单号",
         "applyremark": "备注",
@@ -1061,6 +1092,7 @@
             "title2": "资金信息",
             "title3": "资金流水",
             "title4": "结算单",
+            "accountid": "资金账号",
             "createtime": "时间",
             "operatetypename": "操作类型",
             "amount": "金额",

+ 8 - 5
src/packages/pc/views/footer/capital/statement/index.vue

@@ -6,7 +6,7 @@
             {{ formatDate(value) }}
         </template>
         <template #append v-if="showLoadMore">
-            <el-button size="small" plain @click="loadMore">加载更多</el-button>
+            <el-button size="small" plain @click="loadMore">{{ t('common.loadMore') }}</el-button>
         </template>
     </app-table>
 </template>
@@ -17,6 +17,7 @@ import { formatDate } from '@/filters'
 import { useLocalPagination } from '@/hooks/pagination'
 import { useRequest } from '@/hooks/request'
 import { queryAmountLog } from '@/services/api/bank'
+import { i18n } from "@/stores";
 import AppTable from '@pc/components/base/table/index.vue'
 
 const { tableList, showLoadMore, initTableData, loadMore } = useLocalPagination<Model.AmountLogRsp>(30)
@@ -25,10 +26,12 @@ const { loading } = useRequest(queryAmountLog, {
     onSuccess: (res) => initTableData(res.data)
 })
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'accountid', label: '资金账号' },
-    { field: 'operatetypename', label: '资金类型' },
-    { field: 'amount', label: '金额' },
-    { field: 'createtime', label: '时间' }
+    { field: 'accountid', label: t('banksign.capital.accountid') },
+    { field: 'operatetypename', label: t('banksign.capital.operatetypename') },
+    { field: 'amount', label: t('banksign.capital.amount') },
+    { field: 'createtime', label: t('banksign.capital.createtime') }
 ])
 </script>

+ 17 - 16
src/packages/pc/views/footer/capital/summary/index.vue

@@ -17,8 +17,8 @@
         <!-- 展开行 -->
         <template #expand>
             <div class="buttonbar">
-                <el-button type="danger" size="small" @click="doInOutMoney('deposit')">入金</el-button>
-                <el-button type="primary" size="small" @click="doInOutMoney('withdraw')">出金</el-button>
+                <el-button type="danger" size="small" @click="doInOutMoney('deposit')">{{ t('banksign.wallet.cashin') }}</el-button>
+                <el-button type="primary" size="small" @click="doInOutMoney('withdraw')">{{ t('banksign.wallet.cashout') }}</el-button>
             </div>
         </template>
         <template #footer>
@@ -32,7 +32,7 @@
 import { shallowRef, defineAsyncComponent, onMounted,computed } from 'vue'
 import { ElMessage } from 'element-plus'
 import { formatDecimal, handlePriceColor } from '@/filters'
-import { useAccountStore, useUserStore } from '@/stores'
+import { useAccountStore, useUserStore, i18n } from '@/stores'
 import { useComponent } from '@/hooks/component'
 import { useComposeTable } from '@pc/components/base/table'
 import { getTradeStatusName } from '@/constants/order'
@@ -46,6 +46,7 @@ import AppTable from '@pc/components/base/table/index.vue'
 import service from '@/services'
 
 const oem = service.getConfig('oem')
+const { t } = i18n.global
 
 const componentMap = new Map<string, unknown>([
     ['deposit', defineAsyncComponent(() => import('./deposit/index.vue'))], // 入金
@@ -102,19 +103,19 @@ const hasAQAuth = computed(() => {
 const authStatus = computed(() => userStore.userAccount.hasauth) // 实名认证状态
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'accountid', label: '资金账号', width: 160 },
-    { field: 'balance', label: '期初余额', decimal: 2 },
-    { field: 'currentbalance', label: '期末余额', decimal: 2 },
-    { field: 'hazardValue', label: '净值' },
-    { field: 'avaiableMoney', label: '可用资金', decimal: 2 },
-    { field: 'usedmargin', label: '占用资金', decimal: 2 },
-    { field: 'freezeMargin', label: '预扣保证金', decimal: 2 },
-    { field: 'profitLoss', label: '浮动盈亏' },
-    { field: 'inamount', label: '今日入金', decimal: 2 },
-    { field: 'outamount', label: '今日出金', decimal: 2 },
-    { field: 'closepl', label: '今日损益', decimal: 2 },
-    { field: 'paycharge', label: '交易手续费', decimal: 2, width: 160 },
-    { field: 'tradestatus', label: '状态' },
+    { field: 'accountid', label: t('account.account'), width: 160 },
+    { field: 'balance', label: t('account.balance2'), decimal: 2 },
+    { field: 'currentbalance', label: t('account.currentbalance'), decimal: 2 },
+    { field: 'hazardValue', label: t('account.netWorth') },
+    { field: 'avaiableMoney', label: t('account.availableFunds2'), decimal: 2 },
+    { field: 'usedmargin', label: t('account.usedMargin2'), decimal: 2 },
+    { field: 'freezeMargin', label: t('account.freezeMargin2'), decimal: 2 },
+    { field: 'profitLoss', label: t('account.profitLoss') },
+    { field: 'inamount', label: t('account.inamount'), decimal: 2 },
+    { field: 'outamount', label: t('account.outamount'), decimal: 2 },
+    { field: 'closepl', label: t('account.closepl'), decimal: 2 },
+    { field: 'paycharge', label: ('account.paycharge'), decimal: 2, width: 160 },
+    { field: 'tradestatus', label: ('account.tradestatus') },
 ])
 
 /// 进行出入金操作判断

+ 12 - 10
src/packages/pc/views/footer/inout/in/index.vue

@@ -9,7 +9,7 @@
         <!-- 展开行 -->
         <template #expand="{ row }">
             <div class="buttonbar" v-if="row.transferapplystatus === 2">
-                <el-button type="primary" size="small" @click="showComponent('confirm', row)">确认</el-button>
+                <el-button type="primary" size="small" @click="showComponent('confirm', row)">{{ t('operation.confirm') }}</el-button>
             </div>
         </template>
         <template #footer>
@@ -26,6 +26,7 @@ import { useComponent } from '@/hooks/component'
 import { useComposeTable } from '@pc/components/base/table'
 import { getTransferApplyStatusName } from '@/constants/order'
 import { queryInTradePositionTransfer } from '@/services/api/transfer'
+import { i18n } from "@/stores"
 import AppTable from '@pc/components/base/table/index.vue'
 
 const componentMap = new Map<string, unknown>([
@@ -39,17 +40,18 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 })
 
 const { loading, dataList, run } = useRequest(queryInTradePositionTransfer)
+const { global: { t } } = i18n 
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'goodsdisplay', label: '商品' },
-    { field: 'outusername', label: '转出方' },
-    { field: 'qty', label: '转让量' },
-    { field: 'transferprice', label: '转让价格' },
-    { field: 'freezedays', label: '冻结天数' },
-    { field: 'goodscurprice', label: '商品价格' },
-    { field: 'incharge', label: '手续费' },
-    { field: 'transferapplystatus', label: '状态' },
-    { field: 'applytime', label: '申请时间' }
+    { field: 'goodsdisplay', label: t('inout.in.goodsdisplay') },
+    { field: 'outusername', label: t('inout.in.outusername') },
+    { field: 'qty', label: t('inout.in.qty') },
+    { field: 'transferprice', label: t('inout.in.transferprice') },
+    { field: 'freezedays', label: t('inout.in.freezedays') },
+    { field: 'goodscurprice', label: t('inout.in.goodscurprice') },
+    { field: 'incharge', label: t('inout.in.incharge') },
+    { field: 'transferapplystatus', label: t('inout.in.transferapplystatus') },
+    { field: 'applytime', label: t('inout.in.applytime') }
 ])
 
 const showComponent = (componentName: string, row: Model.InTradePositionTransferRsp) => {

+ 12 - 10
src/packages/pc/views/footer/inout/out/index.vue

@@ -3,7 +3,7 @@
     <app-table :data="dataList" v-model:columns="tableColumns" :loading="loading">
         <template #headerRight>
             <div class="buttonbar">
-                <el-button type="primary" size="small" @click="openComponent('add')">新增</el-button>
+                <el-button type="primary" size="small" @click="openComponent('add')">{{ t('operation.add') }}</el-button>
             </div>
         </template>
         <!-- 状态 -->
@@ -21,6 +21,7 @@ import { shallowRef, defineAsyncComponent } from 'vue'
 import { useComponent } from '@/hooks/component'
 import { useRequest } from '@/hooks/request'
 import { getTransferApplyStatusName } from '@/constants/order'
+import { i18n } from "@/stores"
 import { queryOutTradepositiontransfer } from '@/services/api/transfer'
 import AppTable from '@pc/components/base/table/index.vue'
 
@@ -33,16 +34,17 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 })
 
 const { loading, dataList, run } = useRequest(queryOutTradepositiontransfer)
+const { global: { t } } = i18n 
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'goodsdisplay', label: '商品' },
-    { field: 'inusername', label: '转入方' },
-    { field: 'qty', label: '转让量' },
-    { field: 'transferprice', label: '转让价格' },
-    { field: 'freezedays', label: '冻结天数' },
-    { field: 'goodscurprice', label: '商品价格' },
-    { field: 'outcharge', label: '手续费' },
-    { field: 'transferapplystatus', label: '状态' },
-    { field: 'applytime', label: '申请时间' }
+    { field: 'goodsdisplay', label: t('inout.out.goodsdisplay') },
+    { field: 'inusername', label: t('inout.out.inusername') },
+    { field: 'qty', label: t('inout.out.qty') },
+    { field: 'transferprice', label: t('inout.out.transferprice') },
+    { field: 'freezedays', label: t('inout.out.freezedays') },
+    { field: 'goodscurprice', label: t('inout.out.goodscurprice') },
+    { field: 'outcharge', label: t('inout.out.outcharge') },
+    { field: 'transferapplystatus', label: t('inout.out.transferapplystatus') },
+    { field: 'applytime', label: t('inout.out.applytime') }
 ])
 </script>

+ 21 - 19
src/packages/pc/views/footer/performance/buy/index.vue

@@ -22,13 +22,13 @@
         <template #expand="{ row }">
             <div class="buttonbar">
                 <el-button type="danger" size="small" v-if="row.buyorsell === row.executeside - 1"
-                    @click="showComponent('manual', row)">手动确认</el-button>
+                    @click="showComponent('manual', row)">{{ t('operation.manual') }}</el-button>
                 <el-button type="warning" size="small" v-if="row.buyorsell === row.executeside - 1"
-                    @click="showComponent('delay', row)">延期</el-button>
+                    @click="showComponent('delay', row)">{{ t('operation.execution') }}</el-button>
                 <el-button type="danger" size="small" v-if="![6, 7].includes(row.performancestatus)"
-                    @click="showComponent('contracted', row)">违约</el-button>
-                <el-button type="info" size="small" @click="showComponent('edit', row)">修改</el-button>
-                <el-button type="success" size="small" @click="showComponent('details', row)">详细</el-button>
+                    @click="showComponent('contracted', row)">{{ t('operation.default') }}</el-button>
+                <el-button type="info" size="small" @click="showComponent('edit', row)">{{ t('operation.modify') }}</el-button>
+                <el-button type="success" size="small" @click="showComponent('details', row)">{{ t('operation.details') }}</el-button>
             </div>
         </template>
         <template #footer>
@@ -46,6 +46,7 @@ import { queryPerformancePlan } from '@/services/api/performance'
 import { BuyOrSell, getPaymentTypeName, getPerformanceStatusName, getPerformanceTypeName } from '@/constants/order'
 import { useComposeTable } from '@pc/components/base/table'
 import { useComponent } from '@/hooks/component'
+import { i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 
 const componentMap = new Map<string, unknown>([
@@ -62,6 +63,7 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 
 const { rowKey, expandKeys, rowClick } = useComposeTable<Model.PerformancePlanRsp>({ rowKey: 'performanceplanid' })
 const selectedRow = shallowRef<Model.PerformancePlanRsp>()
+const { t } = i18n.global
 
 const { loading, dataList, run } = useRequest(queryPerformancePlan, {
     params: {
@@ -71,20 +73,20 @@ const { loading, dataList, run } = useRequest(queryPerformancePlan, {
 })
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'deliverygoodsname', label: '品种' },
-    { field: 'wrstandardname', label: '商品' },
-    { field: 'performancetype', label: '类型' },
-    { field: 'relatedorderid', label: '关联单号' },
-    { field: 'paymenttype', label: '付款方式' },
-    { field: 'sellerfreezeamount', label: '履约冻结' },
-    { field: 'sellerfreezeamountremain', label: '履约冻结剩余' },
-    { field: 'amount', label: '总金额' },
-    { field: 'sellreceivedamount', label: '已收金额' },
-    { field: 'overshortamount', label: '溢短金额' },
-    { field: 'buyusername', label: '买方' },
-    { field: 'performancestatus', label: '履约状态' },
-    { field: 'curstepname', label: '当前步骤' },
-    { field: 'starttime', label: '开始时间' }
+    { field: 'deliverygoodsname', label: t('performance.deliverygoodsname') },
+    { field: 'wrstandardname', label: t('performance.wrstandardname') },
+    { field: 'performancetype', label: t('performance.performancetype') },
+    { field: 'relatedorderid', label: t('performance.relatedorderid') },
+    { field: 'paymenttype', label: t('performance.paymenttype') },
+    { field: 'buyerfreezeamount', label: t('performance.buyerfreezeamount') },
+    { field: 'buyerfreezeamountremain', label: t('performance.buyerfreezeamountremain') },
+    { field: 'amount', label: t('performance.amount') },
+    { field: 'buypaidamount', label: t('performance.buypaidamount') },
+    { field: 'overshortamount', label: t('performance.overshortamount') },
+    { field: 'buyusername', label: t('performance.buyusername') },
+    { field: 'performancestatus', label: t('performance.performancestatus') },
+    { field: 'curstepname', label: t('performance.curstepname') },
+    { field: 'starttime', label: t('performance.starttime1') }
 ])
 
 const showComponent = (componentName: string, row: Model.PerformancePlanRsp) => {

+ 21 - 19
src/packages/pc/views/footer/performance/sell/index.vue

@@ -22,13 +22,13 @@
         <template #expand="{ row }">
             <div class="buttonbar">
                 <el-button type="danger" size="small" v-if="row.buyorsell === row.executeside - 1"
-                    @click="showComponent('manual', row)">手动确认</el-button>
+                    @click="showComponent('manual', row)">{{ t('operation.manual') }}</el-button>
                 <el-button type="warning" size="small" v-if="row.buyorsell === row.executeside - 1"
-                    @click="showComponent('delay', row)">延期</el-button>
+                    @click="showComponent('delay', row)">{{ t('operation.extension') }}</el-button>
                 <el-button type="danger" size="small" v-if="![6, 7].includes(row.performancestatus)"
-                    @click="showComponent('contracted', row)">违约</el-button>
-                <el-button type="info" size="small" @click="showComponent('edit', row)">修改</el-button>
-                <el-button type="success" size="small" @click="showComponent('details', row)">详细</el-button>
+                    @click="showComponent('contracted', row)">{{ t('operation.default') }}</el-button>
+                <el-button type="info" size="small" @click="showComponent('edit', row)">{{ t('operation.modify') }}</el-button>
+                <el-button type="success" size="small" @click="showComponent('details', row)">{{ t('operation.details') }}</el-button>
             </div>
         </template>
         <template #footer>
@@ -46,6 +46,7 @@ import { queryPerformancePlan } from '@/services/api/performance'
 import { BuyOrSell, getPaymentTypeName, getPerformanceStatusName, getPerformanceTypeName } from '@/constants/order'
 import { useComposeTable } from '@pc/components/base/table'
 import { useComponent } from '@/hooks/component'
+import { i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 
 const componentMap = new Map<string, unknown>([
@@ -62,6 +63,7 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 
 const { rowKey, expandKeys, rowClick } = useComposeTable<Model.PerformancePlanRsp>({ rowKey: 'performanceplanid' })
 const selectedRow = shallowRef<Model.PerformancePlanRsp>()
+const { t } = i18n.global
 
 const { loading, dataList, run } = useRequest(queryPerformancePlan, {
     params: {
@@ -71,20 +73,20 @@ const { loading, dataList, run } = useRequest(queryPerformancePlan, {
 })
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'deliverygoodsname', label: '品种' },
-    { field: 'wrstandardname', label: '商品' },
-    { field: 'performancetype', label: '类型' },
-    { field: 'relatedorderid', label: '关联单号' },
-    { field: 'paymenttype', label: '付款方式' },
-    { field: 'sellerfreezeamount', label: '履约冻结' },
-    { field: 'sellerfreezeamountremain', label: '履约冻结剩余' },
-    { field: 'amount', label: '总金额' },
-    { field: 'sellreceivedamount', label: '已收金额' },
-    { field: 'overshortamount', label: '溢短金额' },
-    { field: 'buyusername', label: '买方' },
-    { field: 'performancestatus', label: '履约状态' },
-    { field: 'curstepname', label: '当前步骤' },
-    { field: 'starttime', label: '开始时间' },
+    { field: 'deliverygoodsname', label: t('performance.deliverygoodsname') },
+    { field: 'wrstandardname', label: t('performance.wrstandardname') },
+    { field: 'performancetype', label: t('performance.performancetype') },
+    { field: 'relatedorderid', label: t('performance.relatedorderid') },
+    { field: 'paymenttype', label: t('performance.paymenttype') },
+    { field: 'sellerfreezeamount', label: t('performance.sellerfreezeamount') },
+    { field: 'sellerfreezeamountremain', label: t('performance.sellerfreezeamountremain') },
+    { field: 'amount', label: t('performance.amount') },
+    { field: 'sellreceivedamount', label: t('performance.sellreceivedamount') },
+    { field: 'overshortamount', label: t('performance.overshortamount') },
+    { field: 'buyusername', label: t('performance.buyusername') },
+    { field: 'performancestatus', label: t('performance.performancestatus')  },
+    { field: 'curstepname', label: t('performance.curstepname') },
+    { field: 'starttime', label: t('performance.starttime') },
 
 ])
 

+ 14 - 11
src/packages/pc/views/footer/presell/onlinedelivery/index.vue

@@ -21,23 +21,26 @@ import { shallowRef } from 'vue'
 import { formatDate } from '@/filters'
 import { useRequest } from '@/hooks/request'
 import { queryWrDeliveryDetail } from '@/services/api/transfer'
+import { i18n } from "@/stores";
 import AppTable from '@pc/components/base/table/index.vue'
 
 const { loading, dataList } = useRequest(queryWrDeliveryDetail, {})
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'wrtypename', label: '商品名称' },
-    { field: 'deliveryqty', label: '交收数量' },
-    { field: 'xdeliveryprice', label: '订货价' },
-    { field: 'deliverypricemove', label: '升贴水' },
+    { field: 'wrtypename', label: t('delivery.online.wrtypename') },
+    { field: 'deliveryqty', label: t('delivery.online.deliveryqty') },
+    { field: 'xdeliveryprice', label: t('delivery.online.xdeliveryprice') },
+    { field: 'deliverypricemove', label: t('delivery.online.deliverypricemove') },
     // { field: 'deliveryamount', label: '总货款' },
     // { field: 'xgoodsremainamount', label: '剩余货款' },
-    { field: 'deliverytotalamount', label: '总金额' },
-    { field: 'remaintotalamount', label: '剩余金额' },
-    { field: 'warehousename', label: '仓库' },
-    { field: 'matchusername', label: '发货方' },
-    { field: 'deliverytime', label: '申请时间' },
-    { field: 'xgoodsname', label: '交收合约' },
-    { field: 'deliveryid', label: '交收单号' }
+    { field: 'deliverytotalamount', label: t('delivery.online.deliverytotalamount') },
+    { field: 'remaintotalamount', label: t('delivery.online.remaintotalamount') },
+    { field: 'warehousename', label: t('delivery.online.warehousename') },
+    { field: 'matchusername', label: t('delivery.online.matchusername') },
+    { field: 'deliverytime', label: t('delivery.online.deliverytime') },
+    { field: 'xgoodsname', label: t('delivery.online.xgoodscode') },
+    { field: 'deliveryid', label: t('delivery.online.deliveryid') }
 ])
 </script>

+ 15 - 12
src/packages/pc/views/footer/presell/presellposition/index.vue

@@ -43,6 +43,7 @@ import { queryMineCpTradePreSaleResults } from '@/services/api/presale'
 import { getPayStatusName, PayStatus } from '@/constants/order'
 import { useComponent } from '@/hooks/component'
 import { useComposeTable } from '@pc/components/base/table'
+import { i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 
 const componentMap = new Map<string, unknown>([
@@ -57,19 +58,21 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 
 const { rowKey, expandKeys, selectedRow, rowClick } = useComposeTable<Model.MineCpTradePreSaleResultsRsp>({ rowKey: 'applyid' })
 
+const { t } = i18n.global
+
 const tableColumns = ref<Model.TableColumn[]>([
-    { field: 'goodsname', label: '商品代码/名称' },
-    { field: 'sellname', label: '发售方' },
-    { field: 'starttime', label: '开始日期' },
-    { field: 'endtime', label: '结束日期' },
-    { field: 'tradeqty', label: '认购量' },
-    { field: 'openprice', label: '预售价' },
-    { field: 'tradeamount', label: '总货款' },
-    { field: 'transferdepositratio', label: '转让定金比例' },
-    { field: 'transferdeposit', label: '转让订金' },
-    { field: 'depositremain', label: '未付订金' },
-    { field: 'paystatus', label: '支付状态' },
-    { field: 'tradeid', label: '成交单号' }
+    { field: 'goodsname', label: t('position.presale.goodsname') },
+    { field: 'sellname', label: t('position.presale.sellname') },
+    { field: 'starttime', label: t('position.presale.starttime1') },
+    { field: 'endtime', label: t('position.presale.endtime1') },
+    { field: 'tradeqty', label: t('position.presale.tradeqty') },
+    { field: 'openprice', label: t('position.presale.openprice') },
+    { field: 'tradeamount', label: t('position.presale.tradeamount') },
+    { field: 'transferdepositratio', label: t('position.presale.transferdepositratio') },
+    { field: 'transferdeposit', label: t('position.presale.transferdeposit') },
+    { field: 'depositremain', label: t('position.presale.depositremain') },
+    { field: 'paystatus', label: t('position.presale.paystatus') },
+    { field: 'tradeid', label: t('position.presale.tradeid') }
 ])
 
 const showComponent = (componentName: string, row?: Model.MineCpTradePreSaleResultsRsp) => {

+ 12 - 10
src/packages/pc/views/footer/presell/transferorder/index.vue

@@ -22,7 +22,7 @@
         <template #expand="{ row }">
             <div class="buttonbar">
                 <el-button type="danger" v-if="[3, 7, 12].includes(row.orderstatus)" size="small"
-                    @click="showComponent('cancel', row)">撤销</el-button>
+                    @click="showComponent('cancel', row)">{{ t('operation.cancel2') }}</el-button>
             </div>
         </template>
 
@@ -41,6 +41,7 @@ import { queryMineTradeOrders } from '@/services/api/transfer'
 import { getOrderStatusName } from '@/constants/order'
 import { useComponent } from '@/hooks/component'
 import { useComposeTable } from '@pc/components/base/table'
+import { i18n } from '@/stores'
 import eventBus from '@/services/bus'
 import AppTable from '@pc/components/base/table/index.vue'
 
@@ -56,21 +57,22 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 
 const { rowKey, expandKeys, selectedRow, rowClick } = useComposeTable<Model.MineTradeOrdersRsp>({ rowKey: 'orderid' })
 
-
 const showComponent = (componentName: string, row?: Model.MineTradeOrdersRsp) => {
     selectedRow.value = row
     openComponent(componentName)
 }
 
+const { t } = i18n.global
+
 const tableColumns = ref<Model.TableColumn[]>([
-    { field: 'goodsname', label: '商品代码/名称' },
-    { field: 'orderqty', label: '转让量' },
-    { field: 'orderprice', label: '转让价' },
-    { field: 'presaleprice', label: '订货价' },
-    { field: 'tradeqty', label: '摘牌量' },
-    { field: 'orderstatus', label: '委托状态' },
-    { field: 'ordertime', label: '委托时间' },
-    { field: 'orderid', label: '委托单号' }
+    { field: 'goodsname', label: t('order.transferorder.goodsname') },
+    { field: 'orderqty', label: t('order.transferorder.orderqty') },
+    { field: 'orderprice', label: t('order.transferorder.orderprice') },
+    { field: 'presaleprice', label: t('order.transferorder.presaleprice') },
+    { field: 'tradeqty', label: t('order.transferorder.tradeqty') },
+    { field: 'orderstatus', label: t('order.transferorder.orderstatus') },
+    { field: 'ordertime', label: t('order.transferorder.ordertime') },
+    { field: 'orderid', label: t('order.transferorder.orderid') }
 ])
 
 // 接收委托回应通知

+ 12 - 9
src/packages/pc/views/footer/presell/transfertrader/index.vue

@@ -22,19 +22,22 @@ import { formatDate } from '@/filters'
 import { useRequest } from '@/hooks/request'
 import { queryMineTradeTradeDetails } from '@/services/api/transfer'
 import { getBuyOrSellName } from '@/constants/order'
+import { i18n } from "@/stores";
 import AppTable from '@pc/components/base/table/index.vue'
 
 const { loading, dataList } = useRequest(queryMineTradeTradeDetails, {})
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'goodsname', label: '商品代码/名称' },
-    { field: 'buyorsell', label: '方向' },
-    { field: 'tradeqty', label: '转让量' },
-    { field: 'tradeprice', label: '转让价' },
-    { field: 'presaleprice', label: '订货价' },
-    { field: 'closepl', label: '损益' },
-    { field: 'accountname', label: '对手方' },
-    { field: 'tradedate', label: '成交时间' },
-    { field: 'orderid', label: '成交单号' }
+    { field: 'goodsname', label: t('order.transfertrade.goodsname') },
+    { field: 'buyorsell', label: t('order.transfertrade.buyorsell') },
+    { field: 'tradeqty', label: t('order.transfertrade.tradeqty') },
+    { field: 'tradeprice', label: t('order.transfertrade.tradeprice') },
+    { field: 'presaleprice', label: t('order.transfertrade.presaleprice') },
+    { field: 'closepl', label: t('order.transfertrade.closepl') },
+    { field: 'accountname', label: t('order.transfertrade.accountname') },
+    { field: 'tradedate', label: t('order.transfertrade.tradedate') },
+    { field: 'orderid', label: t('order.transfertrade.orderid') }
 ])
 </script>

+ 13 - 11
src/packages/pc/views/footer/pricing/position/index.vue

@@ -41,7 +41,7 @@ import { formatDecimal, handleNumberValue } from '@/filters'
 import { getBuyOrSellName } from '@/constants/order'
 import { useComponent } from '@/hooks/component'
 import { useComposeTable } from '@pc/components/base/table'
-import { usePositionStore } from '@/stores'
+import { usePositionStore, i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 
 const componentMap = new Map<string, unknown>([
@@ -55,17 +55,19 @@ const selectedRow = shallowRef<Model.TradePositionRsp>()
 
 const positionList = computed(() => positionStore.getPositionListByTradeMode(10))
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'goodsname', label: '商品代码/名称' },
-    { field: 'buyorsell', label: '方向' },
-    { field: 'curpositionqty', label: '持有量' },
-    { field: 'lastprice', label: '现价' },
-    { field: 'averageprice', label: '订单价格' },
-    { field: 'frozenqty', label: '冻结量' },
-    { field: 'curholderamount', label: '订单总额' },
-    { field: 'enableqty', label: '可用量' },
-    { field: 'closepl', label: '参考损益' },
-    { field: 'operate', label: '操作', fixed: 'right' },
+    { field: 'goodsname', label: t('position.pricing.goodsname') },
+    { field: 'buyorsell', label: t('position.pricing.buyorsell') },
+    { field: 'curpositionqty', label: t('position.pricing.curpositionqty') },
+    { field: 'lastprice', label: t('position.pricing.lastprice') },
+    { field: 'averageprice', label: t('position.pricing.averageprice') },
+    { field: 'frozenqty', label: t('position.pricing.frozenqty') },
+    { field: 'curholderamount', label: t('position.pricing.curholderamount') },
+    { field: 'enableqty', label: t('position.pricing.enableqty') },
+    { field: 'closepl', label: t('position.pricing.closepl') },
+    { field: 'operate', label: t('common.operate'), fixed: 'right' },
 ])
 
 const showComponent = (componentName: string, row: Model.TradePositionRsp) => {

+ 11 - 8
src/packages/pc/views/footer/spot/pickup/index.vue

@@ -18,18 +18,21 @@ import { formatDate } from '@/filters'
 import { useRequest } from '@/hooks/request'
 import { queryWrOutInApply } from '@/services/api/order'
 import { getApplyStatusName } from '@/constants/order'
+import { i18n } from "@/stores";
 import AppTable from '@pc/components/base/table/index.vue'
 
 const { loading, dataList } = useRequest(queryWrOutInApply, {})
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'deliverygoodsname', label: '品种' },
-    { field: 'wrstandardname', label: '商品' },
-    { field: 'warehousename', label: '仓库' },
-    { field: 'appointmentmodeldisplay', label: '类型' },
-    { field: 'qty', label: '数量' },
-    { field: 'applytime', label: '时间' },
-    { field: 'expressnum', label: '物流信息' },
-    { field: 'applystatus', label: '状态' }
+    { field: 'deliverygoodsname', label: t('delivery.spot.deliverygoodsname') },
+    { field: 'wrstandardname', label: t('delivery.spot.wrstandardname') },
+    { field: 'warehousename', label: t('delivery.spot.warehousename') },
+    { field: 'appointmentmodeldisplay', label: t('delivery.spot.appointmentmodeldisplay') },
+    { field: 'qty', label: t('delivery.spot.qty') },
+    { field: 'applytime', label: t('delivery.spot.applytime') },
+    { field: 'expressnum', label: t('delivery.spot.expressnum') },
+    { field: 'applystatus', label: t('delivery.spot.applystatus') }
 ])
 </script>

+ 11 - 11
src/packages/pc/views/footer/swap/position/index.vue

@@ -43,8 +43,7 @@ import { formatDecimal, handleNumberValue } from '@/filters'
 import { useComponent } from '@/hooks/component'
 import { getBuyOrSellName } from '@/constants/order'
 import { useComposeTable } from '@pc/components/base/table'
-import { usePositionStore } from '@/stores'
-
+import { usePositionStore, i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 
 const componentMap = new Map<string, unknown>([
@@ -55,19 +54,20 @@ const positionStore = usePositionStore()
 const { componentRef, componentId, openComponent, closeComponent } = useComponent()
 const { rowKey, expandKeys, rowClick } = useComposeTable<Model.TradePositionRsp>({ rowKey: 'pkid' })
 const selectedRow = shallowRef<Model.TradePositionRsp>()
+const { global: { t } } = i18n
 
 const positionList = computed(() => positionStore.getPositionListByTradeMode(46))
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'goodsname', label: '商品代码/名称' },
-    { field: 'buyorsell', label: '方向' },
-    { field: 'curpositionqty', label: '持有量' },
-    { field: 'lastprice', label: '现价' },
-    { field: 'averageprice', label: '订单价格' },
-    { field: 'frozenqty', label: '冻结量' },
-    { field: 'curholderamount', label: '订单总额' },
-    { field: 'enableqty', label: '可用量' },
-    { field: 'closepl', label: '参考损益' }
+    { field: 'goodsname', label: t('position.swap.goodsname') },
+    { field: 'buyorsell', label: t('position.swap.buyorsell') },
+    { field: 'curpositionqty', label: t('position.swap.curpositionqty') },
+    { field: 'lastprice', label: t('position.swap.lastprice') },
+    { field: 'averageprice', label: t('position.swap.averageprice') },
+    { field: 'frozenqty', label: t('position.swap.frozenqty') },
+    { field: 'curholderamount', label: t('position.swap.curholderamount') },
+    { field: 'enableqty', label: t('position.swap.enableqty') },
+    { field: 'closepl', label: t('position.swap.closepl') }
 ])
 
 const showComponent = (componentName: string, row: Model.TradePositionRsp) => {

+ 20 - 17
src/packages/pc/views/query/performance/buy/all/index.vue

@@ -4,7 +4,7 @@
         <template #headerLeft>
             <app-filter :options="filterOptons">
                 <template #before>
-                    <el-date-picker type="daterange" effect="dark" start-placeholder="开始日期" end-placeholder="结束日期" value-format="YYYYMMDD"
+                    <el-date-picker type="daterange" effect="dark" :start-placeholder="t('common.startdate')" :end-placeholder="t('common.enddate')" value-format="YYYYMMDD"
                         v-model="filterDate" />
                 </template>
             </app-filter>
@@ -35,6 +35,7 @@ import { useDataFilter } from '@/hooks/datatable'
 import { useRequest } from '@/hooks/request'
 import { queryPerformancePlan } from '@/services/api/performance'
 import { BuyOrSell, getPaymentTypeName, getPerformanceStatusName, getPerformanceStatusList, getPerformanceTypeName } from '@/constants/order'
+import { i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 
@@ -47,21 +48,23 @@ const { loading, dataList, run } = useRequest(queryPerformancePlan, {
     },
 })
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'deliverygoodsname', label: '品种' },
-    { field: 'wrstandardname', label: '商品' },
-    { field: 'performancetype', label: '类型' },
-    { field: 'relatedorderid', label: '关联单号' },
-    { field: 'paymenttype', label: '付款方式' },
-    { field: 'buyerfreezeamount', label: '履约冻结' },
-    { field: 'buyerfreezeamountremain', label: '履约冻结剩余' },
-    { field: 'amount', label: '总金额' },
-    { field: 'buypaidamount', label: '已付金额' },
-    { field: 'overshortamount', label: '溢短金额' },
-    { field: 'sellusername', label: '卖方' },
-    { field: 'performancestatus', label: '履约状态' },
-    { field: 'curstepname', label: '当前步骤' },
-    { field: 'starttime', label: '开始时间' },
+    { field: 'deliverygoodsname', label: t('performance.deliverygoodsname') },
+    { field: 'wrstandardname', label: t('performance.wrstandardname') },
+    { field: 'performancetype', label: t('performance.performancetype') },
+    { field: 'relatedorderid', label: t('performance.relatedorderid') },
+    { field: 'paymenttype', label: t('performance.paymenttype') },
+    { field: 'buyerfreezeamount', label: t('performance.buyerfreezeamount') },
+    { field: 'buyerfreezeamountremain', label: t('performance.buyerfreezeamountremain') },
+    { field: 'amount', label: t('performance.amount') },
+    { field: 'buypaidamount', label: t('performance.buypaidamount') },
+    { field: 'overshortamount', label: t('performance.overshortamount') },
+    { field: 'sellusername', label: t('performance.sellusername') },
+    { field: 'performancestatus', label: t('performance.performancestatus') },
+    { field: 'curstepname', label: t('performance.curstepname') },
+    { field: 'starttime', label: t('performance.starttime1') },
 ])
 
 filterOptons.selectList = [
@@ -74,8 +77,8 @@ filterOptons.selectList = [
 ]
 
 filterOptons.buttonList = [
-    { lable: '查询', className: 'el-button--info', onClick: () => onSearch() },
-    { lable: '重置', className: 'el-button--info', onClick: () => onSearch(true) }
+    { lable: t('operation.search'), className: 'el-button--info', onClick: () => onSearch() },
+    { lable: t('operation.reset'), className: 'el-button--info', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 17 - 16
src/packages/pc/views/query/performance/buy/running/index.vue

@@ -26,9 +26,9 @@ import { formatDate } from '@/filters'
 import { useRequest } from '@/hooks/request'
 import { queryPerformancePlan } from '@/services/api/performance'
 import { BuyOrSell, getPaymentTypeName, getPerformanceStatusName, getPerformanceTypeName } from '@/constants/order'
+import { i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 
-
 const { loading, dataList } = useRequest(queryPerformancePlan, {
     params: {
         buyorsell: BuyOrSell.Buy,
@@ -36,21 +36,22 @@ const { loading, dataList } = useRequest(queryPerformancePlan, {
     },
 })
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'deliverygoodsname', label: '品种' },
-    { field: 'wrstandardname', label: '商品' },
-    { field: 'performancetype', label: '类型' },
-    { field: 'relatedorderid', label: '关联单号' },
-    { field: 'paymenttype', label: '付款方式' },
-    { field: 'buyerfreezeamount', label: '履约冻结' },
-    { field: 'buyerfreezeamountremain', label: '履约冻结剩余' },
-    { field: 'amount', label: '总金额' },
-    { field: 'buypaidamount', label: '已付金额' },
-    { field: 'overshortamount', label: '溢短金额' },
-    { field: 'sellusername', label: '卖方' },
-    { field: 'performancestatus', label: '履约状态' },
-    { field: 'curstepname', label: '当前步骤' },
-    { field: 'starttime', label: '开始时间' },
-    
+    { field: 'deliverygoodsname', label: t('performance.deliverygoodsname') },
+    { field: 'wrstandardname', label: t('performance.wrstandardname') },
+    { field: 'performancetype', label: t('performance.performancetype') },
+    { field: 'relatedorderid', label: t('performance.relatedorderid') },
+    { field: 'paymenttype', label: t('performance.paymenttype') },
+    { field: 'buyerfreezeamount', label: t('performance.buyerfreezeamount') },
+    { field: 'buyerfreezeamountremain', label: t('performance.buyerfreezeamountremain') },
+    { field: 'amount', label: t('performance.amount') },
+    { field: 'buypaidamount', label: t('performance.buypaidamount') },
+    { field: 'overshortamount', label: t('performance.overshortamount') },
+    { field: 'sellusername', label: t('performance.sellusername') },
+    { field: 'performancestatus', label: t('performance.performancestatus') },
+    { field: 'curstepname', label: t('performance.curstepname') },
+    { field: 'starttime', label: t('performance.starttime1') },
 ])
 </script>

+ 20 - 17
src/packages/pc/views/query/performance/sell/all/index.vue

@@ -4,7 +4,7 @@
         <template #headerLeft>
             <app-filter :options="filterOptons">
                 <template #before>
-                    <el-date-picker type="daterange" effect="dark" start-placeholder="开始日期" end-placeholder="结束日期" value-format="YYYYMMDD"
+                    <el-date-picker type="daterange" effect="dark" :start-placeholder="t('common.startdate')" :end-placeholder="t('common.enddate')" value-format="YYYYMMDD"
                         v-model="filterDate" />
                 </template>
             </app-filter>
@@ -35,6 +35,7 @@ import { useDataFilter } from '@/hooks/datatable'
 import { useRequest } from '@/hooks/request'
 import { queryPerformancePlan } from '@/services/api/performance'
 import { BuyOrSell, getPaymentTypeName, getPerformanceStatusName, getPerformanceStatusList, getPerformanceTypeName } from '@/constants/order'
+import { i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 
@@ -47,21 +48,23 @@ const { loading, dataList, run } = useRequest(queryPerformancePlan, {
     }
 })
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'deliverygoodsname', label: '品种' },
-    { field: 'wrstandardname', label: '商品' },
-    { field: 'performancetype', label: '类型' },
-    { field: 'relatedorderid', label: '关联单号' },
-    { field: 'paymenttype', label: '付款方式' },
-    { field: 'sellerfreezeamount', label: '履约冻结' },
-    { field: 'sellerfreezeamountremain', label: '履约冻结剩余' },
-    { field: 'amount', label: '总金额' },
-    { field: 'sellreceivedamount', label: '已收金额' },
-    { field: 'overshortamount', label: '溢短金额' },
-    { field: 'buyusername', label: '买方' },
-    { field: 'performancestatus', label: '履约状态' },
-    { field: 'curstepname', label: '当前步骤' },
-    { field: 'starttime', label: '开始时间' },
+    { field: 'deliverygoodsname', label: t('performance.deliverygoodsname') },
+    { field: 'wrstandardname', label: t('performance.wrstandardname') },
+    { field: 'performancetype', label: t('performance.performancetype') },
+    { field: 'relatedorderid', label: t('performance.relatedorderid') },
+    { field: 'paymenttype', label: t('performance.paymenttype') },
+    { field: 'sellerfreezeamount', label: t('performance.sellerfreezeamount') },
+    { field: 'sellerfreezeamountremain', label: t('performance.sellerfreezeamountremain') },
+    { field: 'amount', label: t('performance.amount') },
+    { field: 'sellreceivedamount', label: t('performance.sellreceivedamount') },
+    { field: 'overshortamount', label: t('performance.overshortamount') },
+    { field: 'buyusername', label: t('performance.buyusername') },
+    { field: 'performancestatus', label: t('performance.performancestatus') },
+    { field: 'curstepname', label: t('performance.curstepname') },
+    { field: 'starttime', label: t('performance.starttime1') },
 ])
 
 filterOptons.selectList = [
@@ -74,8 +77,8 @@ filterOptons.selectList = [
 ]
 
 filterOptons.buttonList = [
-    { lable: '查询', className: 'el-button--info', onClick: () => onSearch() },
-    { lable: '重置', className: 'el-button--info', onClick: () => onSearch(true) }
+    { lable: t('operation.search'), className: 'el-button--info', onClick: () => onSearch() },
+    { lable: t('operation.reset'), className: 'el-button--info', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 17 - 15
src/packages/pc/views/query/performance/sell/running/index.vue

@@ -26,9 +26,9 @@ import { formatDate } from '@/filters'
 import { useRequest } from '@/hooks/request'
 import { queryPerformancePlan } from '@/services/api/performance'
 import { BuyOrSell, getPaymentTypeName, getPerformanceStatusName, getPerformanceTypeName } from '@/constants/order'
+import { i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 
-
 const { loading, dataList } = useRequest(queryPerformancePlan, {
     params: {
         buyorsell: BuyOrSell.Sell,
@@ -36,21 +36,23 @@ const { loading, dataList } = useRequest(queryPerformancePlan, {
     },
 })
 
+const { t } = i18n.global
+
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'deliverygoodsname', label: '品种' },
-    { field: 'wrstandardname', label: '商品' },
-    { field: 'performancetype', label: '类型' },
-    { field: 'relatedorderid', label: '关联单号' },
-    { field: 'paymenttype', label: '付款方式' },
-    { field: 'sellerfreezeamount', label: '履约冻结' },
-    { field: 'sellerfreezeamountremain', label: '履约冻结剩余' },
-    { field: 'amount', label: '总金额' },
-    { field: 'sellreceivedamount', label: '已收金额' },
-    { field: 'overshortamount', label: '溢短金额' },
-    { field: 'buyusername', label: '买方' },
-    { field: 'performancestatus', label: '履约状态' },
-    { field: 'curstepname', label: '当前步骤' },
-    { field: 'starttime', label: '开始时间' },
+    { field: 'deliverygoodsname', label: t('performance.deliverygoodsname') },
+    { field: 'wrstandardname', label: t('performance.wrstandardname') },
+    { field: 'performancetype', label: t('performance.performancetype') },
+    { field: 'relatedorderid', label: t('performance.relatedorderid') },
+    { field: 'paymenttype', label: t('performance.paymenttype') },
+    { field: 'sellerfreezeamount', label: t('performance.sellerfreezeamount') },
+    { field: 'sellerfreezeamountremain', label: t('performance.sellerfreezeamountremain') },
+    { field: 'amount', label: t('performance.amount') },
+    { field: 'sellreceivedamount', label: t('performance.sellreceivedamount') },
+    { field: 'overshortamount', label: t('performance.overshortamount') },
+    { field: 'buyusername', label: t('performance.buyusername') },
+    { field: 'performancestatus', label: t('performance.performancestatus') },
+    { field: 'curstepname', label: t('performance.curstepname') },
+    { field: 'starttime', label: t('performance.starttime1') },
     
 ])
 </script>