Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
717da4a1
Commit
717da4a1
authored
Jul 11, 2022
by
ylpmty
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
f95ed18f
3304b861
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
250 additions
and
393 deletions
+250
-393
package.json
package.json
+1
-0
box.js
src/api/ecw/box.js
+18
-18
ruoyi.js
src/utils/ruoyi.js
+1
-1
index.vue
src/views/ecw/box/index.vue
+220
-368
special.vue
src/views/ecw/offer/special.vue
+4
-2
specialDiscount.vue
src/views/ecw/offer/specialDiscount.vue
+6
-4
No files found.
package.json
View file @
717da4a1
...
...
@@ -9,6 +9,7 @@
"build:prod"
:
"vue-cli-service build"
,
"build:stage"
:
"vue-cli-service build --mode staging"
,
"build:demo1024"
:
"vue-cli-service build --mode demo1024"
,
"dev:demo1024"
:
"vue-cli-service serve --mode demo1024"
,
"preview"
:
"node build/index.js --preview"
,
"lint"
:
"eslint --ext .js,.vue src"
},
...
...
src/api/ecw/box.js
View file @
717da4a1
import
request
from
'
@/utils/request
'
// 创建出货
管理
export
function
create
B
ox
(
data
)
{
// 创建出货
export
function
create
b
ox
(
data
)
{
return
request
({
url
:
'
/
ecw
/box/create
'
,
url
:
'
/
shipment
/box/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新出货
管理
export
function
update
B
ox
(
data
)
{
// 更新出货
export
function
update
b
ox
(
data
)
{
return
request
({
url
:
'
/
ecw
/box/update
'
,
url
:
'
/
shipment
/box/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除出货
管理
export
function
delete
B
ox
(
id
)
{
// 删除出货
export
function
delete
b
ox
(
id
)
{
return
request
({
url
:
'
/
ecw
/box/delete?id=
'
+
id
,
url
:
'
/
shipment
/box/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得出货
管理
export
function
get
B
ox
(
id
)
{
// 获得出货
export
function
get
b
ox
(
id
)
{
return
request
({
url
:
'
/
ecw
/box/get?id=
'
+
id
,
url
:
'
/
shipment
/box/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得出货
管理
分页
export
function
get
B
oxPage
(
query
)
{
// 获得出货分页
export
function
get
b
oxPage
(
query
)
{
return
request
({
url
:
'
/
ecw
/box/page
'
,
url
:
'
/
shipment
/box/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出出货
管理
Excel
export
function
export
B
oxExcel
(
query
)
{
// 导出出货 Excel
export
function
export
b
oxExcel
(
query
)
{
return
request
({
url
:
'
/
ecw
/box/export-excel
'
,
url
:
'
/
shipment
/box/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
...
...
src/utils/ruoyi.js
View file @
717da4a1
...
...
@@ -11,7 +11,7 @@ const baseURL = process.env.VUE_APP_BASE_API
* @param pattern {String} '{y}-{m}-{d} {h}:{i}:{s}'
* @returns {string|null}
*/
export
function
parseTime
(
time
,
pattern
)
{
export
function
parseTime
(
time
,
pattern
=
undefined
)
{
if
(
arguments
.
length
===
0
||
!
time
)
{
return
null
}
...
...
src/views/ecw/box/index.vue
View file @
717da4a1
This diff is collapsed.
Click to expand it.
src/views/ecw/offer/special.vue
View file @
717da4a1
...
...
@@ -34,9 +34,9 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"address"
prop=
"updateTime"
:formatter=
"(_, __, v) => parseTime(v)"
label=
"最后操作时间"
>
<!-- todo -->
</el-table-column>
<el-table-column
label=
"原价"
>
...
...
@@ -96,6 +96,7 @@ import {getOffer} from '@/api/ecw/offer'
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
import
{
parseTime
}
from
'
@/utils/ruoyi
'
export
default
{
name
:
"
OfferSpecial
"
,
components
:
{
...
...
@@ -105,6 +106,7 @@ export default {
},
data
()
{
return
{
parseTime
,
DICT_TYPE
,
getDictDataLabel
,
// 遮罩层
...
...
src/views/ecw/offer/specialDiscount.vue
View file @
717da4a1
...
...
@@ -64,14 +64,15 @@
<
/el-input
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
新运费
"
required
>
<
el
-
input
v
-
model
.
number
=
"
form.seaFreight
"
>
<
el
-
input
v
-
model
.
number
=
"
form.seaFreight
"
:
readonly
=
"
readonly
"
>
<
dict
-
selector
slot
=
"
prepend
"
v
-
model
=
"
form.seaFreightCurrency
"
:
type
=
"
DICT_TYPE.COMMISSION_CURRENCY_TYPE
"
style
=
"
width: 100px
"
:
disabled
=
"
readonly
"
><
/dict-selector
>
<
el
-
select
v
-
model
=
"
form.seaFreightVolume
"
placeholder
=
"
请选择
"
slot
=
"
append
"
style
=
"
width: 100px
"
>
<
el
-
select
v
-
model
=
"
form.seaFreightVolume
"
placeholder
=
"
请选择
"
slot
=
"
append
"
style
=
"
width: 100px
"
:
disabled
=
"
readonly
"
>
<
el
-
option
v
-
for
=
"
item in unitList
"
:
key
=
"
item.id
"
...
...
@@ -82,14 +83,15 @@
<
/el-input
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
新清关费
"
required
>
<
el
-
input
v
-
model
.
number
=
"
form.clearanceFreight
"
>
<
el
-
input
v
-
model
.
number
=
"
form.clearanceFreight
"
:
readonly
=
"
readonly
"
>
<
dict
-
selector
slot
=
"
prepend
"
v
-
model
=
"
form.clearanceFreightCurrency
"
:
type
=
"
DICT_TYPE.COMMISSION_CURRENCY_TYPE
"
style
=
"
width: 100px
"
:
disabled
=
"
readonly
"
><
/dict-selector
>
<
el
-
select
v
-
model
=
"
form.clearanceFreightVolume
"
placeholder
=
"
请选择
"
slot
=
"
append
"
style
=
"
width: 100px
"
>
<
el
-
select
v
-
model
=
"
form.clearanceFreightVolume
"
placeholder
=
"
请选择
"
slot
=
"
append
"
style
=
"
width: 100px
"
:
disabled
=
"
readonly
"
>
<
el
-
option
v
-
for
=
"
item in unitList
"
:
key
=
"
item.id
"
...
...
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