修改:国际化调整

This commit is contained in:
fan 2019-08-19 15:46:52 +08:00
parent 91b2674de4
commit d0f7bd46a9
13 changed files with 128 additions and 126 deletions

View File

@ -45,14 +45,9 @@ export default {
authorityDetails: 'AuthorityDetails', authorityDetails: 'AuthorityDetails',
renew: 'Renew', renew: 'Renew',
productName: 'ProductName', productName: 'ProductName',
updateProductTip: 'Will this operation modify the commodity status?',
deleteProductTip: 'This operation will delete the item. Do you want to continue?',
recovery: 'Recovery', recovery: 'Recovery',
permissionPack: 'PermissionPack', permissionPack: 'PermissionPack',
privilegeTransferQRCode: 'PrivilegeTransferQRCode', privilegeTransferQRCode: 'PrivilegeTransferQRCode',
getQRCodeFailure: 'Failed to obtain the package authority qr code',
recoveryPrivilegeTip: 'This action will reclaim permissions. Do you want to continue?',
unpackingTip: 'This operation will be unpacked. Do you want to continue?',
generatingQRCode: 'GeneratingQRCode', generatingQRCode: 'GeneratingQRCode',
transferQRCode: 'TransferQRCode', transferQRCode: 'TransferQRCode',
today: 'Today', today: 'Today',
@ -66,27 +61,7 @@ export default {
increasePermissionNumber: 'IncreasePermissionNumber', increasePermissionNumber: 'IncreasePermissionNumber',
choosePermissionNumber: 'ChoosePermissionNumber', choosePermissionNumber: 'ChoosePermissionNumber',
itemPricing: 'itemPricing', itemPricing: 'itemPricing',
organizationInput: 'Please enter the name of the organization or business', addUserPermissions: 'Add user permissions',
productSelect: 'Please select products',
itemPricingInput: 'Please enter unit price',
orderTypeSelect: 'Please select the order type',
contractNumberInput: 'Please enter the contract number',
contractNumberLimit: 'The length is between 1 and 25 characters',
salesmanInput: 'Please select a salesperson',
foreverRadio: 'Please select a',
amountInput: 'Please enter the number of permissions to purchase',
amountInputError: 'Please enter the number of valid permissions',
totalPriceInput: 'Please enter the total price',
totalPriceInputError1: 'Please enter the price in two decimal places',
totalPriceInputError2: 'Please enter valid total price',
monthAmountInput: 'Please enter purchase month',
monthAmountInputError: 'Please enter valid months of purchase',
startTimePick: 'Please select a start date',
bizTypeSelect: 'Select a business type',
payWaysSelect: 'Please select payment method',
payStatusSelect: 'Please select payment status',
addOrganizationPrefix: 'Whether to add "',
addOrganizationSuffix: '" Organization/enterprise entry information?',
publicAuthority: 'PublicAuthority', publicAuthority: 'PublicAuthority',
privateAuthority: 'PrivateAuthority', privateAuthority: 'PrivateAuthority',
optionPrivilegeTransfer: 'Option privilege transfer', optionPrivilegeTransfer: 'Option privilege transfer',
@ -95,7 +70,6 @@ export default {
addRecords: 'AddRecords', addRecords: 'AddRecords',
totalNumber: 'TotalNumber', totalNumber: 'TotalNumber',
permissionToDistributeQRCode: 'Permission to distribute qr code', permissionToDistributeQRCode: 'Permission to distribute qr code',
packagingFailed: 'Authority distribution packaging failed',
selectPackagingRecord: 'Please select the packaging record', selectPackagingRecord: 'Please select the packaging record',
editPermissionRules: 'Edit permission rules', editPermissionRules: 'Edit permission rules',
addGoods: 'AddGoods', addGoods: 'AddGoods',
@ -104,17 +78,6 @@ export default {
whetherTrial: 'WhetherTrial', whetherTrial: 'WhetherTrial',
unitOfTime: 'UnitOfTime', unitOfTime: 'UnitOfTime',
trialTime: 'TrialTime', trialTime: 'TrialTime',
goodsNameInput: 'Please enter product name',
productTypeInput: 'Please select product type',
mapInput: 'Please select map',
productInput: 'Please select product',
lessonInput: 'Please select courses',
trialTimeInput: 'Please enter trial duration',
unitOfTimeRadio: 'Please select a time unit',
goodsDescribtionInput: 'Please enter product description',
addUserPermissions: 'Add user permissions',
userNameInput: 'Please enter user name',
permissionTypeInput: 'Please select the permission type',
distributionUser: 'DistributionUser', distributionUser: 'DistributionUser',
orderNumber: 'OrderNumber', orderNumber: 'OrderNumber',
sourcesOfInformation: 'SourcesOfInformation', sourcesOfInformation: 'SourcesOfInformation',

View File

@ -148,5 +148,33 @@ export default {
pleaseSelectStatus: '请选择状态', pleaseSelectStatus: '请选择状态',
pleaseInputCode: '请输入编码', pleaseInputCode: '请输入编码',
strLength1To25: '长度在 1 到 25 个字符', strLength1To25: '长度在 1 到 25 个字符',
strLengthNotExceed50: '不能超过 50 个字符' strLengthNotExceed50: '不能超过 50 个字符',
organizationInput: 'Please enter the name of the organization or business',
productSelect: 'Please select products',
itemPricingInput: 'Please enter unit price',
orderTypeSelect: 'Please select the order type',
contractNumberInput: 'Please enter the contract number',
salesmanInput: 'Please select a salesperson',
authorAmountInput: 'Please enter the number of permissions to purchase',
authorAmountInputError: 'Please enter the number of valid permissions',
totalPriceInput: 'Please enter the total price',
totalPriceInputError1: 'Please enter the price in two decimal places',
totalPriceInputError2: 'Please enter valid total price',
monthAmountInput: 'Please enter purchase month',
monthAmountInputError: 'Please enter valid months of purchase',
startTimePick: 'Please select a start date',
bizTypeSelect: 'Select a business type',
payWaysSelect: 'Please select payment method',
payStatusSelect: 'Please select payment status',
goodsNameInput: 'Please enter product name',
productTypeInput: 'Please select product type',
mapInput: 'Please select map',
productInput: 'Please select product',
lessonInput: 'Please select courses',
trialTimeInput: 'Please enter trial duration',
unitOfTimeRadio: 'Please select a time unit',
goodsDescribtionInput: 'Please enter product description',
userNameInput: 'Please enter user name',
permissionTypeInput: 'Please select the permission type'
}; };

View File

@ -73,5 +73,15 @@ export default {
requestFailed: '请求失败', requestFailed: '请求失败',
dataQuestion: '有问题数据', dataQuestion: '有问题数据',
dataList: '数据列表' dataList: '数据列表',
updateProductTip: 'Will this operation modify the commodity status?',
deleteProductTip: 'This operation will delete the item. Do you want to continue?',
getQRCodeFailure: 'Failed to obtain the package authority qr code',
recoveryPrivilegeTip: 'This action will reclaim permissions. Do you want to continue?',
unpackingTip: 'This operation will be unpacked. Do you want to continue?',
updatePrivilegeTip: 'This action will modify the permission status. Do you want to continue?',
addOrganizationPrefix: 'Whether to add "',
addOrganizationSuffix: '" Organization/enterprise entry information?',
packagingFailed: 'Authority distribution packaging failed'
}; };

View File

@ -45,15 +45,9 @@ export default {
authorityDetails: '权限详情', authorityDetails: '权限详情',
renew: '续费', renew: '续费',
productName: '产品名称', productName: '产品名称',
updateProductTip: '此操作将修改商品状态?',
deleteProductTip: '此操作将删除该商品, 是否继续?',
recovery: '回收', recovery: '回收',
permissionPack: '权限包', permissionPack: '权限包',
privilegeTransferQRCode: '权限转赠二维码', privilegeTransferQRCode: '权限转赠二维码',
getQRCodeFailure: '获取打包权限二维码失败',
recoveryPrivilegeTip: '此操作将回收权限, 是否继续?',
unpackingTip: '此操作将解包, 是否继续?',
updatePrivilegeTip: '此操作将修改权限状态?',
generatingQRCode: '生成二维码', generatingQRCode: '生成二维码',
transferQRCode: '转赠二维码', transferQRCode: '转赠二维码',
today: '今天', today: '今天',
@ -68,27 +62,7 @@ export default {
increasePermissionNumber: '增加权限数量', increasePermissionNumber: '增加权限数量',
choosePermissionNumber: '选择权限数量', choosePermissionNumber: '选择权限数量',
itemPricing: '商品单价', itemPricing: '商品单价',
organizationInput: '请输入组织或者企业名称', addUserPermissions: '添加用户权限',
productSelect: '请选择商品',
itemPricingInput: '请输入商品单价',
orderTypeSelect: '请选择订单类型',
contractNumberInput: '请输入合同编号',
contractNumberLimit: '长度在 1 到 25 个字符',
salesmanInput: '请选择销售人员',
foreverRadio: '请选择',
amountInput: '请输入购买的权限个数',
amountInputError: '请输入有效权限个数',
totalPriceInput: '请输入总价格',
totalPriceInputError1: '请输入的价格在两位小数',
totalPriceInputError2: '请输入有效总价格',
monthAmountInput: '请输入购买月数',
monthAmountInputError: '请输入有效购买月数',
startTimePick: '请选择开始日期',
bizTypeSelect: '请选择业务类型',
payWaysSelect: '请选择支付方式',
payStatusSelect: '请选择支付状态',
addOrganizationPrefix: '是否添加 "',
addOrganizationSuffix: '" 组织/企业条目信息?',
publicAuthority: '公用权限', publicAuthority: '公用权限',
privateAuthority: '专用权限', privateAuthority: '专用权限',
optionPrivilegeTransfer: '选择权限转赠', optionPrivilegeTransfer: '选择权限转赠',
@ -97,7 +71,6 @@ export default {
addRecords: '添加记录', addRecords: '添加记录',
totalNumber: '总数', totalNumber: '总数',
permissionToDistributeQRCode: '权限分发二维码', permissionToDistributeQRCode: '权限分发二维码',
packagingFailed: '权限分发打包失败',
selectPackagingRecord: '请选择打包记录', selectPackagingRecord: '请选择打包记录',
editPermissionRules: '编辑权限规则', editPermissionRules: '编辑权限规则',
addGoods: '添加商品', addGoods: '添加商品',
@ -106,17 +79,6 @@ export default {
whetherTrial: '是否试用', whetherTrial: '是否试用',
unitOfTime: '时间单位', unitOfTime: '时间单位',
trialTime: '试用时长', trialTime: '试用时长',
goodsNameInput: '请输入商品名称',
productTypeInput: '请选择产品类型',
mapInput: '请选择地图',
productInput: '请选择产品',
lessonInput: '请选择课程',
trialTimeInput: '请输入试用时长',
unitOfTimeRadio: '请选择时间单位',
goodsDescribtionInput: '请输入商品描述',
addUserPermissions: '添加用户权限',
userNameInput: '请输入用户名称',
permissionTypeInput: '请选择权限类型',
distributionUser: '分发用户', distributionUser: '分发用户',
orderNumber: '订单号', orderNumber: '订单号',
sourcesOfInformation: '信息来源', sourcesOfInformation: '信息来源',

View File

@ -148,5 +148,33 @@ export default {
pleaseSelectStatus: '请选择状态', pleaseSelectStatus: '请选择状态',
pleaseInputCode: '请输入编码', pleaseInputCode: '请输入编码',
strLength1To25: '长度在 1 到 25 个字符', strLength1To25: '长度在 1 到 25 个字符',
strLengthNotExceed50: '不能超过 50 个字符' strLengthNotExceed50: '不能超过 50 个字符',
organizationInput: '请输入组织或者企业名称',
productSelect: '请选择商品',
itemPricingInput: '请输入商品单价',
orderTypeSelect: '请选择订单类型',
contractNumberInput: '请输入合同编号',
salesmanInput: '请选择销售人员',
authorAmountInput: '请输入购买的权限个数',
authorAmountInputError: '请输入有效权限个数',
totalPriceInput: '请输入总价格',
totalPriceInputError1: '请输入的价格在两位小数',
totalPriceInputError2: '请输入有效总价格',
monthAmountInput: '请输入购买月数',
monthAmountInputError: '请输入有效购买月数',
startTimePick: '请选择开始日期',
bizTypeSelect: '请选择业务类型',
payWaysSelect: '请选择支付方式',
payStatusSelect: '请选择支付状态',
goodsNameInput: '请输入商品名称',
productTypeInput: '请选择产品类型',
mapInput: '请选择地图',
productInput: '请选择产品',
lessonInput: '请选择课程',
trialTimeInput: '请输入试用时长',
unitOfTimeRadio: '请选择时间单位',
goodsDescribtionInput: '请输入商品描述',
userNameInput: '请输入用户名称',
permissionTypeInput: '请选择权限类型'
}; };

View File

@ -73,5 +73,16 @@ export default {
requestFailed: '请求失败', requestFailed: '请求失败',
dataQuestion: '有问题数据', dataQuestion: '有问题数据',
dataList: '数据列表' dataList: '数据列表',
updateProductTip: '此操作将修改商品状态?',
deleteProductTip: '此操作将删除该商品, 是否继续?',
getQRCodeFailure: '获取打包权限二维码失败',
recoveryPrivilegeTip: '此操作将回收权限, 是否继续?',
unpackingTip: '此操作将解包, 是否继续?',
updatePrivilegeTip: '此操作将修改权限状态,是否继续?',
addOrganizationPrefix: '是否添加 "',
addOrganizationSuffix: '" 组织/企业条目信息?',
packagingFailed: '权限分发打包失败'
}; };

View File

@ -66,25 +66,25 @@ export default {
const _this = this; const _this = this;
const baseRules = { const baseRules = {
userId: [ userId: [
{ required: true, message: this.$t('orderAuthor.userNameInput'), trigger: 'blur' } { required: true, message: this.$t('rules.userNameInput'), trigger: 'blur' }
], ],
lessonId: [ lessonId: [
{ required: true, message: this.$t('orderAuthor.lessonInput'), trigger: 'change' } { required: true, message: this.$t('rules.lessonInput'), trigger: 'change' }
], ],
type: [ type: [
{ required: true, message: this.$t('orderAuthor.permissionTypeInput'), trigger: 'change' } { required: true, message: this.$t('rules.permissionTypeInput'), trigger: 'change' }
], ],
forever: [ forever: [
{ required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' } { required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' }
], ],
total: [ total: [
{ required: true, message: this.$t('orderAuthor.amountInput'), trigger: 'change' }, { required: true, message: this.$t('rules.authorAmountInput'), trigger: 'change' },
{ {
validator(rule, value, callback) { validator(rule, value, callback) {
if (Number.isInteger(Number(value)) && Number(value) >= 0) { if (Number.isInteger(Number(value)) && Number(value) >= 0) {
callback(); callback();
} else { } else {
callback(new Error(_this.$t('orderAuthor.amountInputError'))); callback(new Error(_this.$t('rules.authorAmountInputError')));
} }
}, },
trigger: 'blur' trigger: 'blur'

View File

@ -207,7 +207,7 @@
return getLessonPermissonPageList(params); return getLessonPermissonPageList(params);
}, },
handleSetFailure(index, row) { handleSetFailure(index, row) {
this.$confirm(this.$t('orderAuthor.updatePrivilegeTip'), this.$t('tip.hint'), { this.$confirm(this.$t('tip.updatePrivilegeTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'), confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'), cancelButtonText: this.$t('tip.cancel'),
type: 'warning' type: 'warning'

View File

@ -126,48 +126,48 @@ export default {
rules() { rules() {
const baseRules = { const baseRules = {
name: [ name: [
{ required: true, message: this.$t('orderAuthor.goodsNameInput'), trigger: 'blur' } { required: true, message: this.$t('rules.goodsNameInput'), trigger: 'blur' }
], ],
productType: [ productType: [
{ required: true, message: this.$t('orderAuthor.productTypeInput'), trigger: 'change' } { required: true, message: this.$t('rules.productTypeInput'), trigger: 'change' }
], ],
mapId: [ mapId: [
{ required: true, message: this.$t('orderAuthor.mapInput'), trigger: 'change' } { required: true, message: this.$t('rules.mapInput'), trigger: 'change' }
], ],
mapProductCode: [ mapProductCode: [
{ required: true, message: this.$t('orderAuthor.productInput'), trigger: 'change' } { required: true, message: this.$t('rules.productInput'), trigger: 'change' }
], ],
lessonId: [ lessonId: [
{ required: true, message: this.$t('orderAuthor.lessonInput'), trigger: 'change' } { required: true, message: this.$t('rules.lessonInput'), trigger: 'change' }
], ],
forever: [ forever: [
{ required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' } { required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' }
], ],
tryUseTime: [ tryUseTime: [
{ required: true, message: this.$t('orderAuthor.trialTimeInput'), trigger: 'change' } { required: true, message: this.$t('rules.trialTimeInput'), trigger: 'change' }
], ],
tryUseTimeUnit: [ tryUseTimeUnit: [
{ required: true, message: this.$t('orderAuthor.unitOfTimeRadio'), trigger: 'change' } { required: true, message: this.$t('rules.unitOfTimeRadio'), trigger: 'change' }
], ],
price: [ price: [
{ required: true, message: this.$t('orderAuthor.totalPriceInput'), trigger: 'change' }, { required: true, message: this.$t('rules.totalPriceInput'), trigger: 'change' },
{ {
validator(rule, value, callback) { validator(rule, value, callback) {
if (Number(value) >= 0) { if (Number(value) >= 0) {
if (String(value).split('.')[1] && String(value).split('.')[1].length > 2) { if (String(value).split('.')[1] && String(value).split('.')[1].length > 2) {
callback(new Error(this.$t('orderAuthor.totalPriceInputError1'))); callback(new Error(this.$t('rules.totalPriceInputError1')));
} else { } else {
callback(); callback();
} }
} else { } else {
callback(new Error(this.$t('orderAuthor.totalPriceInputError2'))); callback(new Error(this.$t('rules.totalPriceInputError2')));
} }
}, },
trigger: 'blur' trigger: 'blur'
} }
], ],
remarks: [ remarks: [
{ required: true, message: this.$t('orderAuthor.goodsDescribtionInput'), trigger: 'blur' } { required: true, message: this.$t('rules.goodsDescribtionInput'), trigger: 'blur' }
] ]
}; };

View File

@ -183,7 +183,7 @@
}, },
// //
handleEfficacy(index, row) { handleEfficacy(index, row) {
this.$confirm(this.$t('orderAuthor.updateProductTip'), this.$t('tip.hint'), { this.$confirm(this.$t('tip.updateProductTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'), confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'), cancelButtonText: this.$t('tip.cancel'),
type: 'warning' type: 'warning'
@ -198,7 +198,7 @@
}).catch(() => { }) }).catch(() => { })
}, },
handleDelete(index, row) { handleDelete(index, row) {
this.$confirm(this.$t('orderAuthor.deleteProductTip'), this.$t('tip.hint'), { this.$confirm(this.$t('tip.deleteProductTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'), confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'), cancelButtonText: this.$t('tip.cancel'),
type: 'warning' type: 'warning'

View File

@ -185,84 +185,84 @@
const _this = this; const _this = this;
let baseRules = { let baseRules = {
organizationId: [ organizationId: [
{ required: true, message: this.$t('orderAuthor.organizationInput'), trigger: 'blur' } { required: true, message: this.$t('rules.organizationInput'), trigger: 'blur' }
], ],
// goodsId: [ // goodsId: [
// { required: true, message: '', trigger: 'change' } // { required: true, message: '', trigger: 'change' }
// ], // ],
goodsName: [ goodsName: [
{ required: true, message: this.$t('orderAuthor.productSelect'), trigger: 'change' } { required: true, message: this.$t('rules.productSelect'), trigger: 'change' }
], ],
price: [ price: [
{ required: true, message: this.$t('orderAuthor.itemPricingInput'), trigger: 'blur' } { required: true, message: this.$t('rules.itemPricingInput'), trigger: 'blur' }
], ],
orderType: [ orderType: [
{ required: true, message: this.$t('orderAuthor.orderTypeSelect'), trigger: 'change' } { required: true, message: this.$t('rules.orderTypeSelect'), trigger: 'change' }
], ],
contractNo: [ contractNo: [
{ required: true, message: this.$t('orderAuthor.contractNumberInput'), trigger: 'blur' }, { required: true, message: this.$t('rules.contractNumberInput'), trigger: 'blur' },
{ min: 1, max: 25, message: this.$t('orderAuthor.contractNumberLimit'), trigger: 'blur' } { min: 1, max: 25, message: this.$t('rules.strLength1To25'), trigger: 'blur' }
], ],
sellerId: [ sellerId: [
{ required: true, message: this.$t('orderAuthor.salesmanInput'), trigger: 'change' } { required: true, message: this.$t('rules.salesmanInput'), trigger: 'change' }
], ],
forever: [ forever: [
{ required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' } { required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' }
], ],
amount: [ amount: [
{ required: true, message: this.$t('orderAuthor.amountInput'), trigger: 'change' }, { required: true, message: this.$t('rules.authorAmountInput'), trigger: 'change' },
{ {
validator(rule, value, callback) { validator(rule, value, callback) {
if (Number.isInteger(Number(value)) && Number(value) > 0) { if (Number.isInteger(Number(value)) && Number(value) > 0) {
callback(); callback();
} else { } else {
callback(new Error(_this.$t('orderAuthor.amountInputError'))); callback(new Error(_this.$t('rules.authorAmountInputError')));
} }
}, },
trigger: 'blur', trigger: 'blur',
} }
], ],
totalPrice: [ totalPrice: [
{ required: true, message: this.$t('orderAuthor.totalPriceInput'), trigger: 'change' }, { required: true, message: this.$t('rules.totalPriceInput'), trigger: 'change' },
{ {
validator(rule, value, callback) { validator(rule, value, callback) {
if (Number(value) >= 0) { if (Number(value) >= 0) {
if (String(value).split('.')[1] && String(value).split('.')[1].length > 2) { if (String(value).split('.')[1] && String(value).split('.')[1].length > 2) {
callback(new Error(this.$t('orderAuthor.totalPriceInputError1'))); callback(new Error(this.$t('rules.totalPriceInputError1')));
} else { } else {
callback(); callback();
} }
} else { } else {
callback(new Error(_this.$t('orderAuthor.totalPriceInputError2'))); callback(new Error(_this.$t('rules.totalPriceInputError2')));
} }
}, },
trigger: 'blur', trigger: 'blur',
} }
], ],
monthAmount: [ monthAmount: [
{ required: true, message: this.$t('orderAuthor.monthAmountInput'), trigger: 'change' }, { required: true, message: this.$t('rules.monthAmountInput'), trigger: 'change' },
{ {
validator(rule, value, callback) { validator(rule, value, callback) {
if (Number.isInteger(Number(value)) && Number(value) > 0) { if (Number.isInteger(Number(value)) && Number(value) > 0) {
callback(); callback();
} else { } else {
callback(new Error(_this.$t('orderAuthor.monthAmountInputError'))); callback(new Error(_this.$t('rules.monthAmountInputError')));
} }
}, },
trigger: 'blur', trigger: 'blur',
} }
], ],
startTime: [ startTime: [
{ required: true, message: this.$t('orderAuthor.startTimePick'), trigger: 'change' } { required: true, message: this.$t('rules.startTimePick'), trigger: 'change' }
], ],
bizType: [ bizType: [
{ required: true, message: this.$t('orderAuthor.bizTypeSelect'), trigger: 'change' } { required: true, message: this.$t('rules.bizTypeSelect'), trigger: 'change' }
], ],
payWays: [ payWays: [
{ required: true && this.isShowPayType, message: this.$t('orderAuthor.payWaysSelect'), trigger: 'change' } { required: true && this.isShowPayType, message: this.$t('rules.payWaysSelect'), trigger: 'change' }
], ],
payStatus: [ payStatus: [
{ required: true && this.isShowPayStatus, message: this.$t('orderAuthor.payStatusSelect'), trigger: 'change' } { required: true && this.isShowPayStatus, message: this.$t('rules.payStatusSelect'), trigger: 'change' }
] ]
} }
@ -406,7 +406,7 @@
}; };
//,List,, //,List,,
this.$confirm(this.$t('orderAuthor.addOrganizationPrefix') + input + this.$t('orderAuthor.addOrganizationSuffix'), this.$t('tip.hint'), { this.$confirm(this.$t('tip.addOrganizationPrefix') + input + this.$t('tip.addOrganizationSuffix'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'), confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'), cancelButtonText: this.$t('tip.cancel'),
type: 'warning' type: 'warning'

View File

@ -168,7 +168,7 @@ export default {
}; };
this.qrCodeShow(); this.qrCodeShow();
}).catch(() => { }).catch(() => {
this.$messageBox(this.$t('orderAuthor.packagingFailed')); this.$messageBox(this.$t('tip.packagingFailed'));
}); });
} else { } else {
this.$messageBox(this.$t('orderAuthor.selectPackagingRecord')); this.$messageBox(this.$t('orderAuthor.selectPackagingRecord'));

View File

@ -225,11 +225,11 @@
title: this.$t('orderAuthor.privilegeTransferQRCode') title: this.$t('orderAuthor.privilegeTransferQRCode')
}); });
}).catch(error => { }).catch(error => {
this.$messageBox(this.$t('orderAuthor.getQRCodeFailure')); this.$messageBox(this.$t('tip.getQRCodeFailure'));
}) })
}, },
handleRestore(index, row) { handleRestore(index, row) {
this.$confirm(this.$t('orderAuthor.recoveryPrivilegeTip'), this.$t('tip.hint'), { this.$confirm(this.$t('tip.recoveryPrivilegeTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'), confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'), cancelButtonText: this.$t('tip.cancel'),
type: 'warning' type: 'warning'
@ -243,7 +243,7 @@
}).catch(() => { }); }).catch(() => { });
}, },
handleUnPackage(index, row) { handleUnPackage(index, row) {
this.$confirm(this.$t('orderAuthor.unpackingTip'), this.$t('tip.hint'), { this.$confirm(this.$t('tip.unpackingTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'), confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'), cancelButtonText: this.$t('tip.cancel'),
type: 'warning' type: 'warning'