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
f2389b65
Commit
f2389b65
authored
Oct 16, 2022
by
chenjiuping
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
bb6776ef
48d8c13f
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
43 additions
and
39 deletions
+43
-39
dict.js
src/utils/dict.js
+1
-0
indexSea.vue
src/views/ecw/box/indexSea.vue
+4
-4
index.vue
src/views/ecw/box/ladingBill/index.vue
+3
-2
splitOrder.vue
...views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
+21
-22
utils.js
src/views/ecw/box/shippingSea/utils.js
+10
-3
edit.vue
src/views/ecw/customer/edit.vue
+2
-6
underReview.vue
src/views/member/user/underReview.vue
+2
-2
No files found.
src/utils/dict.js
View file @
f2389b65
...
...
@@ -198,6 +198,7 @@ export const DICT_TYPE = {
BOX_SHIPPING_PROCESS
:
'
shipping_process
'
,
// 海运出货流程
BOX_SHIPPING_BRAND_TYPE
:
'
shipping_brand_type
'
,
// 出货品牌类型
BOX_SHIPPING_NOTICE_TYPE
:
'
shipping_notice_type
'
,
// 出货通知类型
BOX_ORDER_SHIPMENT_STATE
:
'
order_shipment_state
'
}
/**
...
...
src/views/ecw/box/indexSea.vue
View file @
f2389b65
...
...
@@ -17,7 +17,7 @@
</el-form-item>
<el-form-item
:label=
"$t('柜型')"
prop=
"cabinetId"
>
<el-select
v-model=
"queryParams.cabinetId"
:placeholder=
"$t('请选择柜型')"
>
<el-option
v-for=
"item in cabinetList"
:label=
"$l(item, 'name')"
:value=
"item.
name
"
: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-form-item>
...
...
@@ -43,9 +43,9 @@
<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-form-item>
<el-form-item
:label=
"$t('状态')"
prop=
"boxStatus"
>
<el-form-item
:label=
"$t('状态')"
>
<el-select
v-model=
"queryParams.boxStatus"
:placeholder=
"$t('请选择状态')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.BOX_
SHIPMENT_STATUS
)"
:key=
"dict.value"
:label=
"$l(dict, 'label')"
:value=
"dict.value"
/>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.BOX_
ORDER_SHIPMENT_STATE
)"
:key=
"dict.value"
:label=
"$l(dict, 'label')"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
...
...
@@ -432,7 +432,7 @@ export default {
case
"
editLadingBill
"
:
const
cabinetLabel
=
this
.
getCabinetName
(
row
.
cabinetId
);
const
title
=
this
.
$t
(
'
查看提单 {selfNo
}
柜号:{cubNo
}
柜型:{cabinetLabel
}
`
'
,
{
const
title
=
this
.
$t
(
'
查看提单 {selfNo
}
柜号:{cubNo
}
柜型:{cabinetLabel
}
'
,
{
selfNo
:
row
.
selfNo
,
cubNo
:
row
.
cubNo
,
cabinetLabel
:
cabinetLabel
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
f2389b65
...
...
@@ -145,9 +145,10 @@ export default {
/* const title = `查看提单 ${this.shipmentObj.selfNo ?? ""} 柜号:${
this.shipmentObj.cubNo ?? ""
} 柜型:${cabinetLabel}`; */
const
title
=
this
.
$t
(
'
查看提单 {selfNo} 柜号:{cubNo}
'
,
{
const
title
=
this
.
$t
(
'
查看提单 {selfNo} 柜号:{cubNo}
柜型:{cabinetLabel}
'
,
{
selfNo
:
this
.
shipmentObj
.
selfNo
,
cubNo
:
this
.
shipmentObj
.
cubNo
cubNo
:
this
.
shipmentObj
.
cubNo
,
cabinetLabel
})
this
.
$set
(
this
.
dialogCfg
,
"
title
"
,
title
);
},
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
View file @
f2389b65
...
...
@@ -154,7 +154,7 @@
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('计划装柜')"
align=
"center"
>
{{
$t('无')
}}
{{
planCabinet
}}
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -196,7 +196,7 @@
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"剩余箱数:"
>
{{shopForm.
s
um||0}}
{{shopForm.
n
um||0}}
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -205,8 +205,8 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item
label=
"放入箱数:"
prop=
"num"
>
<el-input-number
v-model=
"shopForm.num"
controls-position=
"right"
:min=
"0"
:max=
"shopForm.sum"
></el-input-number>
<el-form-item
label=
"放入箱数:"
>
{{shopForm.num||0}}
</el-form-item>
<el-form-item
label=
"放入数量(个):"
prop=
"putQuantity"
>
<el-input-number
v-model=
"shopForm.putQuantity"
controls-position=
"right"
:min=
"0"
></el-input-number>
...
...
@@ -255,6 +255,7 @@ export default {
loading
:
false
,
selectedUsers
:
[],
tradeCityList
:
[],
planCabinet
:
""
,
shopOpen
:
false
,
orderItems
:
[],
...
...
@@ -275,9 +276,6 @@ export default {
trigger
:
"
change
"
,
},
],
num
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
请输入箱数
"
),
trigger
:
"
change
"
},
],
},
queryParams
:
{
orderId
:
0
,
...
...
@@ -286,6 +284,8 @@ export default {
};
},
created
()
{
const
{
shipmentObj
}
=
this
.
$attrs
;
this
.
planCabinet
=
`
${
shipmentObj
.
selfNo
}
-
${
this
.
currRow
.
sectionName
}
`
getTradeCityList
().
then
((
res
)
=>
(
this
.
tradeCityList
=
res
.
data
));
this
.
queryParams
.
orderId
=
this
.
currRow
.
orderId
;
this
.
getOrderDetail
();
...
...
@@ -341,16 +341,14 @@ export default {
/* 打开拆单 */
getSplit
()
{
this
.
orderItems
=
this
.
currRow
.
goodsList
??
[];
console
.
log
(
this
.
orderItems
);
const
{
shipmentObj
}
=
this
.
$attrs
;
splitList
({
orderId
:
this
.
currRow
.
orderId
,
shipmentId
:
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
const
orderSplitBackVOList
=
res
.
data
;
const
data
=
res
.
data
;
// 取拆单项
this
.
splitData
=
orderSplitBackVOList
.
filter
((
item
)
=>
!
item
.
isMaster
)?.[
0
]
??
{};
this
.
splitData
=
data
.
filter
((
item
)
=>
!
item
.
isMaster
)?.[
0
]
??
{};
});
},
/* 查询拆单项 */
...
...
@@ -448,33 +446,34 @@ export default {
this
.
shopForm
=
{};
this
.
shopOpen
=
true
;
},
changeProdTitleZh
()
{
const
data
=
this
.
getSelectData
(
"
zhId
"
);
this
.
shopForm
.
prodTitleEn
=
data
.
prodTitleEn
;
async
changeProdTitleZh
()
{
const
data
=
await
this
.
getSelectData
(
"
zhId
"
);
this
.
shopForm
.
enId
=
data
.
id
;
this
.
shopForm
=
{
...
this
.
shopForm
};
},
changeProdTitleEn
()
{
const
data
=
this
.
getSelectData
(
"
enId
"
);
this
.
shopForm
.
prodTitleZh
=
data
.
prodTitleZh
;
async
changeProdTitleEn
()
{
const
data
=
await
this
.
getSelectData
(
"
enId
"
);
this
.
shopForm
.
zhId
=
data
.
id
;
this
.
shopForm
=
{
...
this
.
shopForm
};
},
async
getSelectData
(
key
)
{
let
list
=
[];
list
=
this
.
orderItems
.
filter
((
item
)
=>
item
.
id
==
this
.
shopForm
[
key
]);
this
.
shopForm
.
sum
=
this
.
currRow
.
num
-
this
.
currRow
.
installNum
-
this
.
totalSplitNum
();
this
.
shopForm
.
num
=
this
.
currRow
.
num
-
this
.
currRow
.
installNum
;
const
data
=
list
[
0
];
this
.
shopForm
.
orderItemId
=
data
.
orderItemId
;
this
.
shopForm
.
quantity
=
data
.
quantity
;
this
.
shopForm
.
putQuantity
=
Decimal
.
div
(
data
.
quantity
,
this
.
shopForm
.
s
um
this
.
shopForm
.
n
um
).
toFixed
(
0
);
await
quantitycheck
({
seaFreightVolume
:
data
.
seaFreightVolume
,
clearanceFreightVolume
:
data
.
clearanceFreightVolume
,
}).
then
((
res
)
=>
{
const
{
data
}
=
res
;
if
(
data
)
{
if
(
res
.
data
)
{
this
.
shopRules
.
putQuantity
=
[
{
required
:
true
,
...
...
src/views/ecw/box/shippingSea/utils.js
View file @
f2389b65
...
...
@@ -2,7 +2,7 @@ import dayjs from "dayjs";
import
*
as
_BOX
from
"
@/api/ecw/box
"
;
import
FileSaver
from
"
file-saver
"
;
import
Decimal
from
"
decimal.js
"
;
import
i18n
from
'
@/i18n
'
import
i18n
from
"
@/i18n
"
;
/**
* 节点状态值
*
...
...
@@ -1510,8 +1510,15 @@ function toReviewDetail(bpmProcessId) {
function downloadFile(funName, params, fileName, fileFormat) {
_BOX[funName](params).then((res) => {
let blob = new Blob([res], { type: `
application
/
$
{
fileFormat
}
` });
FileSaver.saveAs(blob, fileName);
try {
let jsonData = JSON.parse(res);
if (jsonData.code === 0) {
window.ElementUI.$message.success("操作成功");
}
} catch (error) {
let blob = new Blob([res], { type: `
application
/
$
{
fileFormat
}
` });
FileSaver.saveAs(blob, fileName);
}
});
}
...
...
src/views/ecw/customer/edit.vue
View file @
f2389b65
...
...
@@ -638,9 +638,7 @@ export default {
// this.getList();
const
obj
=
{
path
:
"
/customer/customer
"
};
this
.
$tab
.
closeOpenPage
(
obj
);
}).
catch
(
e
=>
{
this
.
$modal
.
msgError
(
e
.
msg
||
this
.
$t
(
'
添加客户失败,请联系管理员
'
))
});
})
return
;
}
// 添加的提交
...
...
@@ -650,9 +648,7 @@ export default {
// this.getList();
const
obj
=
{
path
:
"
/customer/customer
"
};
this
.
$tab
.
closeOpenPage
(
obj
);
}).
catch
(
e
=>
{
this
.
$modal
.
msgError
(
e
.
msg
||
this
.
$t
(
'
添加客户失败,请联系管理员
'
))
});
})
});
})
},
...
...
src/views/member/user/underReview.vue
View file @
f2389b65
...
...
@@ -70,9 +70,9 @@
<
/el-tooltip
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('
创建
时间')
"
align
=
"
center
"
prop
=
"
createTime
"
width
=
"
180
"
>
<
el
-
table
-
column
:
label
=
"
$t('
提交审核
时间')
"
align
=
"
center
"
prop
=
"
createTime
"
width
=
"
180
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
parseTime
(
scope
.
row
.
c
reateTime
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
identityAuditC
reateTime
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
class
-
name
=
"
small-padding fixed-width
"
width
=
"
200px
"
>
...
...
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