feat(env): 切换到正式环境并添加门店订单查询功能

- 将 VITE_NOW_TYPE 和 VITE_APP_BASE_URL 从测试环境切换到正式环境
- 在订单查询页面添加门店查询按钮和相关功能
This commit is contained in:
mkm 2025-01-21 09:56:02 +08:00
parent 34ff214650
commit f744baa34e
2 changed files with 12 additions and 6 deletions

View File

@ -2,9 +2,9 @@ NODE_ENV = 'production'
# Base API
# 测试域名
VITE_NOW_TYPE = 'dist/admin'
VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
# VITE_NOW_TYPE = 'dist/admin'
# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
# 正式域名
# VITE_NOW_TYPE = 'build/admin'
# VITE_APP_BASE_URL='https://multi-store.lihaink.cn'
VITE_NOW_TYPE = 'build/admin'
VITE_APP_BASE_URL='https://multi-store.lihaink.cn'

View File

@ -77,6 +77,7 @@
/>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="storeOrderList"> 门店 </el-button>
<el-button type="primary" @click="get_lists">查询</el-button>
<el-button @click="getResetParams">重置</el-button>
<export-data
@ -296,7 +297,7 @@ import {
apiBeforehandOrderSettle,
apiPurchaseOrderOrderOutbound,
apiPurchaseOrderOrderOutbound3,
apiBeforehandOrderCopy,
apiBeforehandOrderCopy,
apiBeforehandOrderStatisticsCount
} from '@/api/beforehand_order'
import { apiSystemStoreLists } from '@/api/system_store'
@ -356,9 +357,14 @@ const queryParams = reactive({
order_rk: '',
order_type: '',
warehouse_type: '',
mark: ''
mark: '',
is_store: ''
})
const storeOrderList = () => {
queryParams.is_store = 1
get_lists()
}
//
const selectData = ref<any[]>([])