Commit 278ecd7f by qinjianhui

fix: 修改路由名称

parent d0b0184a
......@@ -15,7 +15,7 @@ declare module 'vue' {
ElCarousel: typeof import('element-plus/es')['ElCarousel']
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
ElCol: typeof import('element-plus/es')['ElCol']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
ElDialog: typeof import('element-plus/es')['ElDialog']
......@@ -27,24 +27,19 @@ declare module 'vue' {
ElForm: typeof import('element-plus/es')['ElForm']
ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElIcon: typeof import('element-plus/es')['ElIcon']
ElImage: typeof import('element-plus/es')['ElImage']
ElInput: typeof import('element-plus/es')['ElInput']
ElOption: typeof import('element-plus/es')['ElOption']
ElPagination: typeof import('element-plus/es')['ElPagination']
ElPopover: typeof import('element-plus/es')['ElPopover']
ElRadio: typeof import('element-plus/es')['ElRadio']
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
ElRow: typeof import('element-plus/es')['ElRow']
ElSelect: typeof import('element-plus/es')['ElSelect']
ElSwitch: typeof import('element-plus/es')['ElSwitch']
ElTable: typeof import('element-plus/es')['ElTable']
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
ElTabPane: typeof import('element-plus/es')['ElTabPane']
ElTabs: typeof import('element-plus/es')['ElTabs']
ElTag: typeof import('element-plus/es')['ElTag']
ElTooltip: typeof import('element-plus/es')['ElTooltip']
ElTree: typeof import('element-plus/es')['ElTree']
ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
Icon: typeof import('./src/components/Icon.vue')['default']
ImageView: typeof import('./src/components/ImageView.vue')['default']
LeftRightLayout: typeof import('./src/components/leftRightLayout.vue')['default']
......
......@@ -120,7 +120,7 @@ const menu: MenuItem[] = [
{
index: '/warehouse/warehouse-rule-setting',
id: 331,
label: '共享库存设置',
label: '仓库规则设置',
},
],
},
......
......@@ -33,7 +33,7 @@
<ElInput
v-model="searchForm.warehouseSpu"
clearable
placeholder="库存SKU"
placeholder="库存SPU"
style="width: 140px"
/>
</ElFormItem>
......@@ -57,7 +57,7 @@
</ElSelect>
</ElFormItem>
<ElFormItem>
<ElButton @click="resetSearchForm">重置</ElButton>
<ElButton @click="handleReset">重置</ElButton>
</ElFormItem>
<ElFormItem>
<ElButton type="primary" @click="search">查询</ElButton>
......@@ -131,6 +131,11 @@ const [searchForm, resetSearchForm] = useValue<SearchForm>({
status: 1,
})
const dateRange = ref([])
const handleReset = () => {
resetSearchForm()
dateRange.value = []
search()
}
const currentStatus = ref('sharedInventory')
const editDialogVisible = ref(false)
const editFormRef = ref()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment