|
|
@@ -26,10 +26,8 @@
|
|
|
import utils from '@/utils/utils'
|
|
|
import Api from '@/api/api'
|
|
|
import listTemp from '@/components/listTemplate/index.vue';
|
|
|
- import tableExport from '@/components/tableExport/index.vue'
|
|
|
- import { ref } from 'vue'
|
|
|
+ import { ref ,onMounted} from 'vue'
|
|
|
import { useRouter } from "vue-router";
|
|
|
- import { onMounted } from "vue";
|
|
|
import { useBaseStore } from '@/stores/modules/base'
|
|
|
import { storeToRefs } from 'pinia'
|
|
|
const base = useBaseStore()
|
|
|
@@ -63,6 +61,21 @@
|
|
|
const onSuccess = ()=>{
|
|
|
list.value.tableData()
|
|
|
}
|
|
|
+ const saleClass = async ()=>{
|
|
|
+ const res = await Api.requested({
|
|
|
+ id:'20220922110403',
|
|
|
+ content:{
|
|
|
+ sa_brandid:0,
|
|
|
+ where:{
|
|
|
+ istool:0
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ searchType.value.push({label:'营销分类',key:'itemclassid',type:'treeselect',dataSource:res.data[0].ttemclass},)
|
|
|
+ }
|
|
|
+ onMounted(()=>{
|
|
|
+ saleClass()
|
|
|
+ })
|
|
|
</script>
|
|
|
<style>
|
|
|
</style>
|