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