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
04d6c58a
Commit
04d6c58a
authored
Mar 23, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
276a85e4
fe0146ce
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
7 deletions
+23
-7
futureBox.js
src/api/ecw/futureBox.js
+11
-0
indexFutureBox.vue
src/views/ecw/box/indexFutureBox.vue
+10
-5
index.vue
src/views/ecw/order/index.vue
+1
-1
index.vue
src/views/infra/file/index.vue
+1
-1
No files found.
src/api/ecw/futureBox.js
View file @
04d6c58a
...
...
@@ -93,3 +93,14 @@ export function getOrderReportVolume(params){
params
})
}
// 根据运输方式ID获取待排单订单方数
export
function
getWarehousingVolume
(
params
){
return
request
({
url
:
'
/ecw/future-box/getWarehousingVolume
'
,
method
:
'
get
'
,
params
})
}
src/views/ecw/box/indexFutureBox.vue
View file @
04d6c58a
...
...
@@ -85,7 +85,7 @@
</el-table-column>
<el-table-column
:label=
"$t('自单代报订单方数')"
align=
"center"
prop=
"orderReportNumber"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehousing
Number
||
0
}}
{{
row
.
orderReport
Number
||
0
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('已装柜方数')"
align=
"center"
prop=
"loadingNumber"
>
...
...
@@ -190,7 +190,7 @@
</template>
<
script
>
import
{
createFutureBox
,
updateFutureBox
,
deleteFutureBox
,
getFutureBox
,
getFutureBoxPage
,
exportFutureBoxExcel
,
getBoxedVolume
,
getToBeWareHousedVolume
,
getWareHousedVolume
,
getExceptionVolume
,
getOrderReportVolume
}
from
"
@/api/ecw/futureBox
"
;
import
{
createFutureBox
,
updateFutureBox
,
deleteFutureBox
,
getFutureBox
,
getFutureBoxPage
,
exportFutureBoxExcel
,
getBoxedVolume
,
getToBeWareHousedVolume
,
getWareHousedVolume
,
getExceptionVolume
,
getOrderReportVolume
,
getWarehousingVolume
}
from
"
@/api/ecw/futureBox
"
;
import
{
getCabinetPage
}
from
"
@/api/ecw/cabinet
"
;
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
...
...
@@ -334,10 +334,10 @@ export default {
'
form.shippingChannelId
'
(){
this
.
getVolume
()
},
'
form.warehousedNumber
'
(){
//
'form.warehousedNumber'(){
//在仓 = 已入仓-已封柜
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
Decimal
(
this
.
form
.
warehousedNumber
).
minus
(
this
.
form
.
loadingNumber
))
},
//
this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
//
},
'
form.loadingNumber
'
(){
//在仓 = 已入仓-已封柜
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
Decimal
(
this
.
form
.
warehousedNumber
).
minus
(
this
.
form
.
loadingNumber
))
...
...
@@ -378,6 +378,11 @@ export default {
getOrderReportVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
orderReportNumber
'
,
res
.
data
||
0
)
})
// 获得待排单订单方数
getWarehousingVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
warehousingNumber
'
,
res
.
data
||
0
)
})
},
setDefaultVolume
(){
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
0
)
...
...
src/views/ecw/order/index.vue
View file @
04d6c58a
...
...
@@ -17,7 +17,7 @@
<el-input
v-model=
"queryParams.consigneeKey"
:placeholder=
"$t('收货人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
""
>
<dict-selector
:type=
"DICT_TYPE.ECW_BEGINTIME_TYPE_ENDTIME"
v-model=
"dateFilterType"
defaultable
style=
"width: 150px; margin-right: 5px"
/>
<dict-selector
:type=
"DICT_TYPE.ECW_BEGINTIME_TYPE_ENDTIME"
:filter=
"(item) => item.value != 'PickTime'"
v-model=
"dateFilterType"
defaultable
style=
"width: 150px; margin-right: 5px"
/>
<el-date-picker
v-model=
"dateFilter"
type=
"datetimerange"
range-separator=
"-"
:start-placeholder=
"$t('开始日期')"
:end-placeholder=
"$t('结束日期')"
...
...
src/views/infra/file/index.vue
View file @
04d6c58a
...
...
@@ -55,7 +55,7 @@
<!-- 对话框(添加 / 修改) -->
<el-dialog
:title=
"upload.title"
:visible.sync=
"upload.open"
width=
"400px"
append-to-body
>
<el-upload
ref=
"upload"
:limit=
"1"
accept=
".jpg, .png, .gif"
:auto-upload=
"false"
drag
<el-upload
ref=
"upload"
:limit=
"1"
accept=
".jpg, .png, .gif
,.apk
"
:auto-upload=
"false"
drag
:headers=
"upload.headers"
:action=
"upload.url"
:data=
"upload.data"
:disabled=
"upload.isUploading"
:on-change=
"handleFileChange"
:on-progress=
"handleFileUploadProgress"
...
...
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