Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
supply-web
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 0c05d68c
authored
Sep 11, 2020
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v0.0.1' of
http://192.168.3.233:8090/glsx-business/supply-web
into v0.0.1
2 parents
8ea8efb9
ea7c4daa
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
38 additions
and
35 deletions
.env
src/main.js
src/views/consumerManage/factory.vue
src/views/consumerManage/index.vue
src/views/deviceManage/deviceInventory.vue
src/views/deviceManage/deviceSetting.vue
src/views/deviceManage/firmware.vue
src/views/deviceManage/outManage.vue
src/views/orderManage/assignOrder.vue
src/views/orderManage/invoice.vue
.env
View file @
0c05d68
...
@@ -17,3 +17,6 @@ VUE_APP_ELEMENT_COLOR=#409EFF
...
@@ -17,3 +17,6 @@ VUE_APP_ELEMENT_COLOR=#409EFF
VUE_APP_MAIN_COLOR=#3D6FE4
VUE_APP_MAIN_COLOR=#3D6FE4
VUE_APP_STORAGE_PREFIX=tfims
VUE_APP_STORAGE_PREFIX=tfims
# 全局变量
VUE_APP_BTN_SIZE=small
\ No newline at end of file
\ No newline at end of file
src/main.js
View file @
0c05d68
...
@@ -23,15 +23,11 @@ import router from './router'
...
@@ -23,15 +23,11 @@ import router from './router'
// 核心插件
// 核心插件
Vue
.
use
(
d2Admin
)
Vue
.
use
(
d2Admin
)
// Vue.use(D2Crud)
// Vue.use(D2Crud)
import
{
import
{
Constants
}
from
'./common/constants2'
Constants
import
{
Util
}
from
'./common/util'
}
from
'./common/constants2'
import
{
Util
}
from
'./common/util'
Vue
.
prototype
.
$Constants
=
Constants
Vue
.
prototype
.
$Constants
=
Constants
Vue
.
prototype
.
$Util
=
Util
Vue
.
prototype
.
$Util
=
Util
Vue
.
prototype
.
btn_size
=
process
.
env
.
VUE_APP_BTN_SIZE
new
Vue
({
new
Vue
({
router
,
router
,
store
,
store
,
...
...
src/views/consumerManage/factory.vue
View file @
0c05d68
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-search"
icon=
"el-icon-search"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"getList()"
@
click=
"getList()"
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"editInfo()"
@
click=
"editInfo()"
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
plain
plain
@
click=
"editInfo(scope.row)"
@
click=
"editInfo(scope.row)"
>
修改
</el-button>
>
修改
</el-button>
...
@@ -172,6 +172,7 @@ export default {
...
@@ -172,6 +172,7 @@ export default {
'edit-fac'
:
EditFac
,
'edit-fac'
:
EditFac
,
},
},
data
()
{
data
()
{
return
{
return
{
formInline
:
{},
formInline
:
{},
tableData
:
[],
tableData
:
[],
...
@@ -198,6 +199,7 @@ export default {
...
@@ -198,6 +199,7 @@ export default {
mounted
:
function
()
{
mounted
:
function
()
{
this
.
getList
()
this
.
getList
()
console
.
log
(
process
.
env
.
VUE_APP_BTN_SIZE
,
this
.
btn_size
)
},
},
methods
:
{
methods
:
{
...
...
src/views/consumerManage/index.vue
View file @
0c05d68
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
:size=
"btn_size"
icon=
"el-icon-search"
icon=
"el-icon-search"
:id=
"tableParams.btnId"
:id=
"tableParams.btnId"
>
搜索
</el-button>
>
搜索
</el-button>
...
@@ -46,6 +47,7 @@
...
@@ -46,6 +47,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
:size=
"btn_size"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"showAddDialog = true"
@
click=
"showAddDialog = true"
...
@@ -254,7 +256,7 @@ export default {
...
@@ -254,7 +256,7 @@ export default {
/**
/**
* 重置密码操作
* 重置密码操作
*/
*/
openResetPassword
:
function
(
row
)
{
openResetPassword
:
function
(
row
)
{
this
.
userInfo
=
row
this
.
userInfo
=
row
this
.
form_pass
.
userName
=
this
.
userInfo
.
userName
this
.
form_pass
.
userName
=
this
.
userInfo
.
userName
this
.
showPassDialog
=
true
this
.
showPassDialog
=
true
...
@@ -263,7 +265,7 @@ export default {
...
@@ -263,7 +265,7 @@ export default {
/**
/**
* 关闭密码重置弹窗
* 关闭密码重置弹窗
*/
*/
closePasslDialog
:
function
()
{
closePasslDialog
:
function
()
{
this
.
showPassDialog
=
false
this
.
showPassDialog
=
false
this
.
getList
()
this
.
getList
()
},
},
...
@@ -271,7 +273,7 @@ export default {
...
@@ -271,7 +273,7 @@ export default {
/**
/**
* 重置密码
* 重置密码
*/
*/
resetPassword
:
function
()
{
resetPassword
:
function
()
{
let
_this
=
this
let
_this
=
this
let
_obj
=
_this
.
$refs
.
passForm
let
_obj
=
_this
.
$refs
.
passForm
_obj
.
validate
(
valid
=>
{
_obj
.
validate
(
valid
=>
{
...
@@ -295,7 +297,7 @@ export default {
...
@@ -295,7 +297,7 @@ export default {
/**
/**
* 关闭新增弹出框
* 关闭新增弹出框
*/
*/
closeAddDialog
:
function
(
isCancel
)
{
closeAddDialog
:
function
(
isCancel
)
{
this
.
showAddDialog
=
false
this
.
showAddDialog
=
false
if
(
isCancel
)
{
if
(
isCancel
)
{
return
return
...
...
src/views/deviceManage/deviceInventory.vue
View file @
0c05d68
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-search"
icon=
"el-icon-search"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"getList()"
@
click=
"getList()"
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-upload2"
icon=
"el-icon-upload2"
@
click=
"openDialog"
@
click=
"openDialog"
>
导入
</el-button>
>
导入
</el-button>
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
<!--
<el-link
type=
"primary"
:underline=
"false"
v-if=
"scope.row.status == 'IN'"
@
click=
"editEvent(scope.row)"
>
修改
</el-link>
-->
<!--
<el-link
type=
"primary"
:underline=
"false"
v-if=
"scope.row.status == 'IN'"
@
click=
"editEvent(scope.row)"
>
修改
</el-link>
-->
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
plain
plain
v-if=
"scope.row.status == 'IN'"
v-if=
"scope.row.status == 'IN'"
@
click=
"editEvent(scope.row)"
@
click=
"editEvent(scope.row)"
...
...
src/views/deviceManage/deviceSetting.vue
View file @
0c05d68
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-search"
icon=
"el-icon-search"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"getList()"
@
click=
"getList()"
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"showModal = true"
@
click=
"showModal = true"
...
...
src/views/deviceManage/firmware.vue
View file @
0c05d68
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-search"
icon=
"el-icon-search"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"getList()"
@
click=
"getList()"
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"showModal = true"
@
click=
"showModal = true"
...
...
src/views/deviceManage/outManage.vue
View file @
0c05d68
...
@@ -68,14 +68,14 @@
...
@@ -68,14 +68,14 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-search"
icon=
"el-icon-search"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"getList()"
@
click=
"getList()"
>
搜索
</el-button>
>
搜索
</el-button>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-upload2"
icon=
"el-icon-upload2"
@
click=
"openDialog"
@
click=
"openDialog"
>
导入
</el-button>
>
导入
</el-button>
...
...
src/views/orderManage/assignOrder.vue
View file @
0c05d68
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-search"
icon=
"el-icon-search"
:loading=
"tableLoading"
:loading=
"tableLoading"
:id=
"tableParams.btnId"
:id=
"tableParams.btnId"
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-download"
icon=
"el-icon-download"
:loading=
"exportLoading"
:loading=
"exportLoading"
@
click=
"exportInfo()"
@
click=
"exportInfo()"
...
@@ -121,14 +121,14 @@
...
@@ -121,14 +121,14 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
@
click=
"batchAssignShipment()"
@
click=
"batchAssignShipment()"
>
批量分配发货
</el-button>
>
批量分配发货
</el-button>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
@
click=
"batchDirectDelivery()"
@
click=
"batchDirectDelivery()"
>
批量直接发货
</el-button>
>
批量直接发货
</el-button>
</el-form-item>
</el-form-item>
...
@@ -265,42 +265,42 @@
...
@@ -265,42 +265,42 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
plain
plain
v-if=
"scope.row.status == '8'"
v-if=
"scope.row.status == '8'"
@
click=
"assignShipment(scope.row)"
@
click=
"assignShipment(scope.row)"
>
分配发货
</el-button>
>
分配发货
</el-button>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
plain
plain
v-if=
"scope.row.status == '8'"
v-if=
"scope.row.status == '8'"
@
click=
"directDelivery(scope.row)"
@
click=
"directDelivery(scope.row)"
>
直接发货
</el-button>
>
直接发货
</el-button>
<el-button
<el-button
type=
"danger"
type=
"danger"
size=
"mini
"
:size=
"btn_size
"
plain
plain
v-if=
"scope.row.status == '8'"
v-if=
"scope.row.status == '8'"
@
click=
"reject(scope.row)"
@
click=
"reject(scope.row)"
>
驳回
</el-button>
>
驳回
</el-button>
<el-button
<el-button
type=
"danger"
type=
"danger"
size=
"mini
"
:size=
"btn_size
"
plain
plain
v-if=
"scope.row.status == '2'"
v-if=
"scope.row.status == '2'"
@
click=
"withdraw(scope.row)"
@
click=
"withdraw(scope.row)"
>
撤回
</el-button>
>
撤回
</el-button>
<el-button
<el-button
type=
"success"
type=
"success"
size=
"mini
"
:size=
"btn_size
"
plain
plain
v-if=
"scope.row.status == '3'"
v-if=
"scope.row.status == '3'"
@
click=
"advanceOver(scope.row)"
@
click=
"advanceOver(scope.row)"
>
提前结束
</el-button>
>
提前结束
</el-button>
<el-button
<el-button
type=
"info"
type=
"info"
size=
"mini
"
:size=
"btn_size
"
plain
plain
@
click=
"downloadInvoice(scope.row)"
@
click=
"downloadInvoice(scope.row)"
>
下载发货单
</el-button>
>
下载发货单
</el-button>
...
...
src/views/orderManage/invoice.vue
View file @
0c05d68
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-search"
icon=
"el-icon-search"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"getList()"
@
click=
"getList()"
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"mini
"
:size=
"btn_size
"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
:loading=
"tableLoading"
:loading=
"tableLoading"
@
click=
"editOrder"
@
click=
"editOrder"
...
...
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