|
|
@ -654,7 +654,9 @@ const searchTransactionType = ()=>{ |
|
|
|
) |
|
|
|
} |
|
|
|
// 失去焦点校验 |
|
|
|
const blurVerify= async (type)=>{ |
|
|
|
const typeBlur = ref('') |
|
|
|
const blurVerify = async (type) => { |
|
|
|
typeBlur.value = type |
|
|
|
let transactionType = formData.value.condition.find(item => item['ParamCode'] == type) |
|
|
|
console.log(transactionType) |
|
|
|
if (transactionType && transactionType.Value) { |
|
|
@ -864,6 +866,8 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗 |
|
|
|
const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调 |
|
|
|
const submitForm = async () => { |
|
|
|
await blurWarehouse() |
|
|
|
await blurVerify(typeBlur.value) |
|
|
|
|
|
|
|
console.log('规则条件',formData.value.condition) |
|
|
|
|
|
|
|
// 校验表单 |
|
|
|