87869823 by zrj

8.21 日期定格10月

1 parent 853a0cbc
......@@ -168,6 +168,7 @@
size="small"
style="width: 100%;" type="date"
value-format="YYYY-MM-DD"
:default-value="nowYearMonth"
/>
</template>
</el-table-column>
......@@ -186,6 +187,7 @@
size="small"
style="width: 100%;" type="date"
value-format="YYYY-MM-DD"
:default-value="nowYearMonth"
/>
</template>
</el-table-column>
......@@ -409,6 +411,7 @@ const countrys = ref([])
const mnaList = ref([])
const cptId = ref('')
const showCheck = ref(false)
const nowYearMonth = new Date().getFullYear() + "-10-01"
const rules = ref(
{
nationality: [{required: true, trigger: 'change', message: language.value == 0 ? '请选择' : 'Please choose'},],
......@@ -602,7 +605,7 @@ const getPassportInfo = (res) => {
passportNo: res.data.code,
issueDate: res.data.issueDate?.slice(0, 10),
expiryDate: res.data.validToDate?.slice(0, 10),
passportCopy: res.data.pic
passportCopy: res.data.pic,
}
form.value.cptVisaInfoBos.push(obj)
} else {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!