mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Update: Vue 2 to Vue 3 with Typescript, node 14 to node 22, Jenkinsfile, Dockerfile, vapor.yml (Post PROD Deployment)
This commit is contained in:
@@ -56,7 +56,6 @@ const props = defineProps<{
|
||||
section: string;
|
||||
}>();
|
||||
|
||||
const error = ref('');
|
||||
const parameters = ref({
|
||||
supplier_id: props.supplier_id,
|
||||
rate: props.rate,
|
||||
@@ -70,7 +69,7 @@ const rules = {
|
||||
};
|
||||
|
||||
const v$ = useVuelidate(rules, { parameters });
|
||||
const { submit } = useFormHandler(props);
|
||||
const { submit, error } = useFormHandler(props);
|
||||
|
||||
const submitForm = () => {
|
||||
submit(route('api.transaction.group.update', props.id), 'put', props.section, true, true);
|
||||
|
||||
Reference in New Issue
Block a user