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
83ab1a52
Commit
83ab1a52
authored
Dec 25, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
3f15ef68
0fa2df21
Changes
19
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
809 additions
and
416 deletions
+809
-416
.env.dev
.env.dev
+1
-1
.env.development
.env.development
+2
-1
ueditor.all.min.js
public/static/plugins/ueditor/ueditor.all.min.js
+6
-4
box.js
src/api/ecw/box.js
+2
-3
order.js
src/api/ecw/order.js
+22
-0
index.vue
src/components/RoutersSelectorWithoutChannel/index.vue
+302
-0
process-designer.scss
...s/bpmnProcessDesigner/package/theme/process-designer.scss
+1
-1
indexSea.vue
src/views/ecw/box/indexSea.vue
+7
-5
indexSeaAir.vue
src/views/ecw/box/indexSeaAir.vue
+224
-317
query.vue
src/views/ecw/box/query.vue
+6
-6
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+3
-3
seaProcess.vue
src/views/ecw/box/shippingSea/seaProcess.vue
+5
-1
query.vue
src/views/ecw/customer/query.vue
+4
-2
LandingBillDetail.vue
src/views/ecw/order/components/LandingBillDetail.vue
+2
-2
UpdateDetail.vue
src/views/ecw/order/components/UpdateDetail.vue
+16
-1
edit.vue
src/views/ecw/order/edit.vue
+1
-1
index.vue
src/views/ecw/order/warehousing/index.vue
+26
-0
edit.vue
src/views/ecw/productPrice/edit.vue
+174
-65
index.vue
src/views/ecw/warehouse/index.vue
+5
-3
No files found.
.env.dev
View file @
83ab1a52
...
@@ -5,7 +5,7 @@ NODE_ENV = 'production'
...
@@ -5,7 +5,7 @@ NODE_ENV = 'production'
VUE_APP_TITLE = 捷道管理系统
VUE_APP_TITLE = 捷道管理系统
# 捷道管理系统/开发环境
# 捷道管理系统/开发环境
VUE_APP_BASE_API = 'https://
jd.admtest
.jdshangmen.com'
VUE_APP_BASE_API = 'https://
api.jd
.jdshangmen.com'
# VUE_APP_BASE_API = '/api'
# VUE_APP_BASE_API = '/api'
# 路由懒加载
# 路由懒加载
...
...
.env.development
View file @
83ab1a52
...
@@ -5,7 +5,8 @@ ENV = 'development'
...
@@ -5,7 +5,8 @@ ENV = 'development'
VUE_APP_TITLE = 捷道管理系统
VUE_APP_TITLE = 捷道管理系统
# 捷道管理系统/开发环境
# 捷道管理系统/开发环境
VUE_APP_BASE_API = 'https://jd.admtest.jdshangmen.com'
#VUE_APP_BASE_API = 'https://jd.admtest.jdshangmen.com'
VUE_APP_BASE_API = 'https://api.jd.jdshangmen.com'
# VUE_APP_BASE_API = '/api'
# VUE_APP_BASE_API = '/api'
# 路由懒加载
# 路由懒加载
...
...
public/static/plugins/ueditor/ueditor.all.min.js
View file @
83ab1a52
...
@@ -17972,8 +17972,9 @@ UE.plugins['video'] = function (){
...
@@ -17972,8 +17972,9 @@ UE.plugins['video'] = function (){
tmpCell.rowSpan = tmpCell.colSpan = 1;
tmpCell.rowSpan = tmpCell.colSpan = 1;
}
}
//去掉宽高
//去掉宽高
/* @ 20221223 dragondean
!keepPro && domUtils.removeAttributes(tmpCell,'width height');
!keepPro && domUtils.removeAttributes(tmpCell,'width height');
!keepPro && domUtils.removeAttributes(tmpCell,'style');
!keepPro && domUtils.removeAttributes(tmpCell,'style');
*/
tmpCell.style.borderLeftStyle = "";
tmpCell.style.borderLeftStyle = "";
tmpCell.style.borderTopStyle = "";
tmpCell.style.borderTopStyle = "";
...
@@ -18232,12 +18233,13 @@ UE.plugins['video'] = function (){
...
@@ -18232,12 +18233,13 @@ UE.plugins['video'] = function (){
};
};
}
}
//给第一行设置firstRow的样式名称,在排序图标的样式上使用到
//给第一行设置firstRow的样式名称,在排序图标的样式上使用到
/* @ 20221223 dragondean
if(!domUtils.hasClass(this.table.rows[0], "firstRow")) {
if(!domUtils.hasClass(this.table.rows[0], "firstRow")) {
domUtils.addClass(this.table.rows[0], "firstRow");
domUtils.addClass(this.table.rows[0], "firstRow
11111
");
for(var i = 1; i< this.table.rows.length; i++) {
for(var i = 1; i< this.table.rows.length; i++) {
domUtils.removeClasses(this.table.rows[i], "firstRow");
domUtils.removeClasses(this.table.rows[i], "firstRow22222");
}
}
}
} */
},
},
/**
/**
* 获取单元格的索引信息
* 获取单元格的索引信息
src/api/ecw/box.js
View file @
83ab1a52
...
@@ -215,8 +215,7 @@ export function getNoticeList(data) {
...
@@ -215,8 +215,7 @@ export function getNoticeList(data) {
return
request
({
return
request
({
url
:
"
/shipment/box/noticeList
"
,
url
:
"
/shipment/box/noticeList
"
,
method
:
"
post
"
,
method
:
"
post
"
,
headers
:
{
"
Content-Type
"
:
"
application/x-www-form-urlencoded
"
},
data
,
data
:
jsonToFormData
(
data
),
});
});
}
}
...
@@ -246,7 +245,7 @@ export function getBoxApproval(params) {
...
@@ -246,7 +245,7 @@ export function getBoxApproval(params) {
}
}
// 获得制作提货单(审核中调用)
// 获得制作提货单(审核中调用)
export
function
getBillOfLandingInProcessing
(
params
){
export
function
getBillOfLandingInProcessing
(
params
)
{
return
request
({
return
request
({
url
:
"
/shipment/make-bill-of-lading/getInProcessing
"
,
url
:
"
/shipment/make-bill-of-lading/getInProcessing
"
,
method
:
"
get
"
,
method
:
"
get
"
,
...
...
src/api/ecw/order.js
View file @
83ab1a52
...
@@ -181,6 +181,28 @@ export function orderWarehouseInUpdateLabel(data){
...
@@ -181,6 +181,28 @@ export function orderWarehouseInUpdateLabel(data){
})
})
}
}
// 根据订单id获取标签箱号列表
export
function
getLabelByOrder
(
orderId
){
return
request
({
url
:
'
/order/order-warehouse-in/get-label-by-order
'
,
method
:
'
get
'
,
params
:
{
orderId
}
})
}
// 根据订单id获取待入仓标签箱号
export
function
getLabelWaitInByOrder
(
orderId
){
return
request
({
url
:
'
/order/order-warehouse-in/get-label-wait-in-by-order
'
,
method
:
'
get
'
,
params
:
{
orderId
}
})
}
// 入仓修改储位
// 入仓修改储位
export
function
saveOrUpdateOrderLocation
(
data
){
export
function
saveOrUpdateOrderLocation
(
data
){
return
request
({
return
request
({
...
...
src/components/RoutersSelectorWithoutChannel/index.vue
0 → 100644
View file @
83ab1a52
This diff is collapsed.
Click to expand it.
src/components/bpmnProcessDesigner/package/theme/process-designer.scss
View file @
83ab1a52
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
}
}
}
}
}
}
pre
{
.my-process-designer
pre
{
margin
:
0
;
margin
:
0
;
height
:
100%
;
height
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
...
...
src/views/ecw/box/indexSea.vue
View file @
83ab1a52
...
@@ -16,19 +16,19 @@
...
@@ -16,19 +16,19 @@
<el-input
v-model=
"queryParams.cubNo"
:placeholder=
"$t('请输入柜号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.cubNo"
:placeholder=
"$t('请输入柜号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('柜型')"
prop=
"cabinetId"
>
<el-form-item
:label=
"$t('柜型')"
prop=
"cabinetId"
>
<el-select
v-model=
"queryParams.cabinetId"
:placeholder=
"$t('请选择柜型')"
>
<el-select
v-model=
"queryParams.cabinetId"
:placeholder=
"$t('请选择柜型')"
clearable
>
<el-option
v-for=
"item in cabinetList"
:label=
"$l(item, 'name')"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in cabinetList"
:label=
"$l(item, 'name')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('始发地')"
prop=
"startWarehouseId"
>
<el-form-item
:label=
"$t('始发地')"
prop=
"startWarehouseId"
>
<el-select
v-model=
"queryParams.startWarehouseId"
:placeholder=
"$t('请选择始发地')"
>
<el-select
v-model=
"queryParams.startWarehouseId"
:placeholder=
"$t('请选择始发地')"
clearable
>
<el-option
v-for=
"item in exportWarehouseList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in exportWarehouseList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('目的地')"
prop=
"destWarehouseId"
>
<el-form-item
:label=
"$t('目的地')"
prop=
"destWarehouseId"
>
<el-select
v-model=
"queryParams.destWarehouseId"
:placeholder=
"$t('请选择目的地')"
>
<el-select
v-model=
"queryParams.destWarehouseId"
:placeholder=
"$t('请选择目的地')"
clearable
>
<el-option
v-for=
"item in importWarehouseList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in importWarehouseList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
""
prop=
"dateRangeCreateTime"
>
<el-form-item
label=
""
prop=
"dateRangeCreateTime"
>
<el-date-picker
v-model=
"queryParams.dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd HH:mm:ss"
type=
"datetimerange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
/>
<el-date-picker
v-model=
"queryParams.dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd HH:mm:ss"
type=
"datetimerange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('状态')"
prop=
"boxStatus"
>
<el-form-item
:label=
"$t('状态')"
prop=
"boxStatus"
>
...
@@ -312,7 +312,9 @@ export default {
...
@@ -312,7 +312,9 @@ export default {
methods
:
{
methods
:
{
formatDate
,
formatDate
,
queryNotice
()
{
queryNotice
()
{
getNoticeList
({
}
).
then
((
res
)
=>
{
getNoticeList
({
transportTypeList
:
this
.
transportTypes
.
map
((
item
)
=>
item
.
value
),
}
).
then
((
res
)
=>
{
const
{
data
}
=
res
;
const
{
data
}
=
res
;
this
.
noticeList
=
data
??
[];
this
.
noticeList
=
data
??
[];
if
(
data
.
length
)
{
if
(
data
.
length
)
{
...
...
src/views/ecw/box/indexSeaAir.vue
View file @
83ab1a52
This diff is collapsed.
Click to expand it.
src/views/ecw/box/query.vue
View file @
83ab1a52
...
@@ -362,18 +362,18 @@ export default {
...
@@ -362,18 +362,18 @@ export default {
},
},
getErrorType
()
{
getErrorType
()
{
for
(
const
[
key
,
value
]
of
Object
.
entries
(
this
.
shipmentObj
))
{
for
(
const
[
key
,
value
]
of
Object
.
entries
(
this
.
shipmentObj
))
{
// 报关异常 customs
Info
// 报关异常 customs
HasAbnormal
if
(
key
===
"
customs
Info
"
&&
value
&&
value
.
hasAbnormal
)
{
if
(
key
===
"
customs
HasAbnormal
"
&&
value
)
{
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
customs
"
);
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
customs
"
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新报关异常状态
"
));
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新报关异常状态
"
));
}
}
// 起运异常 shipping
Info
// 起运异常 shipping
HasAbnormal
if
(
key
===
"
shipping
Info
"
&&
value
&&
value
.
hasAbnormal
)
{
if
(
key
===
"
shipping
HasAbnormal
"
&&
value
)
{
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
shipping
"
);
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
shipping
"
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新起运异常状态
"
));
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新起运异常状态
"
));
}
}
// 到港异常 arrival
Info
// 到港异常 arrival
HasAbnormal
if
(
key
===
"
arrival
Info
"
&&
value
&&
value
.
hasAbnormal
)
{
if
(
key
===
"
arrival
HasAbnormal
"
&&
value
)
{
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
arrival
"
);
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
arrival
"
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新到港异常状态
"
));
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新到港异常状态
"
));
}
}
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
83ab1a52
...
@@ -240,8 +240,8 @@
...
@@ -240,8 +240,8 @@
<
el
-
table
-
column
:
label
=
"
$t('品名')
"
align
=
"
center
"
prop
=
"
prodTitleZh
"
/>
<
el
-
table
-
column
:
label
=
"
$t('品名')
"
align
=
"
center
"
prop
=
"
prodTitleZh
"
/>
<
el
-
table
-
column
:
label
=
"
$t('备案')
"
align
=
"
center
"
prop
=
"
feeType
"
>
<
el
-
table
-
column
:
label
=
"
$t('备案')
"
align
=
"
center
"
prop
=
"
feeType
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
template
v
-
if
=
"
row.brandName
"
>
{{
row
.
brandName
}}
<
/template
>
<
template
>
{{
row
.
brandName
}}
<
/template
>
<
dict
-
tag
v
-
else
:
type
=
"
DICT_TYPE.ECW_IS_BRAND
"
:
value
=
"
row.feeType
"
/>
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BRAND_CUSTOMER_CHARGING_MODEL
"
:
value
=
"
row.feeType
"
/>
)
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('箱数')
"
align
=
"
center
"
prop
=
"
num
"
/>
<
el
-
table
-
column
:
label
=
"
$t('箱数')
"
align
=
"
center
"
prop
=
"
num
"
/>
...
@@ -354,7 +354,7 @@ export default {
...
@@ -354,7 +354,7 @@ export default {
{
value
:
"
2
"
,
label
:
this
.
$t
(
"
关联单
"
)
}
,
{
value
:
"
2
"
,
label
:
this
.
$t
(
"
关联单
"
)
}
,
],
],
// 备案
// 备案
filingOps
:
this
.
getDictDatas
(
DICT_TYPE
.
COMMISSION_PRODUCT_APPROVA
L
),
filingOps
:
this
.
getDictDatas
(
DICT_TYPE
.
BRAND_CUSTOMER_CHARGING_MODE
L
),
// 报关方式
// 报关方式
declarationMethodOps
:
this
.
getDictDatas
(
DICT_TYPE
.
ECW_CUSTOMS_TYPE
),
declarationMethodOps
:
this
.
getDictDatas
(
DICT_TYPE
.
ECW_CUSTOMS_TYPE
),
// 查询标识
// 查询标识
...
...
src/views/ecw/box/shippingSea/seaProcess.vue
View file @
83ab1a52
...
@@ -237,7 +237,11 @@ export default {
...
@@ -237,7 +237,11 @@ export default {
if
(
end
.
includes
(
val
[
keyName
]))
{
if
(
end
.
includes
(
val
[
keyName
]))
{
node
.
currStatus
=
"
end
"
;
node
.
currStatus
=
"
end
"
;
// 判断是否存在异常未处理
// 判断是否存在异常未处理
if
(
val
[
voName
].
hasAbnormal
)
{
if
(
val
.
customsHasAbnormal
||
val
.
shippingHasAbnormal
||
val
.
arrivalHasAbnormal
)
{
continue
;
continue
;
}
}
// 报关
// 报关
...
...
src/views/ecw/customer/query.vue
View file @
83ab1a52
...
@@ -25,6 +25,8 @@
...
@@ -25,6 +25,8 @@
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_CUSTOMER_RESOURCE_TYPE
"
:
value
=
"
customer.resourceType
"
><
/dict-tag
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_CUSTOMER_RESOURCE_TYPE
"
:
value
=
"
customer.resourceType
"
><
/dict-tag
>
<
/el-descriptions-item
>
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户等级')
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_LEVEL
,
customer
.
level
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户等级')
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_LEVEL
,
customer
.
level
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('信用等级')
"
>
{{
customer
.
creditLevelNameZh
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('国家')
"
>
{{
country
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('国家')
"
>
{{
country
}}
<
/el-descriptions-item
>
<!--
<
el
-
descriptions
-
item
:
label
=
"
$t('业务员')
"
>
{{
customer
}}
<
/el-descriptions-item>--
>
<!--
<
el
-
descriptions
-
item
:
label
=
"
$t('业务员')
"
>
{{
customer
}}
<
/el-descriptions-item>--
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户来源')
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_SOURCE
,
customer
.
source
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户来源')
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_SOURCE
,
customer
.
source
)
}}
<
/el-descriptions-item
>
...
@@ -414,7 +416,7 @@ import {
...
@@ -414,7 +416,7 @@ import {
orderStatistics
,
orderStatistics
,
creditLogCreate
,
creditLogCreate
,
creditScoreStatistic
,
creditScoreStatistic
,
infoListReceiptPage
,
userMemberUserList
,
memberUserList
,
deleteCustomer
,
infoListReceiptPage
,
memberUserList
,
deleteCustomer
,
}
from
'
@/api/ecw/customer
'
}
from
'
@/api/ecw/customer
'
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas2
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas2
}
from
'
@/utils/dict
'
...
@@ -691,6 +693,7 @@ export default {
...
@@ -691,6 +693,7 @@ export default {
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
creditLogPage
();
this
.
creditLogPage
();
this
.
creditFrom
=
{
}
;
this
.
creditFrom
=
{
}
;
this
.
creditScoreStatisticFn
()
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
;
}
}
}
)
}
)
...
@@ -698,7 +701,6 @@ export default {
...
@@ -698,7 +701,6 @@ export default {
//获得信用客户统计
//获得信用客户统计
creditScoreStatisticFn
(){
creditScoreStatisticFn
(){
creditScoreStatistic
({
customerId
:
this
.
id
}
).
then
(
r
=>
{
creditScoreStatistic
({
customerId
:
this
.
id
}
).
then
(
r
=>
{
console
.
log
(
r
)
if
(
r
.
code
===
0
)
this
.
creditScoreStatisticObj
=
r
.
data
if
(
r
.
code
===
0
)
this
.
creditScoreStatisticObj
=
r
.
data
}
)
}
)
}
,
}
,
...
...
src/views/ecw/order/components/LandingBillDetail.vue
View file @
83ab1a52
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
</el-descriptions>
</el-descriptions>
<el-button
type=
"primary"
@
click=
"ShowLandingBill=true"
>
查看提单
</el-button>
<el-button
type=
"primary"
@
click=
"ShowLandingBill=true"
>
查看提单
</el-button>
<el-dialog
title=
"查看提单"
:visible.sync=
"ShowLandingBill"
>
<el-dialog
title=
"查看提单"
:visible.sync=
"ShowLandingBill"
width=
"1000px"
>
<div
style=
"text-align:center; width:
60
0px; margin: auto"
v-html=
"billContent"
/>
<div
style=
"text-align:center; width:
96
0px; margin: auto"
v-html=
"billContent"
/>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/ecw/order/components/UpdateDetail.vue
View file @
83ab1a52
...
@@ -22,7 +22,22 @@
...
@@ -22,7 +22,22 @@
<el-descriptions-item
:label=
"$t('申请理由')"
:span=
"4"
>
<el-descriptions-item
:label=
"$t('申请理由')"
:span=
"4"
>
<div>
<div>
<div
v-for=
"(item, index) in order.applyInfoList"
:key=
"index"
>
<div
v-for=
"(item, index) in order.applyInfoList"
:key=
"index"
>
{{
index
+
1
}}
、
{{
item
.
name
}}
{{
$t
(
'
从旧的【{orgValue
}
】改成新的【{newValue
}
】
'
,
{
orgValue
:
item
.
orgValue
,
newValue
:
item
.
newValue
}
)
}}
{{
index
+
1
}}
、
{{
item
.
name
}}
<template
v-if=
"item.type != 1"
>
{{
$t
(
'
从旧的【{orgValue
}
】改成新的【{newValue
}
】
'
,
{
orgValue
:
item
.
orgValue
,
newValue
:
item
.
newValue
}
)
}}
<
/template
>
<
div
v
-
else
class
=
"
pl-30
"
>
<
div
>
{{
$t
(
'
旧值
'
)
}}
:
<
div
v
-
if
=
"
!item.orgExternalWarehouse
"
class
=
"
pl-30
"
>
{{
$t
(
'
无
'
)
}}
<
/div
>
<
/div
>
<
div
v
-
for
=
"
it in item.orgExternalWarehouse
"
class
=
"
pl-30
"
>
{{
$t
(
'
时间
'
)
}}
:
{{
it
.
estLoadingTime
}}
,
{{
$t
(
'
地址
'
)
}}
:
{{
it
.
loadingAddress
}}
<
/div
>
<
div
>
{{
$t
(
'
新值
'
)
}}
:
<
template
v
-
if
=
"
!item.newExternalWarehouse
"
>
{{
$t
(
'
无
'
)
}}
<
/template
>
<
/div
>
<
div
v
-
for
=
"
it in item.newExternalWarehouse
"
class
=
"
pl-30
"
>
{{
$t
(
'
时间
'
)
}}
:
{{
it
.
estLoadingTime
}}
,
{{
$t
(
'
地址
'
)
}}
:
{{
it
.
loadingAddress
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/el-descriptions-item
>
<
/el-descriptions-item
>
...
...
src/views/ecw/order/edit.vue
View file @
83ab1a52
...
@@ -326,7 +326,7 @@
...
@@ -326,7 +326,7 @@
<el-date-picker
v-model=
"item.estLoadingTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
class=
"w-200"
></el-date-picker>
<el-date-picker
v-model=
"item.estLoadingTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
class=
"w-200"
></el-date-picker>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"w-
3
00"
>
<div
class=
"w-
5
00"
>
<el-form-item
:label=
"$t('装货地址')"
<el-form-item
:label=
"$t('装货地址')"
:prop=
"'externalWarehouseDtoList.' + index + '.loadingAddress'"
:prop=
"'externalWarehouseDtoList.' + index + '.loadingAddress'"
:rules=
"{
:rules=
"{
...
...
src/views/ecw/order/warehousing/index.vue
View file @
83ab1a52
...
@@ -194,6 +194,7 @@
...
@@ -194,6 +194,7 @@
<
script
>
<
script
>
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
import
{
getLabelByOrder
,
getLabelWaitInByOrder
,
getOrder
,
getOrder
,
getOrderWarehouseIn
,
getOrderWarehouseIn
,
getSpecialListByOrderId
,
listByOrderId
,
getSpecialListByOrderId
,
listByOrderId
,
...
@@ -303,6 +304,23 @@ export default {
...
@@ -303,6 +304,23 @@ export default {
}
}
})
})
},
},
// 箱号标签回显
getLabelByOrder
(){
getLabelByOrder
(
this
.
orderId
).
then
(
r
=>
{
if
(
r
.
code
===
0
&&
!!
r
.
data
&&
r
.
data
.
length
>
0
)
{
this
.
label
.
orderLabelDtoList
=
r
.
data
}
else
{
// 没有历史数据,查默认值
getLabelWaitInByOrder
(
this
.
orderId
).
then
(
r
=>
{
console
.
log
(
r
)
if
(
r
.
code
===
0
&&
!!
r
.
data
)
{
this
.
label
.
orderLabelDtoList
=
[
r
.
data
]
}
})
}
})
},
handleLabelAdd
(
index
){
handleLabelAdd
(
index
){
this
.
label
.
orderLabelDtoList
.
splice
(
index
+
1
,
0
,
{
this
.
label
.
orderLabelDtoList
.
splice
(
index
+
1
,
0
,
{
"
end
"
:
''
,
"
end
"
:
''
,
...
@@ -323,6 +341,8 @@ export default {
...
@@ -323,6 +341,8 @@ export default {
return
getOrder
(
this
.
orderId
).
then
(
r
=>
{
return
getOrder
(
this
.
orderId
).
then
(
r
=>
{
this
.
order
=
r
.
data
this
.
order
=
r
.
data
this
.
getTowSum
()
this
.
getTowSum
()
}).
then
(()
=>
{
this
.
getLabelByOrder
()
})
})
},
},
specialHas0
(){
specialHas0
(){
...
@@ -353,6 +373,12 @@ export default {
...
@@ -353,6 +373,12 @@ export default {
sumVolume
:
this
.
form
.
sumVolume
,
sumVolume
:
this
.
form
.
sumVolume
,
sumWeight
:
this
.
form
.
sumWeight
sumWeight
:
this
.
form
.
sumWeight
}
}
// 标签箱号
if
(
this
.
order
.
parentOrderId
)
{
form
.
labelList
=
this
.
label
.
orderLabelDtoList
||
[]
}
if
(
this
.
escapeBol
)
{
if
(
this
.
escapeBol
)
{
form
.
exceptionUrls
=
this
.
form
.
exceptionUrls
.
split
(
'
,
'
);
form
.
exceptionUrls
=
this
.
form
.
exceptionUrls
.
split
(
'
,
'
);
form
.
descZh
=
this
.
form
.
descZh
;
form
.
descZh
=
this
.
form
.
descZh
;
...
...
src/views/ecw/productPrice/edit.vue
View file @
83ab1a52
This diff is collapsed.
Click to expand it.
src/views/ecw/warehouse/index.vue
View file @
83ab1a52
...
@@ -367,7 +367,7 @@
...
@@ -367,7 +367,7 @@
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"showFlag"
>
<el-form-item
v-if=
"showFlag"
>
<routers-selector
v-model=
"ladingform.lineIds"
/>
<routers-selector
-without-channel
v-model=
"ladingform.lineIds"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -389,7 +389,7 @@ import { uploadFile } from "@/api/infra/file";
...
@@ -389,7 +389,7 @@ import { uploadFile } from "@/api/infra/file";
import
{
listDept
}
from
"
@/api/system/dept
"
;
import
{
listDept
}
from
"
@/api/system/dept
"
;
import
Ueditor
from
'
@/components/Ueditor
'
import
Ueditor
from
'
@/components/Ueditor
'
import
{
getDictData
}
from
'
@/utils/dict
'
import
{
getDictData
}
from
'
@/utils/dict
'
import
RoutersSelector
from
'
@/components/RoutersSelector
'
;
import
RoutersSelector
WithoutChannel
from
'
@/components/RoutersSelectorWithoutChannel
'
;
import
{
has
}
from
'
min-dash
'
;
import
{
has
}
from
'
min-dash
'
;
import
Template
from
"
../../cms/template/index
"
;
import
Template
from
"
../../cms/template/index
"
;
...
@@ -398,7 +398,7 @@ export default {
...
@@ -398,7 +398,7 @@ export default {
components
:
{
components
:
{
Template
,
Template
,
Ueditor
,
Ueditor
,
RoutersSelector
RoutersSelectorWithoutChannel
},
},
data
()
{
data
()
{
...
@@ -446,6 +446,7 @@ export default {
...
@@ -446,6 +446,7 @@ export default {
serviceGroup
:
[
serviceGroup
:
[
{
id
:
'
1
'
,
text
:
this
.
$t
(
'
集运服务
'
)},
{
id
:
'
1
'
,
text
:
this
.
$t
(
'
集运服务
'
)},
{
id
:
'
6
'
,
text
:
this
.
$t
(
'
数量(个)是否必填
'
)},
],
],
endServiceGroup
:
[
endServiceGroup
:
[
...
@@ -1071,6 +1072,7 @@ export default {
...
@@ -1071,6 +1072,7 @@ export default {
});
});
this
.
ladingform
.
lineId
=
lineId
.
substr
(
0
,
lineId
.
length
-
1
);
this
.
ladingform
.
lineId
=
lineId
.
substr
(
0
,
lineId
.
length
-
1
);
}
}
console
.
log
(
this
.
ladingform
.
lineId
);
this
.
ladingform
.
account
=
JSON
.
stringify
(
this
.
arr
);
this
.
ladingform
.
account
=
JSON
.
stringify
(
this
.
arr
);
createTemplate
(
this
.
ladingform
).
then
(
response
=>
{
createTemplate
(
this
.
ladingform
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
设置路线提单模板成功
"
));
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
设置路线提单模板成功
"
));
...
...
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