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