no message

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-08-18 18:07:15 +07:00
parent 9a05bf2a24
commit 51d5f3e27e
3 changed files with 34 additions and 591 deletions

View file

@ -1,4 +1,3 @@
divdiv
<script setup lang="ts">
import { ref, onMounted, watch } from "vue";
import type {
@ -218,8 +217,7 @@ watch(byOrder, async () => {
watch(nameCommand, async () => {
console.log(nameCommand.value);
console.log(positionCommand.value);
if (positionCommand.value === "" || positionCommand.value === undefined) {
positionCommand.value = nameCommand.value.positionName;
}
@ -313,9 +311,7 @@ const submit = async () => {
orderTypeValue: typeOrder.value.id,
orderTitle: nameOrder.value,
orderNo:
command.value == undefined || command.value == ""
? ""
: command.value,
command.value == undefined || command.value == "" ? "" : command.value,
orderYear: dateYear.value,
orderDate: dateCommand.value,
orderBy: byOrder.value,