Commit 0eea2596 authored by dragondean@qq.com's avatar dragondean@qq.com

完善国际化提取

parent 946b8b13
const fs = require('fs');
const root = "./src"
const savePath = "./i18n-messages.txt"
let allFiles = []
function getFiles(dir){
let files = fs.readdirSync(dir)
files.forEach(file => {
......@@ -14,6 +14,11 @@ function getFiles(dir){
}
getFiles(root)
/* allFiles = [
'src/views/ecw/box/shippingSea/utils.js',
'src/components/bpmnProcessDesigner/package/designer/plugins/content-pad/contentPadProvider.js'
]
console.log(allFiles) */
let messages = new Set()
allFiles.forEach(file => {
let data = fs.readFileSync(file, {encoding: 'utf-8'})
......@@ -25,4 +30,5 @@ allFiles.forEach(file => {
}
})
fs.writeFileSync("./i18n-messages.txt", Array.from(messages).join("\n"))
console.log("done!")
\ No newline at end of file
console.log(messages)
console.warn(`共提取 ${messages.size} 个待翻译内容,保存于${savePath}`)
\ No newline at end of file
......@@ -3,6 +3,9 @@ import * as _BOX from "@/api/ecw/box";
import FileSaver from "file-saver";
import Decimal from "decimal.js";
import i18n from "@/i18n";
// 自动提取脚本只匹配$t,所以需要重新给个名字
const $t = i18n.t
/**
* 节点状态值
*
......@@ -11,67 +14,67 @@ import i18n from "@/i18n";
function getStatusName(statu) {
const statusName = new Map();
statusName.set(11, i18n.t("未订舱"));
statusName.set(12, i18n.t("已订舱"));
statusName.set(11, $t("未订舱"));
statusName.set(12, $t("已订舱"));
statusName.set(21, i18n.t("未预装"));
statusName.set(22, i18n.t("预装中"));
statusName.set(23, i18n.t("预装审核中"));
statusName.set(24, i18n.t("预装审核失败"));
statusName.set(25, i18n.t("预装审核成功"));
statusName.set(21, $t("未预装"));
statusName.set(22, $t("预装中"));
statusName.set(23, $t("预装审核中"));
statusName.set(24, $t("预装审核失败"));
statusName.set(25, $t("预装审核成功"));
statusName.set(2111, i18n.t("未理货"));
statusName.set(2112, i18n.t("已理货"));
statusName.set(2111, $t("未理货"));
statusName.set(2112, $t("已理货"));
statusName.set(31, i18n.t("未派车"));
statusName.set(32, i18n.t("已派车"));
statusName.set(31, $t("未派车"));
statusName.set(32, $t("已派车"));
statusName.set(41, i18n.t("未装柜"));
statusName.set(42, i18n.t("装柜中"));
statusName.set(43, i18n.t("已装柜、待封柜"));
statusName.set(44, i18n.t("封柜审核中"));
statusName.set(45, i18n.t("封柜审核失败"));
statusName.set(46, i18n.t("封柜审核成功"));
statusName.set(47, i18n.t("已封柜,待出仓"));
statusName.set(41, $t("未装柜"));
statusName.set(42, $t("装柜中"));
statusName.set(43, $t("已装柜、待封柜"));
statusName.set(44, $t("封柜审核中"));
statusName.set(45, $t("封柜审核失败"));
statusName.set(46, $t("封柜审核成功"));
statusName.set(47, $t("已封柜,待出仓"));
statusName.set(51, i18n.t("未报关"));
statusName.set(52, i18n.t("报关中"));
statusName.set(53, i18n.t("已报关"));
statusName.set(51, $t("未报关"));
statusName.set(52, $t("报关中"));
statusName.set(53, $t("已报关"));
statusName.set(61, i18n.t("未配船"));
statusName.set(62, i18n.t("已配船"));
statusName.set(61, $t("未配船"));
statusName.set(62, $t("已配船"));
statusName.set(71, i18n.t("未提单补料"));
statusName.set(72, i18n.t("已提单补料"));
statusName.set(71, $t("未提单补料"));
statusName.set(72, $t("已提单补料"));
statusName.set(81, i18n.t("未驳船"));
statusName.set(82, i18n.t("已驳船"));
statusName.set(81, $t("未驳船"));
statusName.set(82, $t("已驳船"));
statusName.set(91, i18n.t("未起运"));
statusName.set(92, i18n.t("已起运"));
statusName.set(91, $t("未起运"));
statusName.set(92, $t("已起运"));
statusName.set(101, i18n.t("未上传"));
statusName.set(102, i18n.t("已上传"));
statusName.set(101, $t("未上传"));
statusName.set(102, $t("已上传"));
statusName.set(111, i18n.t("未清关文件"));
statusName.set(112, i18n.t("已清关文件"));
statusName.set(111, $t("未清关文件"));
statusName.set(112, $t("已清关文件"));
statusName.set(121, i18n.t("未到港"));
statusName.set(122, i18n.t("已到港"));
statusName.set(121, $t("未到港"));
statusName.set(122, $t("已到港"));
statusName.set(131, i18n.t("未清关"));
statusName.set(132, i18n.t("已清关"));
statusName.set(131, $t("未清关"));
statusName.set(132, $t("已清关"));
statusName.set(181, i18n.t("未卸柜"));
statusName.set(182, i18n.t("卸柜中"));
statusName.set(183, i18n.t("卸柜审核中"));
statusName.set(184, i18n.t("卸柜审核失败"));
statusName.set(185, i18n.t("卸柜审核成功"));
statusName.set(186, i18n.t("已卸柜"));
statusName.set(181, $t("未卸柜"));
statusName.set(182, $t("卸柜中"));
statusName.set(183, $t("卸柜审核中"));
statusName.set(184, $t("卸柜审核失败"));
statusName.set(185, $t("卸柜审核成功"));
statusName.set(186, $t("已卸柜"));
statusName.set(191, i18n.t("未结算"));
statusName.set(192, i18n.t("结算中"));
statusName.set(193, i18n.t("已结算"));
statusName.set(191, $t("未结算"));
statusName.set(192, $t("结算中"));
statusName.set(193, $t("已结算"));
return statusName.get(statu);
}
......@@ -85,7 +88,7 @@ function seaBaseData() {
return [
[
{
title: i18n.t("订舱"),
title: $t("订舱"),
imgSrc: {
start: require("@/assets/images/shipping/dc-start.png"),
end: require("@/assets/images/shipping/dc-end.png"),
......@@ -106,7 +109,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("排单"),
title: $t("排单"),
imgSrc: {
start: require("@/assets/images/shipping/yz-start.png"),
wait: require("@/assets/images/shipping/yz-wait.png"),
......@@ -139,7 +142,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("理货"),
title: $t("理货"),
imgSrc: {
start: require("@/assets/images/shipping/lh-start.png"),
wait: require("@/assets/images/shipping/lh-wait.png"),
......@@ -159,7 +162,7 @@ function seaBaseData() {
},
},
{
title: i18n.t("拖车"),
title: $t("拖车"),
imgSrc: {
start: require("@/assets/images/shipping/tc-start.png"),
wait: require("@/assets/images/shipping/tc-wait.png"),
......@@ -181,7 +184,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("装柜"),
title: $t("装柜"),
imgSrc: {
start: require("@/assets/images/shipping/zg-start.png"),
wait: require("@/assets/images/shipping/zg-wait.png"),
......@@ -203,7 +206,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("报关"),
title: $t("报关"),
imgSrc: {
start: require("@/assets/images/shipping/bg-start.png"),
wait: require("@/assets/images/shipping/bg-wait.png"),
......@@ -243,7 +246,7 @@ function seaBaseData() {
},
},
{
title: i18n.t("提单补料"),
title: $t("提单补料"),
imgSrc: {
start: require("@/assets/images/shipping/tdcl-start.png"),
wait: require("@/assets/images/shipping/tdcl-wait.png"),
......@@ -265,7 +268,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("驳船"),
title: $t("驳船"),
imgSrc: {
start: require("@/assets/images/shipping/bc-start.png"),
wait: require("@/assets/images/shipping/bc-wait.png"),
......@@ -287,7 +290,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("起运"),
title: $t("起运"),
imgSrc: {
start: require("@/assets/images/shipping/qy-start.png"),
wait: require("@/assets/images/shipping/qy-wait.png"),
......@@ -309,7 +312,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("提单Copy"),
title: $t("提单Copy"),
imgSrc: {
start: require("@/assets/images/shipping/tdcopy-start.png"),
wait: require("@/assets/images/shipping/tdcopy-wait.png"),
......@@ -335,7 +338,7 @@ function seaBaseData() {
wait: require("@/assets/images/shipping/qg-wait.png"),
end: require("@/assets/images/shipping/qg-end.png"),
},
title: i18n.t("清关文件"),
title: $t("清关文件"),
dataKey: "11", // 字典数据键值
/**
* 清关文件状态:111、未清关文件;112、已清关文件
......@@ -351,7 +354,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("到港"),
title: $t("到港"),
imgSrc: {
start: require("@/assets/images/shipping/dg-start.png"),
wait: require("@/assets/images/shipping/dg-wait.png"),
......@@ -373,7 +376,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("清关"),
title: $t("清关"),
imgSrc: {
start: require("@/assets/images/shipping/qg-start.png"),
wait: require("@/assets/images/shipping/qg-wait.png"),
......@@ -395,7 +398,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("卸柜"),
title: $t("卸柜"),
imgSrc: {
start: require("@/assets/images/shipping/xg-start.png"),
wait: require("@/assets/images/shipping/xg-wait.png"),
......@@ -417,7 +420,7 @@ function seaBaseData() {
],
[
{
title: i18n.t("结算"),
title: $t("结算"),
imgSrc: {
start: require("@/assets/images/shipping/js-start.png"),
wait: require("@/assets/images/shipping/js-wait.png"),
......@@ -449,7 +452,7 @@ function seaAirBaseData() {
return [
[
{
title: i18n.t("订舱"),
title: $t("订舱"),
imgSrc: {
start: require("@/assets/images/shipping/dc-start.png"),
end: require("@/assets/images/shipping/dc-end.png"),
......@@ -470,7 +473,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("排单"),
title: $t("排单"),
imgSrc: {
start: require("@/assets/images/shipping/yz-start.png"),
wait: require("@/assets/images/shipping/yz-wait.png"),
......@@ -503,7 +506,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("理货"),
title: $t("理货"),
imgSrc: {
start: require("@/assets/images/shipping/lh-start.png"),
wait: require("@/assets/images/shipping/lh-wait.png"),
......@@ -523,7 +526,7 @@ function seaAirBaseData() {
},
},
{
title: i18n.t("拖车"),
title: $t("拖车"),
imgSrc: {
start: require("@/assets/images/shipping/tc-start.png"),
wait: require("@/assets/images/shipping/tc-wait.png"),
......@@ -545,7 +548,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("装柜"),
title: $t("装柜"),
imgSrc: {
start: require("@/assets/images/shipping/zg-start.png"),
wait: require("@/assets/images/shipping/zg-wait.png"),
......@@ -567,7 +570,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("报关"),
title: $t("报关"),
imgSrc: {
start: require("@/assets/images/shipping/bg-start.png"),
wait: require("@/assets/images/shipping/bg-wait.png"),
......@@ -587,7 +590,7 @@ function seaAirBaseData() {
},
},
{
title: i18n.t("配船"),
title: $t("配船"),
imgSrc: {
start: require("@/assets/images/shipping/pc-start.png"),
wait: require("@/assets/images/shipping/pc-wait.png"),
......@@ -607,7 +610,7 @@ function seaAirBaseData() {
},
},
{
title: i18n.t("提单补料"),
title: $t("提单补料"),
imgSrc: {
start: require("@/assets/images/shipping/tdcl-start.png"),
wait: require("@/assets/images/shipping/tdcl-wait.png"),
......@@ -629,7 +632,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("驳船"),
title: $t("驳船"),
imgSrc: {
start: require("@/assets/images/shipping/bc-start.png"),
wait: require("@/assets/images/shipping/bc-wait.png"),
......@@ -651,7 +654,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("起运"),
title: $t("起运"),
imgSrc: {
start: require("@/assets/images/shipping/qy-start.png"),
wait: require("@/assets/images/shipping/qy-wait.png"),
......@@ -673,7 +676,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("提单Copy"),
title: $t("提单Copy"),
imgSrc: {
start: require("@/assets/images/shipping/tdcopy-start.png"),
wait: require("@/assets/images/shipping/tdcopy-wait.png"),
......@@ -699,7 +702,7 @@ function seaAirBaseData() {
wait: require("@/assets/images/shipping/qg-wait.png"),
end: require("@/assets/images/shipping/qg-end.png"),
},
title: i18n.t("清关文件"),
title: $t("清关文件"),
dataKey: "11", // 字典数据键值
/**
* 清关文件状态:111、未清关文件;112、已清关文件
......@@ -715,7 +718,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("到港"),
title: $t("到港"),
imgSrc: {
start: require("@/assets/images/shipping/dg-start.png"),
wait: require("@/assets/images/shipping/dg-wait.png"),
......@@ -737,7 +740,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("清关"),
title: $t("清关"),
imgSrc: {
start: require("@/assets/images/shipping/qg-start.png"),
wait: require("@/assets/images/shipping/qg-wait.png"),
......@@ -759,7 +762,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("二程起飞"),
title: $t("二程起飞"),
imgSrc: {
start: require("@/assets/images/shipping/ecqf-start.png"),
wait: require("@/assets/images/shipping/ecqf-wait.png"),
......@@ -781,7 +784,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("二程到港"),
title: $t("二程到港"),
imgSrc: {
start: require("@/assets/images/shipping/ecdg-start.png"),
wait: require("@/assets/images/shipping/ecdg-wait.png"),
......@@ -803,7 +806,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("卸柜"),
title: $t("卸柜"),
imgSrc: {
start: require("@/assets/images/shipping/xg-start.png"),
wait: require("@/assets/images/shipping/xg-wait.png"),
......@@ -825,7 +828,7 @@ function seaAirBaseData() {
],
[
{
title: i18n.t("结算"),
title: $t("结算"),
imgSrc: {
start: require("@/assets/images/shipping/js-start.png"),
wait: require("@/assets/images/shipping/js-wait.png"),
......@@ -861,254 +864,254 @@ function getColmnMapping() {
key: "sono",
},
{
title: i18n.t("船公司类型"),
title: $t("船公司类型"),
key: "shipCompanyType",
type: "supplier",
},
{
title: i18n.t("驳船港"),
title: $t("驳船港"),
key: "bargePortId",
type: "dock",
},
{
title: i18n.t("大船港"),
title: $t("大船港"),
key: "bigPortId",
type: "dock",
},
{
title: i18n.t("目的港"),
title: $t("目的港"),
key: "destPortId",
type: "dock",
},
{
title: i18n.t("订舱公司"),
title: $t("订舱公司"),
key: "spaceCompanyId",
type: "supplier",
},
{
title: i18n.t("预计驳船时间"),
title: $t("预计驳船时间"),
key: "bargeTime",
type: "date",
},
{
title: i18n.t("预计开船时间"),
title: $t("预计开船时间"),
key: "sailTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
preInstallInfo: [
{
title: i18n.t("预装时间"),
title: $t("预装时间"),
key: "createTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
trailerInfo: [
{
title: i18n.t("货柜号"),
title: $t("货柜号"),
key: "tlContainerNo",
},
{
title: i18n.t("封条"),
title: $t("封条"),
key: "tlStripSeal",
},
{
title: i18n.t("拖车公司"),
title: $t("拖车公司"),
key: "tlCompanyId",
type: "supplier",
},
{
title: i18n.t("拖车时间"),
title: $t("拖车时间"),
key: "tlTime",
type: "date",
},
{
title: i18n.t("车牌"),
title: $t("车牌"),
key: "tlLicensePlate",
},
{
title: i18n.t("司机"),
title: $t("司机"),
key: "tlDriver",
},
{
title: i18n.t("联系方式"),
title: $t("联系方式"),
key: "tlDriverContact",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
tallyInfo: [
{
title: i18n.t("完成理货时间"),
title: $t("完成理货时间"),
key: "tyTime",
type: "datetime",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "tyOperator",
},
],
agentInfo: [
{
title: i18n.t("代理商"),
title: $t("代理商"),
key: "agentId",
type: "supplier",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
cabinetInfo: [
{
title: i18n.t("到仓时间"),
title: $t("到仓时间"),
key: "ldInWarehouseTime",
type: "date",
},
{
title: i18n.t("仓库类型"),
title: $t("仓库类型"),
key: "ldWarehouseType",
type: "warehouse",
},
{
title: i18n.t("装柜时间"),
title: $t("装柜时间"),
key: "ldBoxTime",
type: "date",
},
{
title: i18n.t("出仓时间"),
title: $t("出仓时间"),
key: "ldOutWarehouseTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
customsInfo: [
{
title: i18n.t("报关方式"),
title: $t("报关方式"),
key: "dcCustomsType",
type: "shipping_customs_type",
},
{
title: i18n.t("报关行公司"),
title: $t("报关行公司"),
key: "dcCompanyId",
type: "supplier",
},
{
title: i18n.t("截关时间"),
title: $t("截关时间"),
key: "dcCutOffTime",
type: "date",
},
{
title: i18n.t("状态"),
title: $t("状态"),
key: "dcCustomsStatus",
type: "shipping_dcCustoms_status",
},
{
title: i18n.t("放行时间"),
title: $t("放行时间"),
key: "dcPassTime",
type: "date",
},
{
title: i18n.t("新封条"),
title: $t("新封条"),
key: "dcStripSeal",
},
{
title: i18n.t("柜重"),
title: $t("柜重"),
key: "dcBoxWgt",
},
{
title: i18n.t("货重"),
title: $t("货重"),
key: "dcGoodsWgt",
},
{
title: i18n.t("VGM重量"),
title: $t("VGM重量"),
key: "dcVgmWgt",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
shipConfigInfo: [
{
title: i18n.t("已配/免配"),
title: $t("已配/免配"),
key: "saExmtStatus",
type: "saExmtStatus",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
ladingBillInfo: [
{
title: i18n.t("清关代理"),
title: $t("清关代理"),
key: "agentId",
type: "supplier",
},
{
title: i18n.t("提单品名"),
title: $t("提单品名"),
key: "blMblNo",
},
{
title: i18n.t("通知方"),
title: $t("通知方"),
key: "notifyingId",
type: "user",
},
{
title: i18n.t("提单备注"),
title: $t("提单备注"),
key: "remarks",
},
{
title: i18n.t("数量(个)"),
title: $t("数量(个)"),
key: "packageNum",
},
{
title: i18n.t("体积"),
title: $t("体积"),
key: "cbm",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
bargeInfo: [
{
title: i18n.t("驳船"),
title: $t("驳船"),
key: "bgExmtStatus",
type: "bgExmtStatus",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
shippingInfo: [
{
title: i18n.t("实际开船时间"),
title: $t("实际开船时间"),
key: "dtRealShipTime",
type: "datetime",
},
{
title: i18n.t("预计到港时间"),
title: $t("预计到港时间"),
key: "dtEstArrivalTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
......@@ -1124,128 +1127,128 @@ function getColmnMapping() {
type: "isFile",
},
{
title: i18n.t("出单方式"),
title: $t("出单方式"),
key: "cdOutBillType",
type: "billingMethod",
},
{
title: i18n.t("寄送时间"),
title: $t("寄送时间"),
key: "cdSendTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
arrivalInfo: [
{
title: i18n.t("实际到港时间"),
title: $t("实际到港时间"),
key: "apRealTime",
type: "datetime",
},
{
title: i18n.t("确认到港"),
title: $t("确认到港"),
key: "apConfirmTime",
type: "datetime",
},
{
title: i18n.t("卸港时间"),
title: $t("卸港时间"),
key: "apUnloadPortTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
clearanceInfo: [
{
title: i18n.t("预计清关时间"),
title: $t("预计清关时间"),
key: "clEstTime",
type: "date",
},
{
title: i18n.t("清关时间"),
title: $t("清关时间"),
key: "clClearTime",
type: "datetime",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
takeOffInfo: [
{
title: i18n.t("预计头程时间"),
title: $t("预计头程时间"),
key: "estHeadTime",
type: "datetime",
},
{
title: i18n.t("实际头程时间"),
title: $t("实际头程时间"),
key: "actHeadTime",
type: "datetime",
},
{
title: i18n.t("预计二程时间"),
title: $t("预计二程时间"),
key: "estSecondTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
airArrivalInfo: [
{
title: i18n.t("预计到达时间"),
title: $t("预计到达时间"),
key: "estTime",
type: "datetime",
},
{
title: i18n.t("实际到达时间"),
title: $t("实际到达时间"),
key: "actTime",
type: "datetime",
},
{
title: i18n.t("实际二程时间"),
title: $t("实际二程时间"),
key: "actSecondTime",
type: "datetime",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
cabinetUnloadInfo: [
{
title: i18n.t("到仓时间"),
title: $t("到仓时间"),
key: "ulWarehouseTime",
type: "date",
},
{
title: i18n.t("卸货时间"),
title: $t("卸货时间"),
key: "ulBoxTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
settlementInfo: [
{
title: i18n.t("可结算"),
title: $t("可结算"),
key: "slSettlementTime",
type: "date",
},
{
title: i18n.t("已结算"),
title: $t("已结算"),
key: "slSettledTime",
type: "date",
},
{
title: i18n.t("业务员"),
title: $t("业务员"),
key: "operator",
},
],
......@@ -1260,44 +1263,44 @@ const constantDict = {
saExmtStatus: [
{
value: "1",
label: i18n.t("免配"),
label: $t("免配"),
},
{
value: "2",
label: i18n.t("已配"),
label: $t("已配"),
},
],
// 驳船
bgExmtStatus: [
{
value: "1",
label: i18n.t("无驳船"),
label: $t("无驳船"),
},
{
value: "2",
label: i18n.t("有驳船"),
label: $t("有驳船"),
},
],
// 出单方式
billingMethod: [
{
value: "1",
label: i18n.t("电放"),
label: $t("电放"),
},
{
value: "2",
label: i18n.t("正本"),
label: $t("正本"),
},
],
// 是否有文件
isFile: [
{
value: "1",
label: i18n.t("无需"),
label: $t("无需"),
},
{
value: "2",
label: i18n.t("已做"),
label: $t("已做"),
},
],
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment