Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
weChatFlowApprove
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘川
weChatFlowApprove
Commits
700689db
Commit
700689db
authored
Dec 24, 2025
by
chicheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/views/ship-approval/ShipApproval.vue
parents
3d97cf4f
c5b9da53
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
+19
-5
index.html
public/index.html
+4
-0
index.js
src/router/index.js
+4
-1
ShipApproval.vue
src/views/ship-approval/ShipApproval.vue
+3
-3
vue.config.js
vue.config.js
+8
-1
No files found.
public/index.html
View file @
700689db
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
name=
"viewport"
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"
/>
/>
<!-- 禁用缓存,解决企业微信缓存问题 -->
<meta
http-equiv=
"Cache-Control"
content=
"no-cache, no-store, must-revalidate"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
/>
<meta
http-equiv=
"Expires"
content=
"0"
/>
<!-- 点击无高光 -->
<!-- 点击无高光 -->
<meta
name=
"msapplication-tap-highlight"
content=
"no"
/>
<meta
name=
"msapplication-tap-highlight"
content=
"no"
/>
<!-- uc强制竖屏 -->
<!-- uc强制竖屏 -->
...
...
src/router/index.js
View file @
700689db
...
@@ -24,7 +24,10 @@ export const globalRouter = [
...
@@ -24,7 +24,10 @@ export const globalRouter = [
{
{
path
:
'/ship-approval'
,
path
:
'/ship-approval'
,
name
:
'ShipApproval'
,
name
:
'ShipApproval'
,
component
:
()
=>
import
(
'@/views/ship-approval/ShipApproval.vue'
)
component
:
()
=>
import
(
'@/views/ship-approval/ShipApproval.vue'
),
meta
:
{
noCache
:
true
// 标记为不缓存
}
},
},
{
{
path
:
'/invoice-occupancy-detail'
,
path
:
'/invoice-occupancy-detail'
,
...
...
src/views/ship-approval/ShipApproval.vue
View file @
700689db
...
@@ -235,7 +235,7 @@
...
@@ -235,7 +235,7 @@
label=
"要货量(件)"
label=
"要货量(件)"
type=
"number"
type=
"number"
placeholder=
"请输入"
placeholder=
"请输入"
:required=
"isOpinionRequired"
required
/>
/>
<van-field
<van-field
v-model=
"form.systemStock"
v-model=
"form.systemStock"
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
label=
"系统库存量(件)"
label=
"系统库存量(件)"
type=
"number"
type=
"number"
placeholder=
"请输入"
placeholder=
"请输入"
:required=
"isOpinionRequired"
required
/>
/>
<van-field
<van-field
v-model=
"form.realTimeStock"
v-model=
"form.realTimeStock"
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
label=
"实时库存量(件)"
label=
"实时库存量(件)"
type=
"number"
type=
"number"
placeholder=
"请输入"
placeholder=
"请输入"
:required=
"isOpinionRequired"
required
/>
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
...
...
vue.config.js
View file @
700689db
...
@@ -28,6 +28,8 @@ module.exports = {
...
@@ -28,6 +28,8 @@ module.exports = {
}
}
},
},
productionSourceMap
:
false
,
productionSourceMap
:
false
,
// 文件名添加hash,避免企业微信缓存问题
filenameHashing
:
true
,
configureWebpack
:
{
configureWebpack
:
{
resolve
:
{
resolve
:
{
alias
:
{
alias
:
{
...
@@ -35,6 +37,11 @@ module.exports = {
...
@@ -35,6 +37,11 @@ module.exports = {
'@img'
:
path
.
resolve
(
__dirname
,
'./src/assets/images'
)
'@img'
:
path
.
resolve
(
__dirname
,
'./src/assets/images'
)
}
}
},
},
plugins
:
[]
plugins
:
[],
output
:
{
// 确保文件名包含hash
filename
:
process
.
env
.
NODE_ENV
===
'production'
?
'js/[name].[contenthash:8].js'
:
'js/[name].js'
,
chunkFilename
:
process
.
env
.
NODE_ENV
===
'production'
?
'js/[name].[contenthash:8].js'
:
'js/[name].js'
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment