Commit f6bfacaa authored by 邓春圆's avatar 邓春圆

有效期添加一般

parent 7c854867
......@@ -109,6 +109,9 @@
{{$t('例子:1RMB = 0.138611USD')}}
</p>
</el-form-item>
<el-form-item :label="$t('有效期')" prop="expireDate">
<el-date-picker v-model="form.expireDate" type="datetime" value-format="yyyy-MM-DD HH:mm:ss" ></el-date-picker>
</el-form-item>
<el-form-item :label="$t('备注')">
<el-input type="textarea" v-model="form.note"></el-input>
</el-form-item>
......@@ -202,6 +205,7 @@ export default {
targetCurrencyId: [{ required: true, message: this.$t('币种2不能为空'), trigger: "change" }],
targetCurrencyCode: [{ required: true, message: this.$t('目标种代码不能为空'), trigger: "blur" }],
currencyRate: [{ required: true, message: this.$t('汇率不能为空'), trigger: "blur" }],
expireDate: [{ required: true, message: this.$t('有效期不能为空'), trigger: "blur" }],
},
formLog:{
rows:10,
......@@ -287,6 +291,7 @@ export default {
"targetCurrencyCode": "",
"targetCurrencyId": '',
id: null,
expireDate:""
};
this.resetForm("form");
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment