|
@@ -94,6 +94,7 @@
|
|
|
v-model="ruleForm.disburseExpiryDate"
|
|
|
placeholder="请选择支用到期日"
|
|
|
:disabled="disabled"
|
|
|
+ clearable
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in disburseExpiryDate"
|
|
@@ -277,9 +278,9 @@ export default {
|
|
|
accountName: [
|
|
|
{ required: true, message: '请输入账号名称', trigger: 'blur' }
|
|
|
],
|
|
|
- disburseExpiryDate: [
|
|
|
- { required: true, message: '请选择支用到期日', trigger: 'change' }
|
|
|
- ],
|
|
|
+ // disburseExpiryDate: [
|
|
|
+ // { required: true, message: '请选择支用到期日', trigger: 'change' }
|
|
|
+ // ],
|
|
|
startingDateType: [
|
|
|
{ required: true, message: '请选择起算日', trigger: 'change' }
|
|
|
],
|
|
@@ -475,7 +476,7 @@ export default {
|
|
|
this.getExpirationList(params)
|
|
|
},
|
|
|
getExpirationList(params) {
|
|
|
- if(this.ruleForm.institutionName === '长银集团自有资金') return
|
|
|
+ if (this.ruleForm.institutionName === '长银集团自有资金') return
|
|
|
getExpiration(params).then(({ data }) => {
|
|
|
this.disburseExpiryDate = data
|
|
|
})
|
|
@@ -483,9 +484,9 @@ export default {
|
|
|
|
|
|
getParams(type) {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
- if(type === 'temp') {
|
|
|
+ if (type === 'temp') {
|
|
|
resolve(this.ruleForm)
|
|
|
- }else {
|
|
|
+ } else {
|
|
|
this.$refs.ruleForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
resolve(this.ruleForm)
|