|
|
@@ -50,13 +50,13 @@ function handleSearch(context: SetupContext) {
|
|
|
}
|
|
|
// 全部合同类型
|
|
|
let useType = '';
|
|
|
- const contracttype = ref<number>(0);
|
|
|
+ const contracttype = ref<number | undefined>(undefined);
|
|
|
function handleChange(value: Value) {
|
|
|
useType = value.value;
|
|
|
search();
|
|
|
}
|
|
|
// 全部定价类型
|
|
|
- const pricetype = ref<number>(0);
|
|
|
+ const pricetype = ref<number | undefined>(undefined);
|
|
|
let cachePricetype = '';
|
|
|
function handlePricetype(value: Value) {
|
|
|
cachePricetype = value.value;
|
|
|
@@ -70,9 +70,9 @@ function handleSearch(context: SetupContext) {
|
|
|
contractno.value = '';
|
|
|
negative.value = '';
|
|
|
|
|
|
- contracttype.value = 0;
|
|
|
+ contracttype.value = undefined;
|
|
|
useType = '';
|
|
|
- pricetype.value = 0;
|
|
|
+ pricetype.value = undefined;
|
|
|
cachePricetype = '';
|
|
|
search();
|
|
|
}
|