>({
flightAmount: [
{ required: true, message: '机票金额不能为空', trigger: 'blur' },
{ validator: validateAmount, trigger: ['blur', 'change'] } // 添加自定义验证
- ]
+ ],
+ ossId: [{ required: true, message: '请上传机票折扣信息页面截图', trigger: 'blur' }]
}
});
@@ -361,7 +363,7 @@ const submitForm = (status: string, mode: boolean) => {
} else {
// 验证不通过时,立即恢复按钮状态
buttonLoading.value = false;
- proxy?.$modal.msgWarning('s请检查表单填写是否正确');
+ proxy?.$modal.msgWarning('请检查表单填写是否正确');
}
});
};
diff --git a/src/views/oa/crm/flightBooking/index.vue b/src/views/oa/crm/flightBooking/index.vue
index 8d074d4..281e4ae 100644
--- a/src/views/oa/crm/flightBooking/index.vue
+++ b/src/views/oa/crm/flightBooking/index.vue
@@ -4,8 +4,8 @@
-
-
+
+
@@ -68,7 +68,7 @@
-
+
@@ -116,8 +116,8 @@
-
-
+
+
@@ -203,7 +203,7 @@ const dialog = reactive({
const columns = ref([
{ key: 0, label: `机票预订ID`, visible: false },
{ key: 1, label: `租户编号`, visible: true },
- { key: 2, label: `机票预订编号`, visible: true },
+ { key: 2, label: `流程编号`, visible: true },
{ key: 3, label: `乘机人ID`, visible: false },
{ key: 4, label: `乘机人姓名`, visible: true },
{ key: 5, label: `出行日期`, visible: true },
@@ -392,7 +392,7 @@ const submitForm = () => {
/** 删除按钮操作 */
const handleDelete = async (row?: FlightBookingVO) => {
const _bookingIds = row?.bookingId || ids.value;
- await proxy?.$modal.confirm('是否确认删除机票预订编号为"' + _bookingIds + '"的数据项?').finally(() => (loading.value = false));
+ await proxy?.$modal.confirm('是否确认删除流程编号为"' + _bookingIds + '"的数据项?').finally(() => (loading.value = false));
await delFlightBooking(_bookingIds);
proxy?.$modal.msgSuccess('删除成功');
await getList();