Browse Source

要货计划主子表合并

master_hella_20240701
yufei0306 8 months ago
parent
commit
5439e39fb1
  1. 8
      .env.development
  2. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

8
.env.development

@ -4,10 +4,10 @@ NODE_ENV=development
VITE_DEV=false VITE_DEV=false
# 请求路径 # 请求路径
VITE_BASE_URL='http://192.168.0.108:12080' VITE_BASE_URL='http://192.168.0.113:12080'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://192.168.0.108:12080/api/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://192.168.0.113:12080/api/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH=/dev-api VITE_API_BASEPATH=/dev-api
@ -31,7 +31,7 @@ VITE_SOURCEMAP=false
VITE_OUT_DIR=dist VITE_OUT_DIR=dist
# 自定义接口路径 # 自定义接口路径
VITE_INTERFACE_URL='http://192.168.0.108:12080/magic/web/index.html' VITE_INTERFACE_URL='http://192.168.0.113:12080/magic/web/index.html'
# 积木报表请求路径 # 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://192.168.0.108:12080' VITE_JMREPORT_BASE_URL='http://192.168.0.113:12080'

6
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -1,13 +1,13 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="PurchasePlanMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> <Search :schema="[...PurchasePlanMain.allSchemas.searchSchema,...PurchasePlanDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" :routeName="routeName" <TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" :routeName="routeName"
@updataTableColumns="updataTableColumns" @searchFormClick="searchFormClick" @updataTableColumns="updataTableColumns" @searchFormClick="searchFormClick"
:allSchemas="PurchasePlanMain.allSchemas" /> :allSchemas="PurchasePlanMain.allSchemas" :detailAllSchemas="PurchasePlanDetail.allSchemas"/>
<!-- 列表 --> <!-- 列表 -->
<ContentWrap> <ContentWrap>
@ -86,7 +86,7 @@
const route = useRoute() // const route = useRoute() //
const routeName = ref() const routeName = ref()
routeName.value = route.name routeName.value = route.name
const tableColumns = ref(PurchasePlanMain.allSchemas.tableColumns) const tableColumns = ref([...PurchasePlanMain.allSchemas.tableColumns,...PurchasePlanDetail.allSchemas.tableMainColumns])
// //
const updataTableColumns = (val) => { const updataTableColumns = (val) => {

Loading…
Cancel
Save