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 aa055cfd
authored
May 09, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'saas+v4.20.0' of
http://192.168.3.233:8090/saas/scrm-micro-inventory
into saas+v4.20.0
2 parents
59b71024
3433b5b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
src/setup/qiankun.js
src/views/warehousing/index.vue
src/setup/qiankun.js
View file @
aa055cf
...
@@ -12,13 +12,14 @@ let instance = null
...
@@ -12,13 +12,14 @@ let instance = null
Vue
.
use
(
ElementUI
)
Vue
.
use
(
ElementUI
)
Vue
.
use
(
GLTable
)
Vue
.
use
(
GLTable
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
}
=
await
fetchConfig
(
common
)
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
,
purchaseType
}
=
await
fetchConfig
(
common
)
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$purchaseType
=
purchaseType
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
"md5"
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
"md5"
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
...
...
src/views/warehousing/index.vue
View file @
aa055cf
...
@@ -144,7 +144,7 @@ export default {
...
@@ -144,7 +144,7 @@ export default {
label
:
'入库数量'
,
label
:
'入库数量'
,
prop
:
'increaseStockNum'
,
prop
:
'increaseStockNum'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
increaseStockNum
||
cellValue
.
increaseStockNum
==
0
?
parseFloat
(
cellValue
.
increaseStockNum
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
&&
cellValue
.
increaseStockType
!=
4
?
'米'
:
'件'
)
:
'-'
return
cellValue
.
increaseStockNum
||
cellValue
.
increaseStockNum
==
0
?
parseFloat
(
cellValue
.
increaseStockNum
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
&&
cellValue
.
goodsType
!=
this
.
$purchaseType
?
'米'
:
'件'
)
:
'-'
},
},
width
:
120
width
:
120
},
},
...
@@ -191,11 +191,7 @@ export default {
...
@@ -191,11 +191,7 @@ export default {
{
{
confId
:
'3'
,
confId
:
'3'
,
confLabel
:
'调拨入库'
confLabel
:
'调拨入库'
},
}
// {
// confId: '4',
// confLabel: '自采入库'
// }
],
],
productTypeList
:
[],
productTypeList
:
[],
yqMerchantList
:
[]
yqMerchantList
:
[]
...
...
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