Commit 5b189f21 authored by 我在何方's avatar 我在何方

财务管理国际化

parent 79a160bc
This diff is collapsed.
This diff is collapsed.
......@@ -190,7 +190,7 @@
<el-input v-model="scope.row.exchangeRate"></el-input>
</template>
</el-table-column>
<el-table-column :label="$t('税率%')" align="center" prop="taxRate" >
<el-table-column :label="$t('税率')+'%'" align="center" prop="taxRate" >
<template slot-scope="scope">
<el-input v-model="scope.row.taxRate" @keyup.native="scope.row.taxRate = oninput(scope.row.taxRate)"></el-input>
</template>
......@@ -218,7 +218,7 @@
style="margin-bottom: 0"
prop="accountNumber"
:rules="[
{ required: true, message: '账单号不能为空', trigger: 'blur' },
{ required: true, message:$t('账单号不能为空'), trigger: 'blur' },
]"
>
<el-input
......@@ -250,7 +250,7 @@
</el-card>
<div slot="footer" style="margin: 20px 0">
<!-- <el-button type="primary" @click="submitDraft">保 存</el-button> -->
<el-button type="primary" @click="submitForm">{{id==0?'新 增':'编 辑'}}</el-button>
<el-button type="primary" @click="submitForm">{{id==0?$t('新增'):$t('编辑')}}</el-button>
</div>
<el-dialog
:visible.sync="open"
......
......@@ -28,7 +28,7 @@
<el-descriptions-item :label="$t('纳税人识别号')">{{ invoiceData.taxpayer }}</el-descriptions-item>
<el-descriptions-item :label="$t('地址')">{{ invoiceData.addressPhone }}</el-descriptions-item>
<el-descriptions-item :label="$t('开户行')">{{ invoiceData.accountBank }}</el-descriptions-item>
<el-descriptions-item :label="$t('税率%')">
<el-descriptions-item :label="$t('税率')+'%'">
<el-form-item label="">
<el-input v-model="invoiceData.taxRate"></el-input>
</el-form-item>
......
......@@ -348,7 +348,7 @@ export default {
},
deleteClick(row) {
const id = row.id;
this.$modal.confirm(this.$t('是否确认删除该应付款?')).then(function() {
this.$modal.confirm(this.$t('是否确认删除该应付款')+'?').then(function() {
return deletePayable(id);
}).then(() => {
this.getList();
......
......@@ -159,8 +159,8 @@
</template>
</el-table-column>
<el-table-column :label="$t('汇率')" align="center" prop="exchangeRate" />
<el-table-column :label="$t('税率%')" align="center" prop="taxRate" />
<el-table-column :label="$t('价税合计(RMB)')" align="center" prop="total" >
<el-table-column :label="$t('税率')+'%'" align="center" prop="taxRate" />
<el-table-column :label="$t('价税合计')+'(RMB)'" align="center" prop="total" >
<template slot-scope="scope">
<!-- <span>{{ scope.row.total = ((scope.row.totalAmount * scope.row.exchangeRate) + (scope.row.totalAmount * scope.row.exchangeRate) * (scope.row.taxRate/100)).toFixed(6) }}</span> -->
<span>{{scope.row.total}}</span>
......
......@@ -58,12 +58,12 @@
<el-input v-model="scope.row.exchangeRate"></el-input>
</template> -->
</el-table-column>
<el-table-column :label="$t('税率%')" align="center" prop="taxRate" >
<el-table-column :label="$t('税率')+'%'" align="center" prop="taxRate" >
<!-- <template slot-scope="scope">
<el-input v-model="scope.row.taxRate"></el-input>
</template> -->
</el-table-column>
<el-table-column :label="$t('价税合计(RMB)')" align="center" prop="total" />
<el-table-column :label="$t('价税合计')+'(RMB)'" align="center" prop="total" />
</el-table>
<el-descriptions :column="1" class="card" border>
......
......@@ -302,7 +302,7 @@ export default {
},
deleteClick(row) {
const id = row.id;
this.$modal.confirm(this.$t('是否确认删除该付款单?')).then(function() {
this.$modal.confirm(this.$t('是否确认删除该付款单')+'?').then(function() {
return deletePayment(id);
}).then(() => {
this.getList();
......@@ -311,7 +311,7 @@ export default {
},
verificationClick(row) {
const id = row.id;
this.$modal.confirm(this.$t('您确认要核销吗?')).then(function() {
this.$modal.confirm(this.$t('您确认要核销吗')+'?').then(function() {
return paymentVerification(id);
}).then(() => {
this.getList();
......@@ -320,7 +320,7 @@ export default {
},
verificationCancelClick(row) {
const id = row.id;
this.$modal.confirm(this.$t('您确认要反核销吗?')).then(function() {
this.$modal.confirm(this.$t('您确认要反核销吗')+'?').then(function() {
return paymentVerificationCancel(id);
}).then(() => {
this.getList();
......@@ -329,7 +329,7 @@ export default {
},
verifyCancelClick(row) {
const id = row.id;
this.$modal.confirm(this.$t('您确认要反审核吗?')).then(function() {
this.$modal.confirm(this.$t('您确认要反审核吗')+'?').then(function() {
return paymentVerifyCancel(id);
}).then(() => {
this.getList();
......
......@@ -102,7 +102,7 @@
return {
loadings: false,
form:{},
title:'收款单',
title:this.$t('收款单'),
creatorData:[],
list:[],
fileList:[],
......
......@@ -2,7 +2,7 @@
<div class="app-container" >
<div id="print" style="font-size: 18px;">
<div style="text-align: center;font-weight: bold;font-size: 26px;padding: 22px 0;border-top: 1px solid #666;border-left:1px solid #666;border-right: 1px solid #666;">捷道货运收款单</div>
<div style="text-align: center;font-weight: bold;font-size: 26px;padding: 22px 0;border-top: 1px solid #666;border-left:1px solid #666;border-right: 1px solid #666;">{{$t('捷道货运收款单')}}</div>
<table border="1" style="width: 100%;text-align: center;border-collapse: collapse; ">
<tr>
<td style="font-weight: bold;width:12.5%">{{$t('部门')}}</td>
......@@ -107,7 +107,7 @@
return {
loadings: false,
form:{},
title:'收款单',
title:this.$t('收款单'),
// creatorData:[],
list:[],
fileList:[],
......
......@@ -102,7 +102,7 @@
{{ form.projectName }}
<!-- <el-input v-model="form.projectName"></el-input> -->
</el-descriptions-item>
<el-descriptions-item :label="$t('税率%')">
<el-descriptions-item :label="$t('税率')+'%'">
{{ form.taxRate }}
<!-- <el-input v-model="form.taxRate"></el-input> -->
</el-descriptions-item>
......@@ -839,7 +839,7 @@ export default {
},
deleteClick(row) {
const id = row.id;
this.$modal.confirm(this.$t('是否确认删除该收款单?')).then(function() {
this.$modal.confirm(this.$t('是否确认删除该收款单')+'?').then(function() {
return deleteReceiptItem(id);
}).then(() => {
this.getList();
......@@ -849,7 +849,7 @@ export default {
verificationClick(row) {
const id = row.id;
this.$modal
.confirm(this.$t('您确认要核销吗?'))
.confirm(this.$t('您确认要核销吗')+'?')
.then(function () {
return receiptItemVerification(id);
})
......@@ -862,7 +862,7 @@ export default {
verificationCancelClick(row) {
const id = row.id;
this.$modal
.confirm(this.$t('您确认要反核销吗?'))
.confirm(this.$t('您确认要反核销吗')+'?')
.then(function () {
return receiptItemVerificationCancel(id);
})
......@@ -877,12 +877,12 @@ export default {
},
batchVerification() {
if (this.multipleSelection.length === 0) {
this.$modal.msgError(this.$t('请选择需要核销的收款明细'));
this.$modal.msgError(this.$t('请选择需要核销的收款明细'));
return
}
const params = { ids: this.multipleSelection.map(v => v.id).join(',') }
this.$modal
.confirm(this.$t('您确认要核销吗?'))
.confirm(this.$t('您确认要核销吗'+'?'))
.then(function () {
return receiptItemBatchVerification(params);
})
......@@ -897,11 +897,11 @@ export default {
},
verificationAll() {
if(!this.detailed||this.detailed.length==0){
this.$modal.msgError(this.$t('当前收款单未添加银行收款明细,无法全部核销,请添加银行收款单明细,并核销所有实收明细后再进行全部核销'));
this.$modal.msgError(this.$t('当前收款单未添加银行收款明细,无法全部核销,请添加银行收款单明细,并核销所有实收明细后再进行全部核销'));
return
}
this.$modal
.confirm(this.$t('您确认要全部核销吗?'))
.confirm(this.$t('您确认要全部核销吗'+'?'))
.then(() => {
return receiptItemAllVerification(this.id);
})
......@@ -998,7 +998,7 @@ export default {
this.loading.close();
},
beforeRemove(file, fileList) {
return this.$confirm(this.$t('确定移除?')).then(res => {
return this.$confirm(this.$t('确定移除')+'?').then(res => {
setTimeout(() => {
this.addForm.attr = fileList.map(v => ({ name: v.name, url: v.response ? v.response.data : v.url }))
}, 300)
......
......@@ -361,7 +361,7 @@ export default {
},
deleteClick(row) {
const id = row.id;
this.$modal.confirm(this.$t('是否确认删除该收款单?')).then(function() {
this.$modal.confirm(this.$t('是否确认删除该收款单')+'?').then(function() {
return deleteReceipt(id);
}).then(() => {
this.getList();
......
......@@ -65,7 +65,7 @@
@pagination="getList"/>
<!-- 对话框(添加 / 修改) -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="标题中文" prop="titleZh">
<el-input v-model="form.titleZh" placeholder="请输入标题中文" />
......
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