Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
a4d7ad37
Commit
a4d7ad37
authored
Dec 05, 2025
by
linjinhong
Committed by
qinjianhui
Dec 05, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改问题
parent
609cfc9a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
11 deletions
+39
-11
src/api/podCnOrder.ts
+6
-0
src/views/order/podCN/PodDistributionOrder.vue
+5
-0
src/views/order/podCN/components/WeightDialog.vue
+21
-8
src/views/order/podCN/index.vue
+3
-2
src/views/order/podUs/index.vue
+4
-1
No files found.
src/api/podCnOrder.ts
View file @
a4d7ad37
...
...
@@ -743,3 +743,9 @@ export function orderWeighingApi(params: {
params
,
)
}
//获取物流公司
export
function
allErpCodeListApi
()
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'/logisticsCompany/allErpCodeList'
,
)
}
src/views/order/podCN/PodDistributionOrder.vue
View file @
a4d7ad37
...
...
@@ -399,6 +399,11 @@ watch(visible, async (value: boolean) => {
_warehouseId
.
value
=
hit
?
localId
:
props
.
warehouseList
[
0
].
id
initPrintDevice
()
inputActive
()
const
locaclPrinter
=
localStorage
.
getItem
(
'sheetPrinter'
)
const
locaclWarehouseId
=
localStorage
.
getItem
(
'locaclWarehouseId'
)
if
(
locaclPrinter
)
sheetPrinter
.
value
=
JSON
.
parse
(
locaclPrinter
)
if
(
locaclWarehouseId
)
warehouseId
.
value
=
JSON
.
parse
(
locaclWarehouseId
)
emit
(
'set-printer'
,
sheetPrinter
.
value
)
}
})
watch
(
...
...
src/views/order/podCN/components/WeightDialog.vue
View file @
a4d7ad37
...
...
@@ -59,7 +59,6 @@
<div>
<CustomizeTable
ref=
"tableRef"
v-loading=
"tableLoading"
border
:isShowCheckBox=
"false"
v-model=
"tableData"
...
...
@@ -110,8 +109,12 @@ interface ILogisticsList {
}
import
BigNumber
from
'bignumber.js'
import
weight
from
'../components/weigh.js'
import
{
listByNoApi
,
orderWeighingApi
}
from
'@/api/podCnOrder'
import
{
logisticsCompanyAllCodelist
}
from
'@/api/logistics.ts'
import
{
listByNoApi
,
orderWeighingApi
,
allErpCodeListApi
,
}
from
'@/api/podCnOrder'
// import { logisticsCompanyAllCodelist } from '@/api/logistics.ts'
import
CustomizeTable
from
'@/components/VxeTable.tsx'
import
{
TableColumn
}
from
'@/components/VxeTable'
const
tableData
=
ref
<
IpodCnWeighingParams
[]
>
([])
...
...
@@ -121,7 +124,7 @@ const logisticsCompanyCode = ref('')
const
weighInput
=
ref
()
const
weightText
=
ref
(
''
)
const
allCodelist
=
ref
<
ILogisticsList
[]
>
([])
const
tableLoading
=
ref
(
false
)
const
tableRef
=
ref
()
const
tableConfig
=
ref
<
TableColumn
[]
>
([
{
...
...
@@ -198,7 +201,7 @@ const emits = defineEmits<{
}
>
()
const
getlogisticsCompanyAllCodelist
=
async
()
=>
{
try
{
const
res
=
await
logisticsCompanyAllCodelist
()
const
res
=
await
allErpCodeListApi
()
if
(
res
.
code
!==
200
)
return
allCodelist
.
value
=
res
.
data
}
catch
(
e
)
{
...
...
@@ -238,8 +241,11 @@ const weightChange = async () => {
weightText
.
value
=
''
console
.
log
(
343
,
weight
.
weightInput
)
tableLoading
.
value
=
true
const
loading
=
ElLoading
.
service
({
fullscreen
:
true
,
text
:
'操作中...'
,
background
:
'rgba(0, 0, 0, 0.3)'
,
})
try
{
const
params
:
{
type
:
string
...
...
@@ -274,7 +280,7 @@ const weightChange = async () => {
}
catch
(
error
)
{
console
.
log
(
error
)
}
finally
{
tableLoading
.
value
=
false
loading
.
close
()
}
console
.
log
(
'weightChange'
)
}
...
...
@@ -290,6 +296,11 @@ const weightGet = async () => {
return
}
}
const
loading
=
ElLoading
.
service
({
fullscreen
:
true
,
text
:
'操作中...'
,
background
:
'rgba(0, 0, 0, 0.3)'
,
})
try
{
await
orderWeighingApi
({
podCnWeighingParams
:
tableData
.
value
})
ElMessage
.
success
(
'保存称重分拣成功'
)
...
...
@@ -297,6 +308,8 @@ const weightGet = async () => {
emits
(
'updateList'
)
}
catch
(
error
)
{
console
.
log
(
error
)
}
finally
{
loading
.
close
()
}
}
...
...
src/views/order/podCN/index.vue
View file @
a4d7ad37
...
...
@@ -2802,9 +2802,10 @@ import {
printNormalPdf
,
changeLogisticsApi
,
getEmployeeListApi
,
allErpCodeListApi
,
}
from
'@/api/podCnOrder'
import
{
logisticsCompanyAllCodelist
}
from
'@/api/logistics.ts'
//
import
{
logisticsCompanyAllCodelist
}
from
'@/api/logistics.ts'
import
{
BaseRespData
}
from
'@/types/api'
import
ChangeWayDialog
from
'./components/ChangeWayDialog.vue'
import
UpdateAddress
from
'./components/updateAddress.vue'
...
...
@@ -5392,7 +5393,7 @@ interface ILogisticsList {
const
allCodelist
=
ref
<
ILogisticsList
[]
>
([])
const
getlogisticsCompanyAllCodelist
=
async
()
=>
{
try
{
const
res
=
await
logisticsCompanyAllCodelist
()
const
res
=
await
allErpCodeListApi
()
if
(
res
.
code
!==
200
)
return
allCodelist
.
value
=
res
.
data
}
catch
(
e
)
{
...
...
src/views/order/podUs/index.vue
View file @
a4d7ad37
...
...
@@ -496,7 +496,10 @@
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem
label=
"拦截订单"
>
<ElFormItem
label=
"拦截订单"
v-if=
"status !== 'CANCEL' && status !== 'INTERCEPTED'"
>
<ElSelect
v-model=
"searchForm.blocking"
placeholder=
"请选择"
...
...
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