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
f24d1446
Commit
f24d1446
authored
Aug 23, 2023
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
d83f5833
1f796607
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
3 deletions
+53
-3
order.js
src/api/ecw/order.js
+10
-0
index.vue
src/views/ecw/order/index.vue
+1
-1
penddingList.vue
src/views/ecw/order/penddingList.vue
+42
-2
No files found.
src/api/ecw/order.js
View file @
f24d1446
...
...
@@ -884,6 +884,16 @@ export function exportCanShipment(params){
})
}
// 导出待出订单
export
function
exportWaitingShipment
(
params
){
return
request
({
url
:
'
/ecw/order/export/waiting-shipment/search
'
,
method
:
'
get
'
,
params
,
responseType
:
'
blob
'
})
}
// 无需打包
export
function
noNeedPack
(
orderItemId
){
return
request
({
...
...
src/views/ecw/order/index.vue
View file @
f24d1446
...
...
@@ -472,7 +472,7 @@
<
template
v-if=
"
exclude(scope.row.status, [0, 2]) &&
exclude(scope.row.shipmentState, [320,322,323]) &&
exclude(scope.row.abnormalState, [
1,
5,6,7,8])
exclude(scope.row.abnormalState, [5,6,7,8])
"
>
<el-dropdown-item
@
click.native=
"printWarehouseReceiptOrderId=scope.row.orderId"
v-hasPermi=
"['ecw:order:warehouse_receipt']"
>
{{
$t
(
'
打印入仓单
'
)
}}
</el-dropdown-item>
</
template
>
...
...
src/views/ecw/order/penddingList.vue
View file @
f24d1446
...
...
@@ -106,6 +106,8 @@
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"!multipleSelection.length"
type=
"primary"
plain
size=
"mini"
@
click=
"batchCanShipment"
v-hasPermi=
"['ecw:order:peddingList:batch_can_shipment']"
>
{{
$t
(
'
批量可出
'
)
}}
</el-button>
<el-button
:disabled=
"!multipleSelection.length"
type=
"primary"
plain
size=
"mini"
@
click=
"batchException"
v-hasPermi=
"['ecw:order:peddingList:batch_exception']"
>
{{
$t
(
'
批量转异
'
)
}}
</el-button>
<el-button
:disabled=
"!multipleSelection.length"
type=
"primary"
:loading=
"exporting"
plain
size=
"mini"
@
click=
"exportXls(ids)"
v-hasPermi=
"['ecw:order:peddingList:export_selected']"
>
{{
$t
(
'
导出所选
'
)
}}
</el-button>
<el-button
type=
"primary"
:loading=
"exporting"
plain
size=
"mini"
@
click=
"exportXls(queryParams)"
v-hasPermi=
"['ecw:order:peddingList:export_search']"
>
{{
$t
(
'
导出搜索
'
)
}}
</el-button>
</el-col>
</el-row>
...
...
@@ -212,7 +214,14 @@ import ProductSelector from '@/components/ProductSelector'
import
{
getProductAttrList
}
from
'
@/api/ecw/productAttr
'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
specialNeeds
from
'
@/views/ecw/order/components/specialNeeds
'
;
import
{
setCanShipment
,
canShipmentPage
,
batchCanShipment
,
batchException
,
waitingShipmentPage
}
from
"
@/api/ecw/order
"
;
import
{
setCanShipment
,
canShipmentPage
,
batchCanShipment
,
batchException
,
waitingShipmentPage
,
orderSpecialNeed
,
exportCanShipment
,
exportWaitingShipment
}
from
"
@/api/ecw/order
"
;
import
PrintTag
from
'
./components/PrintTag
'
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
...
...
@@ -242,6 +251,8 @@ export default {
},
data
()
{
return
{
// 导出中
exporting
:
false
,
// 选中数组
ids
:
[],
// 非单个禁用
...
...
@@ -416,6 +427,35 @@ export default {
})
}
})
},
specialRendering
(
val
){
console
.
log
(
'
val
'
,
val
)
if
(
val
!==
undefined
){
let
i
=
val
.
split
(
'
,
'
)
return
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ORDER_SPECIAL_NEEDS
).
filter
(
e
=>
{
return
i
.
indexOf
(
e
.
value
)
>
-
1
}).
map
(
item
=>
{
// 打字开头的用最后一个字,否则取第一个字
item
.
symbol
=
item
.
label
[
0
]
==
'
打
'
?
item
.
label
[
item
.
label
.
length
-
1
]:
item
.
label
[
0
]
return
item
})
}
},
deleteSpecial
(
id
,
orderId
){
this
.
$confirm
(
this
.
$t
(
'
确定删除此特需么?
'
)).
then
(()
=>
{
return
orderSpecialNeed
({
orderId
:
orderId
,
advanceType
:
id
})
}).
then
(()
=>
{
this
.
getList
()
})
},
exportXls
(
params
){
this
.
exporting
=
true
const
exportParams
=
Array
.
isArray
(
params
)
?
{
orderIdList
:
params
}
:
{...
params
}
exportWaitingShipment
(
exportParams
).
then
(
res
=>
{
this
.
$download
.
excel
(
res
,
this
.
$t
(
'
待出订单
'
)
+
'
.xls
'
);
}).
finally
(()
=>
{
this
.
exporting
=
false
})
}
}
};
...
...
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