fix: remove unused

This commit is contained in:
puriphatt 2024-07-01 08:52:56 +00:00
parent 20e12b407a
commit b07d1b9085

View file

@ -735,6 +735,8 @@ function clearFormProduct() {
dialogProduct.value = false; dialogProduct.value = false;
dialogProductEdit.value = false; dialogProductEdit.value = false;
profileUrl.value = '';
profileSubmit.value = false;
} }
function clearFormService() { function clearFormService() {
@ -754,6 +756,8 @@ function clearFormService() {
selectProduct.value = []; selectProduct.value = [];
dialogService.value = false; dialogService.value = false;
dialogServiceEdit.value = false; dialogServiceEdit.value = false;
profileUrl.value = '';
profileSubmit.value = false;
} }
function assignFormDataProductServiceCreate() { function assignFormDataProductServiceCreate() {
@ -1059,6 +1063,7 @@ watch(inputSearchProductAndService, async () => {
@click=" @click="
() => { () => {
clearFormGroup(); clearFormGroup();
clearFormService();
currentServiceTab = 'serviceInformation'; currentServiceTab = 'serviceInformation';
dialogService = true; dialogService = true;
} }
@ -2184,16 +2189,9 @@ watch(inputSearchProductAndService, async () => {
v-if="currentServiceTab === 'serviceInformation'" v-if="currentServiceTab === 'serviceInformation'"
dense dense
service service
@service-properties="
() => {
tempValueProperties = formDataProductService.attributes;
openPropertiesDialog('service');
}
"
v-model:service-code="formDataProductService.code" v-model:service-code="formDataProductService.code"
v-model:service-description="formDataProductService.detail" v-model:service-description="formDataProductService.detail"
v-model:service-name-th="formDataProductService.name" v-model:service-name-th="formDataProductService.name"
@input-file="inputFile.click()"
/> />
</div> </div>
<div class="surface-1 rounded bordered q-mt-md q-pa-lg row"> <div class="surface-1 rounded bordered q-mt-md q-pa-lg row">