diff --git a/src/views/supermarket/smSpu/form.vue b/src/views/supermarket/smSpu/form.vue index 84650b1..5af2e36 100644 --- a/src/views/supermarket/smSpu/form.vue +++ b/src/views/supermarket/smSpu/form.vue @@ -70,20 +70,17 @@ draggable @close="" > - + ({ const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } = useTable(state) +const resetQuery = () => { + state.queryForm.productName = "" + getDataList() +} + // 点击选择库存商品 const handleClickSelectSpu = () => { loading.value = true + resetQuery() spuSelectDialogVisible.value = true try { getDataList()