This commit is contained in:
@@ -10,8 +10,11 @@
|
||||
v-on="$listeners"
|
||||
>
|
||||
<template slot="main">
|
||||
<v-sheet height="400" class="overflow-auto">
|
||||
<div v-if="obj.length == 0" class="ml-3 mt-1 text-h6">
|
||||
<v-sheet height="400" class="overflow-y-auto">
|
||||
<div
|
||||
v-if="obj.length == 0"
|
||||
class="ml-6 mt-6 text-h4 grey--text text--lighten-1"
|
||||
>
|
||||
{{ $ay.t("NoData") }}
|
||||
</div>
|
||||
<template v-for="(item, i) in obj">
|
||||
@@ -218,6 +221,7 @@ async function fetchWorkorderStatusList(vm) {
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
} else {
|
||||
vm.selectLists.wostatus = res.data.all.filter(z => z.completed == false); //TODO: weed out closed status
|
||||
vm.selectLists.wostatus.unshift(window.$gz.form.getNoSelectionItem(true));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user