Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-inventory
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 35379d23
authored
Apr 14, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更换config配置
1 parent
8fbb396b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
2 deletions
src/config/index.js
src/views/allocation/allocationDetailDialog.vue
src/views/check/add.vue
src/views/check/inventoryDetailDialog.vue
src/views/stock/stockMonthDialog.vue
src/config/index.js
View file @
35379d2
...
@@ -17,7 +17,7 @@ export const fetchConfig = function (isEnv = true) {
...
@@ -17,7 +17,7 @@ export const fetchConfig = function (isEnv = true) {
// Object.assign(request, { timeout })
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// return Promise.resolve(cfg)
let
params
=
{
moduleName
:
'inventory'
,
mockUrl
:
'http://oss-config.dev.glsx.com.cn/mock/6423df03079be3540abbb69e/purchase/config'
,
env
:
'test'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
let
params
=
{
moduleName
:
'inventory'
,
mockUrl
:
'http://oss-config.dev.glsx.com.cn/mock/6423df03079be3540abbb69e/purchase/config'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
return
utils
.
getConfig
(
params
)
return
utils
.
getConfig
(
params
)
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config')
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=home').then(res => res)
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=home').then(res => res)
...
...
src/views/allocation/allocationDetailDialog.vue
View file @
35379d2
...
@@ -17,6 +17,9 @@
...
@@ -17,6 +17,9 @@
</GLTable>
</GLTable>
</div>
</div>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
</span>
</GLDialog>
</GLDialog>
</
template
>
</
template
>
...
...
src/views/check/add.vue
View file @
35379d2
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</div>
</div>
</div>
</div>
<p
class=
"title"
>
盘存
</p>
<p
class=
"title"
>
盘存
</p>
<GLTable
ref=
"recordTable"
:getListApi=
"getListApi"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"recordTable"
:getListApi=
"getListApi"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"pageConf"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"inventory(scope.scope)"
:disabled=
"setDisabled(scope.scope)"
>
盘点
</el-button>
<el-button
type=
"text"
@
click=
"inventory(scope.scope)"
:disabled=
"setDisabled(scope.scope)"
>
盘点
</el-button>
</div>
</div>
...
@@ -59,6 +59,7 @@ export default {
...
@@ -59,6 +59,7 @@ export default {
searchFormSearch
:
{},
searchFormSearch
:
{},
searchSelectObj
:
{},
searchSelectObj
:
{},
getListApi
:
this
.
$apis
.
stockManage
.
stockRemainPage
,
getListApi
:
this
.
$apis
.
stockManage
.
stockRemainPage
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
tableParams
:
{
tableParams
:
{
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
listName
:
'list'
,
listName
:
'list'
,
...
...
src/views/check/inventoryDetailDialog.vue
View file @
35379d2
...
@@ -38,6 +38,9 @@
...
@@ -38,6 +38,9 @@
</GLTable>
</GLTable>
</div>
</div>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
</span>
</GLDialog>
</GLDialog>
</template>
</template>
...
...
src/views/stock/stockMonthDialog.vue
View file @
35379d2
...
@@ -14,6 +14,9 @@
...
@@ -14,6 +14,9 @@
说明:月平均加权单价=上月结存库存金额+本月采购金额/上月结存库存数量+本月采购数量
说明:月平均加权单价=上月结存库存金额+本月采购金额/上月结存库存数量+本月采购数量
</span>
</span>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
</span>
</GLDialog>
</GLDialog>
</
template
>
</
template
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment