|
@@ -57,11 +57,11 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="开户帐号" prop="bankId">
|
|
|
+ <el-form-item label="开户账号" prop="bankId">
|
|
|
<search-query :datalist="bankData" :selectValue="form.bankId" :clearable="true"
|
|
|
:disabled="editSave || !form.corpId" :filterable="true"
|
|
|
:forParameter="{ key: 'id', label: 'accountBankNo', value: 'id' }" :addIf="true"
|
|
|
- :tableIf="false" placeholder="请选择开户帐号" @addJump="bankJump"
|
|
|
+ :tableIf="false" placeholder="请选择开户账号" @addJump="bankJump"
|
|
|
@corpChange="corpChange($event, 'bankId')" @remoteMethod="bcorpsbankListfun"
|
|
|
@corpFocus="bcorpsbankListfun">
|
|
|
</search-query>
|
|
@@ -424,7 +424,10 @@ export default {
|
|
|
saveLoading: false, // 按钮动画
|
|
|
// 绑定的数据
|
|
|
form: {
|
|
|
- dc: 'C'
|
|
|
+ dc: 'C',
|
|
|
+ mblno:null,
|
|
|
+ corpCnName:null,
|
|
|
+ corpId:null
|
|
|
},
|
|
|
handleSelectionData: [], // 表格选择的数据
|
|
|
corpData: [], // 结算单位 数据
|
|
@@ -446,9 +449,9 @@ export default {
|
|
|
corpCnName: [
|
|
|
{ required: true, message: '请输入付费对象', trigger: 'blur' },
|
|
|
],
|
|
|
- bankId: [
|
|
|
- { required: true, message: '请输入开户银行', trigger: 'blur' },
|
|
|
- ],
|
|
|
+ // bankId: [
|
|
|
+ // { required: true, message: '请输入开户银行', trigger: 'blur' },
|
|
|
+ // ],
|
|
|
remarks: [
|
|
|
{ required: true, message: '请输入付费事由', trigger: 'blur' },
|
|
|
],
|
|
@@ -469,6 +472,7 @@ export default {
|
|
|
// console.log(111111)
|
|
|
this.form.mblno=this.$route.query.mblno
|
|
|
this.form.corpCnName=this.$route.query.corpCnName
|
|
|
+ this.form.corpId=this.$route.query.corpId
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -705,6 +709,7 @@ export default {
|
|
|
this.form.businessDateStart = this.form.businessDateStart ? this.form.businessDateStart.slice(0, 10) + ' 00:00:00' : null // 财务开始日期
|
|
|
this.form.businessDateEnd = this.form.businessDateEnd ? this.form.businessDateEnd.slice(0, 10) + ' 00:00:00' : null // 财务开始日期
|
|
|
this.form.billDate = this.form.billDate ? this.form.billDate.slice(0, 10) + ' 00:00:00' : null
|
|
|
+ this.form.auditDateTo= this.form.auditDateTo ? this.form.auditDateTo.slice(0, 10) + ' 00:00:00' : null
|
|
|
this.saveLoading = true // 加载动画
|
|
|
this.form.billNoFormat = 'FFSQ'
|
|
|
this.form.businessTypeCode = 'FFSQ'
|
|
@@ -763,14 +768,14 @@ export default {
|
|
|
}).catch(() => {
|
|
|
this.saveLoading = false
|
|
|
})
|
|
|
- }).catch(() => {
|
|
|
- this.saveLoading = false
|
|
|
})
|
|
|
} else {
|
|
|
finstlbillsSubmit(this.form).then(res => {
|
|
|
this.$message.success('操作成功');
|
|
|
this.saveLoading = false // 关闭按钮动画
|
|
|
this.finstlbillsDetailfun(res.data.data.id)
|
|
|
+ }).catch(() => {
|
|
|
+ this.saveLoading = false
|
|
|
})
|
|
|
}
|
|
|
})
|