YangJian0701 1 year ago
parent
commit
d8ed386484
4 changed files with 20 additions and 15 deletions
  1. BIN
      ERP.rar
  2. 3 0
      src/views/account/roles/Roles.vue
  3. 2 0
      src/views/storehouse/sales/Recoveries.vue
  4. 15 15
      vite.config.ts

BIN
ERP.rar


+ 3 - 0
src/views/account/roles/Roles.vue

@@ -224,9 +224,12 @@ const getMontageRole = (children: any[]) => {
  * 提交
  * 提交
  */
  */
 const append = async (data: any) => {
 const append = async (data: any) => {
+  
   const currentMenu = menuMap.get(data.T_permission)
   const currentMenu = menuMap.get(data.T_permission)
   const { code, children } = currentMenu
   const { code, children } = currentMenu
   let T_menu = getMontageRole(children)
   let T_menu = getMontageRole(children)
+  console.log('提交',T_menu,children)
+  // return
   const params = {
   const params = {
     User_tokey,
     User_tokey,
     T_id: currentVal.T_id,
     T_id: currentVal.T_id,

+ 2 - 0
src/views/storehouse/sales/Recoveries.vue

@@ -21,6 +21,8 @@ const drawerRef = ref<InstanceType<typeof Drawer> | null>(null)
 const TableRef = ref<InstanceType<typeof TableBase> | null>(null)
 const TableRef = ref<InstanceType<typeof TableBase> | null>(null)
 const { resetForm, globalStore, searchOnTableList, updateOnTableList } = useTablePublic()
 const { resetForm, globalStore, searchOnTableList, updateOnTableList } = useTablePublic()
 
 
+const customer_id = ref('')
+
 const columns: ColumnProps[] = [
 const columns: ColumnProps[] = [
   { type: 'index', label: '序号', width: 80 },
   { type: 'index', label: '序号', width: 80 },
   { prop: 'T_number', label: '合同编号' },
   { prop: 'T_number', label: '合同编号' },

+ 15 - 15
vite.config.ts

@@ -30,21 +30,21 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
     server: {
     server: {
       open: true,
       open: true,
       host: '0.0.0.0',
       host: '0.0.0.0',
-      proxy: {//开发者模式打开  生产模式注释
-        '/api': {
-          target: 'https://erp.baozhida.cn',
-          changeOrigin: true,
-          rewrite: path => path.replace(/^\/api/, '/testapi')
-        },
-        '/testapi': {
-          target: 'https://erp.baozhida.cn',
-          changeOrigin: true
-        },
-        '/ams': {
-          target: 'http://erp.baozhida.cn',
-          changeOrigin: true
-        }
-      }
+      // proxy: {//开发者模式打开  生产模式注释
+      //   '/api': {
+      //     target: 'https://erp.baozhida.cn',
+      //     changeOrigin: true,
+      //     rewrite: path => path.replace(/^\/api/, '/testapi')
+      //   },
+      //   '/testapi': {
+      //     target: 'https://erp.baozhida.cn',
+      //     changeOrigin: true
+      //   },
+      //   '/ams': {
+      //     target: 'http://erp.baozhida.cn',
+      //     changeOrigin: true
+      //   }
+      // }
     },
     },
     plugins: [
     plugins: [
       vue(),
       vue(),