|
@@ -59,7 +59,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="收/付" prop="dc">
|
|
|
- <el-select v-model="form.dc" placeholder="请选择" :disabled="editSave" size="small">
|
|
|
+ <el-select v-model="form.dc" placeholder="请选择" :disabled="editSave"
|
|
|
+ size="small">
|
|
|
<el-option v-for="item in options" :key="item.value" :label="item.label"
|
|
|
:value="item.value">
|
|
|
</el-option>
|
|
@@ -175,21 +176,6 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="开票CNY:" prop="amountCny">
|
|
|
- <span>¥{{ form.amountCny }}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="开票USD:" prop="amountUsd">
|
|
|
- <span>${{ form.amountUsd }}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="开票合计:" prop="amountLoc">
|
|
|
- <span>¥{{ form.amountLoc }}</span>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -389,22 +375,29 @@
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <div style="display: flex;justify-content: flex-end;align-items: center;">
|
|
|
- <el-checkbox style="margin-left: 10%" size="medium" :true-label="1" :false-label="0"
|
|
|
- :disabled="editSave" v-model="form.isExchangeToCny">转换成人民币
|
|
|
- </el-checkbox>
|
|
|
- <el-checkbox v-model="appendType" :disabled="editSave" false-label="检索"
|
|
|
- true-label="追加">追加</el-checkbox>
|
|
|
- <el-button type="primary" size="small"
|
|
|
- :disabled="editSave || (tableData.length > 0 && appendType == '检索')" plain
|
|
|
- @click="finstlbillslistAccBillV1fun(appendType)">提取费用
|
|
|
- </el-button>
|
|
|
- <el-button size="small" :disabled="tableData.length > 0" @click="ResetFilter">重置条件
|
|
|
- </el-button>
|
|
|
- <el-button icon="el-icon-arrow-down" type="text" size="small" v-if="!showForm"
|
|
|
- @click="showForm = true">开展</el-button>
|
|
|
- <el-button icon="el-icon-arrow-up" type="text" size="small" v-if="showForm"
|
|
|
- @click="showForm = false">收缩</el-button>
|
|
|
+ <div style="display: flex;justify-content:space-between;align-items: center;">
|
|
|
+ <div style="width: 40%;display: flex;justify-content:space-between;">
|
|
|
+ <span>开票CNY:¥{{ form.amountCny ? form.amountCny : '0.00' }}</span>
|
|
|
+ <span>开票USD:${{ form.amountUsd ? form.amountUsd : '0.00' }}</span>
|
|
|
+ <span>开票合计:¥{{ form.amountLoc ? form.amountLoc : '0.00' }}</span>
|
|
|
+ </div>
|
|
|
+ <div style="width: 60%;display: flex;justify-content:flex-end;align-items: center;">
|
|
|
+ <el-checkbox style="margin-left: 10%" size="medium" :true-label="1" :false-label="0"
|
|
|
+ :disabled="editSave" v-model="form.isExchangeToCny">转换成人民币
|
|
|
+ </el-checkbox>
|
|
|
+ <el-checkbox v-model="appendType" :disabled="editSave" false-label="检索"
|
|
|
+ true-label="追加">追加</el-checkbox>
|
|
|
+ <el-button type="primary" size="small"
|
|
|
+ :disabled="editSave || (tableData.length > 0 && appendType == '检索')" plain
|
|
|
+ @click="finstlbillslistAccBillV1fun(appendType)">提取费用
|
|
|
+ </el-button>
|
|
|
+ <el-button size="small" :disabled="tableData.length > 0" @click="ResetFilter">重置条件
|
|
|
+ </el-button>
|
|
|
+ <el-button icon="el-icon-arrow-down" type="text" size="small" v-if="!showForm"
|
|
|
+ @click="showForm = true">开展</el-button>
|
|
|
+ <el-button icon="el-icon-arrow-up" type="text" size="small" v-if="showForm"
|
|
|
+ @click="showForm = false">收缩</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</trade-card>
|
|
|
<el-card style="margin-top: 10px">
|
|
@@ -510,7 +503,7 @@ import {
|
|
|
import { getWorkDicts } from "@/api/system/dictbiz";
|
|
|
import { getCurrentDate } from "@/util/date";
|
|
|
import dicSelect from "@/components/dicSelect/main";
|
|
|
-import {getMonthDate,getYearDate} from "@/util/date";
|
|
|
+import { getMonthDate, getYearDate } from "@/util/date";
|
|
|
import { bcurexrateList } from "@/api/iosBasicData/rateManagement";
|
|
|
export default {
|
|
|
components: { SearchQuery, fininvoicesitems, fininvoiceitemdetail, dicSelect },
|
|
@@ -538,7 +531,7 @@ export default {
|
|
|
pageLoading: false, // 全屏加载
|
|
|
saveLoading: false, // 按钮加载
|
|
|
form: {
|
|
|
- dc:'C',
|
|
|
+ dc: 'C',
|
|
|
invCurCode: 'CNY',
|
|
|
isRp: 1,
|
|
|
invType: '全电发票',
|
|
@@ -617,7 +610,7 @@ export default {
|
|
|
// 获取当前登录人个人信息
|
|
|
this.saberUserInfo = JSON.parse(localStorage.getItem('saber-userInfo')).content
|
|
|
if (!this.form.id) {
|
|
|
- bcurexrateList({ current: 1, size: 35,type:'月汇率',code:'USD',exrateYear:getYearDate() }).then(res => {
|
|
|
+ bcurexrateList({ current: 1, size: 35, type: '月汇率', code: 'USD', exrateYear: getYearDate() }).then(res => {
|
|
|
for (let item of res.data.data.records) {
|
|
|
if (item.exrateMonth == getMonthDate()) {
|
|
|
this.$set(this.form, 'exrate', item.exratePayment)
|
|
@@ -1098,7 +1091,7 @@ export default {
|
|
|
obj.curCode = this.form.curCode // 币种
|
|
|
obj.businessType = this.form.businessTypes ? this.form.businessTypes.join(',') : '' // 业务类型
|
|
|
obj.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(',') : ''
|
|
|
- obj.dc=this.form.dc
|
|
|
+ obj.dc = this.form.dc
|
|
|
// 判断是否有对账单号
|
|
|
if (this.form.checkNo) {
|
|
|
obj.corpId = this.form.corpId // 结算单位
|