|
@@ -43,7 +43,7 @@
|
|
|
text: 'label',
|
|
|
value: 'value',
|
|
|
}"
|
|
|
- @cancel="hs_typeOfEmployees = false"
|
|
|
+ @cancel="cencel"
|
|
|
@confirm="gettypeOfEmployees"
|
|
|
/>
|
|
|
</van-popup>
|
|
@@ -210,6 +210,14 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
};
|
|
|
+ const cencel = ()=>{
|
|
|
+ hs_typeOfEmployees.value = false;
|
|
|
+ typeOfEmployeesName.value = '';
|
|
|
+ const json = Object.assign(inputForm.value, {
|
|
|
+ equipmentType: '',
|
|
|
+ });
|
|
|
+ inputForm.value = json;
|
|
|
+ }
|
|
|
const onClickSearch = () => {
|
|
|
if (active.value == "") {
|
|
|
list.value = [];
|
|
@@ -241,6 +249,7 @@ export default {
|
|
|
hs_typeOfEmployees,
|
|
|
gettypeOfEmployees,
|
|
|
del,
|
|
|
+ cencel
|
|
|
};
|
|
|
},
|
|
|
};
|