|
|
@@ -109,16 +109,16 @@
|
|
|
</el-button>
|
|
|
<span style="font-size:18px;font-weight:600;margin-left:10px;">
|
|
|
<span style="color: #67C23A;margin-right: 10px;">
|
|
|
- 应收本币:{{ sumDRMB }}元
|
|
|
+ 应收本币:{{ sumDRMB.toFixed(2) }}元
|
|
|
</span>
|
|
|
<span style="color: #E6A23C;margin-right: 10px;">
|
|
|
- 应付本币:{{ sumCRMB }}元
|
|
|
+ 应付本币:{{ sumCRMB.toFixed(2) }}元
|
|
|
</span>
|
|
|
<span style="color: #67C23A;margin-right: 10px;">
|
|
|
- 应收外币:{{ sumDUSD }}元
|
|
|
+ 应收外币:{{ sumDUSD.toFixed(2) }}元
|
|
|
</span>
|
|
|
<span style="color: #E6A23C;margin-right: 10px;">
|
|
|
- 应付付币:{{ sumCUSD }}元
|
|
|
+ 应付付币:{{ sumCUSD.toFixed(2) }}元
|
|
|
</span>
|
|
|
</span>
|
|
|
</template>
|
|
|
@@ -185,7 +185,7 @@
|
|
|
</el-button>
|
|
|
<span style="font-size:18px;font-weight:600;margin-left:10px;">
|
|
|
<span style="color: #67C23A;margin-right: 10px;">
|
|
|
- 金额合计:{{ amountSum }}元
|
|
|
+ 金额合计:{{ amountSum.toFixed(2) }}元
|
|
|
</span>
|
|
|
</span>
|
|
|
</template>
|
|
|
@@ -774,19 +774,17 @@ export default {
|
|
|
this.pageData = this.form.finStlBillsItemsList.slice(start, end)
|
|
|
},
|
|
|
searchChange(params, done) {
|
|
|
- this.$refs.form.validate((valid, done) => {
|
|
|
- done()
|
|
|
- if (!valid) return
|
|
|
- if (!this.form.corpId && (this.search.hblno || this.search.mblno)) {
|
|
|
- this.finstlbillslistAccBillByCorpfun()
|
|
|
- } else {
|
|
|
- if (!this.form.corpId) {
|
|
|
- return this.$message.error('请填写对账单位')
|
|
|
- }
|
|
|
- this.finstlbillslistAccBillV1fun()
|
|
|
+ if (!this.form.id) {
|
|
|
+ return this.$message.error("请保存数据");
|
|
|
+ }
|
|
|
+ if (!this.form.corpId && (this.search.hblno || this.search.mblno)) {
|
|
|
+ this.finstlbillslistAccBillByCorpfun()
|
|
|
+ } else {
|
|
|
+ if (!this.form.corpId) {
|
|
|
+ return this.$message.error('请填写对账单位')
|
|
|
}
|
|
|
- })
|
|
|
- done();
|
|
|
+ this.finstlbillslistAccBillV1fun()
|
|
|
+ }
|
|
|
},
|
|
|
searchReset() {
|
|
|
this.search = {
|