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
648dee64
Commit
648dee64
authored
Jun 17, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/linjinhong' into dev
parents
0831072d
b3d0599d
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
34 additions
and
20 deletions
+34
-20
components.d.ts
+8
-5
src/components/CustomizeForm.tsx
+6
-6
src/components/Form/AmountInput.vue
+0
-0
src/components/Form/DatePicker.vue
+0
-0
src/components/Form/DateRangePicker.vue
+0
-0
src/components/Form/Select.vue
+0
-0
src/components/Form/Switch .vue
+0
-0
src/components/Form/form.scss
+0
-0
src/components/SearchForm.tsx
+4
-4
src/views/logistics/declarationRule.vue
+2
-1
src/views/logistics/logisticsQuotation.vue
+8
-2
src/views/order/podUs/components/ResultInfo.vue
+1
-1
src/views/order/podUs/index.vue
+5
-1
No files found.
components.d.ts
View file @
648dee64
...
@@ -7,10 +7,10 @@ export {}
...
@@ -7,10 +7,10 @@ export {}
declare
module
'vue'
{
declare
module
'vue'
{
export
interface
GlobalComponents
{
export
interface
GlobalComponents
{
AmountInput
:
typeof
import
(
'./src/components/Form
.vue
/AmountInput.vue'
)[
'default'
]
AmountInput
:
typeof
import
(
'./src/components/Form/AmountInput.vue'
)[
'default'
]
CommonCard
:
typeof
import
(
'./src/components/CommonCard.vue'
)[
'default'
]
CommonCard
:
typeof
import
(
'./src/components/CommonCard.vue'
)[
'default'
]
DatePicker
:
typeof
import
(
'./src/components/Form
.vue
/DatePicker.vue'
)[
'default'
]
DatePicker
:
typeof
import
(
'./src/components/Form/DatePicker.vue'
)[
'default'
]
DateRangePicker
:
typeof
import
(
'./src/components/Form
.vue
/DateRangePicker.vue'
)[
'default'
]
DateRangePicker
:
typeof
import
(
'./src/components/Form/DateRangePicker.vue'
)[
'default'
]
ElButton
:
typeof
import
(
'element-plus/es'
)[
'ElButton'
]
ElButton
:
typeof
import
(
'element-plus/es'
)[
'ElButton'
]
ElCard
:
typeof
import
(
'element-plus/es'
)[
'ElCard'
]
ElCard
:
typeof
import
(
'element-plus/es'
)[
'ElCard'
]
ElCarousel
:
typeof
import
(
'element-plus/es'
)[
'ElCarousel'
]
ElCarousel
:
typeof
import
(
'element-plus/es'
)[
'ElCarousel'
]
...
@@ -32,6 +32,7 @@ declare module 'vue' {
...
@@ -32,6 +32,7 @@ declare module 'vue' {
ElImage
:
typeof
import
(
'element-plus/es'
)[
'ElImage'
]
ElImage
:
typeof
import
(
'element-plus/es'
)[
'ElImage'
]
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElInputNumber
:
typeof
import
(
'element-plus/es'
)[
'ElInputNumber'
]
ElInputNumber
:
typeof
import
(
'element-plus/es'
)[
'ElInputNumber'
]
ElLink
:
typeof
import
(
'element-plus/es'
)[
'ElLink'
]
ElMenu
:
typeof
import
(
'element-plus/es'
)[
'ElMenu'
]
ElMenu
:
typeof
import
(
'element-plus/es'
)[
'ElMenu'
]
ElMenuItem
:
typeof
import
(
'element-plus/es'
)[
'ElMenuItem'
]
ElMenuItem
:
typeof
import
(
'element-plus/es'
)[
'ElMenuItem'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
...
@@ -52,6 +53,7 @@ declare module 'vue' {
...
@@ -52,6 +53,7 @@ declare module 'vue' {
ElTimelineItem
:
typeof
import
(
'element-plus/es'
)[
'ElTimelineItem'
]
ElTimelineItem
:
typeof
import
(
'element-plus/es'
)[
'ElTimelineItem'
]
ElTooltip
:
typeof
import
(
'element-plus/es'
)[
'ElTooltip'
]
ElTooltip
:
typeof
import
(
'element-plus/es'
)[
'ElTooltip'
]
ElTree
:
typeof
import
(
'element-plus/es'
)[
'ElTree'
]
ElTree
:
typeof
import
(
'element-plus/es'
)[
'ElTree'
]
ElUpload
:
typeof
import
(
'element-plus/es'
)[
'ElUpload'
]
Icon
:
typeof
import
(
'./src/components/Icon.vue'
)[
'default'
]
Icon
:
typeof
import
(
'./src/components/Icon.vue'
)[
'default'
]
ImageView
:
typeof
import
(
'./src/components/ImageView.vue'
)[
'default'
]
ImageView
:
typeof
import
(
'./src/components/ImageView.vue'
)[
'default'
]
LogList
:
typeof
import
(
'./src/components/LogList.vue'
)[
'default'
]
LogList
:
typeof
import
(
'./src/components/LogList.vue'
)[
'default'
]
...
@@ -60,10 +62,11 @@ declare module 'vue' {
...
@@ -60,10 +62,11 @@ declare module 'vue' {
RightClickMenu
:
typeof
import
(
'./src/components/RightClickMenu.vue'
)[
'default'
]
RightClickMenu
:
typeof
import
(
'./src/components/RightClickMenu.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
Select
:
typeof
import
(
'./src/components/Form
.vue
/Select.vue'
)[
'default'
]
Select
:
typeof
import
(
'./src/components/Form/Select.vue'
)[
'default'
]
ShipmentOrderDetail
:
typeof
import
(
'./src/components/ShipmentOrderDetail.vue'
)[
'default'
]
ShipmentOrderDetail
:
typeof
import
(
'./src/components/ShipmentOrderDetail.vue'
)[
'default'
]
SplitDiv
:
typeof
import
(
'./src/components/splitDiv/splitDiv.vue'
)[
'default'
]
SplitDiv
:
typeof
import
(
'./src/components/splitDiv/splitDiv.vue'
)[
'default'
]
'Switch '
:
typeof
import
(
'./src/components/Form.vue/Switch .vue'
)[
'default'
]
'Switch '
:
typeof
import
(
'./src/components/Form/Switch .vue'
)[
'default'
]
TableRightClickMenu
:
typeof
import
(
'./src/components/TableRightClickMenu.vue'
)[
'default'
]
TableView
:
typeof
import
(
'./src/components/TableView.vue'
)[
'default'
]
TableView
:
typeof
import
(
'./src/components/TableView.vue'
)[
'default'
]
UploadExcel
:
typeof
import
(
'./src/components/UploadExcel.vue'
)[
'default'
]
UploadExcel
:
typeof
import
(
'./src/components/UploadExcel.vue'
)[
'default'
]
UploadImage
:
typeof
import
(
'./src/components/UploadImage.vue'
)[
'default'
]
UploadImage
:
typeof
import
(
'./src/components/UploadImage.vue'
)[
'default'
]
...
...
src/components/CustomizeForm.tsx
View file @
648dee64
...
@@ -2,12 +2,12 @@ import { defineComponent, PropType, ref, computed, h } from 'vue'
...
@@ -2,12 +2,12 @@ import { defineComponent, PropType, ref, computed, h } from 'vue'
import
type
{
Component
}
from
'vue'
import
type
{
Component
}
from
'vue'
import
{
ElInput
,
ElForm
,
ElFormItem
}
from
'element-plus'
import
{
ElInput
,
ElForm
,
ElFormItem
}
from
'element-plus'
import
type
{
FormInstance
}
from
'element-plus'
import
type
{
FormInstance
}
from
'element-plus'
import
AmountInput
from
'./Form
.vue
/AmountInput.vue'
// 金额输入框
import
AmountInput
from
'./Form/AmountInput.vue'
// 金额输入框
import
DateRangePicker
from
'./Form
.vue
/DateRangePicker.vue'
// 时间范围选择器
import
DateRangePicker
from
'./Form/DateRangePicker.vue'
// 时间范围选择器
import
DatePicker
from
'./Form
.vue
/DatePicker.vue'
// 单个日期选择器
import
DatePicker
from
'./Form/DatePicker.vue'
// 单个日期选择器
import
Select
from
'./Form
.vue
/Select.vue'
// 普通下拉选择框
import
Select
from
'./Form/Select.vue'
// 普通下拉选择框
import
Switch
from
'./Form
.vue
/Switch .vue'
import
Switch
from
'./Form/Switch .vue'
import
'./Form
.vue
/form.scss'
import
'./Form/form.scss'
import
type
{
FormItemRule
}
from
'element-plus'
import
type
{
FormItemRule
}
from
'element-plus'
...
...
src/components/Form
.vue
/AmountInput.vue
→
src/components/Form/AmountInput.vue
View file @
648dee64
File moved
src/components/Form
.vue
/DatePicker.vue
→
src/components/Form/DatePicker.vue
View file @
648dee64
File moved
src/components/Form
.vue
/DateRangePicker.vue
→
src/components/Form/DateRangePicker.vue
View file @
648dee64
File moved
src/components/Form
.vue
/Select.vue
→
src/components/Form/Select.vue
View file @
648dee64
File moved
src/components/Form
.vue
/Switch .vue
→
src/components/Form/Switch .vue
View file @
648dee64
File moved
src/components/Form
.vue
/form.scss
→
src/components/Form/form.scss
View file @
648dee64
File moved
src/components/SearchForm.tsx
View file @
648dee64
import
{
defineComponent
,
PropType
,
ref
,
computed
,
watch
,
h
}
from
'vue'
import
{
defineComponent
,
PropType
,
ref
,
computed
,
watch
,
h
}
from
'vue'
import
type
{
Component
}
from
'vue'
import
type
{
Component
}
from
'vue'
import
AmountInput
from
'./Form
.vue
/AmountInput.vue'
// 金额输入框
import
AmountInput
from
'./Form/AmountInput.vue'
// 金额输入框
import
DateRangePicker
from
'./Form
.vue
/DateRangePicker.vue'
// 时间范围选择器
import
DateRangePicker
from
'./Form/DateRangePicker.vue'
// 时间范围选择器
import
DatePicker
from
'./Form
.vue
/DatePicker.vue'
// 单个日期选择器
import
DatePicker
from
'./Form/DatePicker.vue'
// 单个日期选择器
import
Select
from
'./Form
.vue
/Select.vue'
// 普通下拉选择框
import
Select
from
'./Form/Select.vue'
// 普通下拉选择框
import
{
ElInput
,
ElForm
,
ElFormItem
,
ElButton
}
from
'element-plus'
import
{
ElInput
,
ElForm
,
ElFormItem
,
ElButton
}
from
'element-plus'
import
{
import
{
ISearchForm
,
ISearchForm
,
...
...
src/views/logistics/declarationRule.vue
View file @
648dee64
...
@@ -101,6 +101,7 @@ const [editForm, resetEditForm] = useValue<AddDeclarationRuleObj>({
...
@@ -101,6 +101,7 @@ const [editForm, resetEditForm] = useValue<AddDeclarationRuleObj>({
currency
:
'USD'
,
currency
:
'USD'
,
})
})
const
{
const
{
loading
,
currentPage
,
currentPage
,
pageSize
,
pageSize
,
total
,
total
,
...
@@ -466,7 +467,7 @@ const tableConfig = ref<TableColumn[]>([
...
@@ -466,7 +467,7 @@ const tableConfig = ref<TableColumn[]>([
},
},
])
])
const
loading
=
ref
(
false
)
//
const loading = ref(false)
/**
/**
* @description: 取消按钮
* @description: 取消按钮
...
...
src/views/logistics/logisticsQuotation.vue
View file @
648dee64
...
@@ -436,7 +436,7 @@ onMounted(() => {
...
@@ -436,7 +436,7 @@ onMounted(() => {
})
})
async
function
search
()
{
async
function
search
()
{
loading
.
value
=
true
//
loading.value = true
const
isEqual
=
const
isEqual
=
JSON
.
stringify
(
searchForm
.
value
)
===
JSON
.
stringify
({
logisticsIdList
:
[]
})
JSON
.
stringify
(
searchForm
.
value
)
===
JSON
.
stringify
({
logisticsIdList
:
[]
})
try
{
try
{
...
@@ -448,7 +448,7 @@ async function search() {
...
@@ -448,7 +448,7 @@ async function search() {
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
}
finally
{
}
finally
{
loading
.
value
=
false
//
loading.value = false
}
}
}
}
...
@@ -729,6 +729,7 @@ function handleSizeChange(val: number) {
...
@@ -729,6 +729,7 @@ function handleSizeChange(val: number) {
}
}
async
function
getList
()
{
async
function
getList
()
{
loading
.
value
=
true
try
{
try
{
const
{
data
}
=
await
getlogisticsQuotationPage
({
const
{
data
}
=
await
getlogisticsQuotationPage
({
...
searchForm
.
value
,
...
searchForm
.
value
,
...
@@ -741,10 +742,13 @@ async function getList() {
...
@@ -741,10 +742,13 @@ async function getList() {
mergeCells
.
value
=
[]
mergeCells
.
value
=
[]
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
)
console
.
log
(
error
)
}
finally
{
loading
.
value
=
false
}
}
}
}
const
templeData
=
ref
<
LogisticsQuotation
[]
>
([])
const
templeData
=
ref
<
LogisticsQuotation
[]
>
([])
async
function
getSearchList
()
{
async
function
getSearchList
()
{
loading
.
value
=
true
try
{
try
{
const
{
data
}
=
await
getlogisticsQuotationList
({
const
{
data
}
=
await
getlogisticsQuotationList
({
...
searchForm
.
value
,
...
searchForm
.
value
,
...
@@ -784,6 +788,8 @@ async function getSearchList() {
...
@@ -784,6 +788,8 @@ async function getSearchList() {
mergeCells
.
value
=
newMergeCells
mergeCells
.
value
=
newMergeCells
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
)
console
.
log
(
error
)
}
finally
{
loading
.
value
=
false
}
}
}
}
...
...
src/views/order/podUs/components/ResultInfo.vue
View file @
648dee64
...
@@ -74,7 +74,7 @@ const checkAll = ref(false)
...
@@ -74,7 +74,7 @@ const checkAll = ref(false)
const
selectedList
=
ref
<
(
string
|
number
)[]
>
([])
const
selectedList
=
ref
<
(
string
|
number
)[]
>
([])
// 显示弹窗
// 显示弹窗
const
showDialog
=
(
type
:
string
)
=>
{
const
showDialog
=
(
type
?
:
string
)
=>
{
console
.
log
(
type
)
console
.
log
(
type
)
resultDialog
.
value
=
true
resultDialog
.
value
=
true
...
...
src/views/order/podUs/index.vue
View file @
648dee64
...
@@ -2189,7 +2189,7 @@ const getOrderByIdApi = async (type: string) => {
...
@@ -2189,7 +2189,7 @@ const getOrderByIdApi = async (type: string) => {
const
res
=
await
operation
.
Fn
(
ids
)
const
res
=
await
operation
.
Fn
(
ids
)
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
if
(
isArray
(
res
.
data
))
{
if
(
isArray
(
res
.
data
))
{
resultInfo
.
value
=
res
.
data
resultInfo
.
value
=
res
.
data
||
[]
resultRefs
.
value
?.
showDialog
(
type
)
resultRefs
.
value
?.
showDialog
(
type
)
}
else
if
(
isString
(
res
.
data
))
{
}
else
if
(
isString
(
res
.
data
))
{
window
.
open
(
filePath
+
res
.
data
)
window
.
open
(
filePath
+
res
.
data
)
...
@@ -2199,6 +2199,7 @@ const getOrderByIdApi = async (type: string) => {
...
@@ -2199,6 +2199,7 @@ const getOrderByIdApi = async (type: string) => {
}
}
loading
.
close
()
loading
.
close
()
}
catch
(
e
)
{
}
catch
(
e
)
{
resultInfo
.
value
=
[]
console
.
error
(
e
)
console
.
error
(
e
)
}
}
}
else
{
}
else
{
...
@@ -2401,10 +2402,13 @@ const logisticsToPicking = async () => {
...
@@ -2401,10 +2402,13 @@ const logisticsToPicking = async () => {
ids
:
selection
.
value
.
map
((
item
)
=>
item
.
id
).
join
(
','
),
ids
:
selection
.
value
.
map
((
item
)
=>
item
.
id
).
join
(
','
),
}
)
}
)
if
(
res
.
code
!==
200
)
return
if
(
res
.
code
!==
200
)
return
resultInfo
.
value
=
res
.
data
||
[]
resultRefs
.
value
?.
showDialog
()
ElMessage
.
success
(
'操作成功'
)
ElMessage
.
success
(
'操作成功'
)
search
()
search
()
loadTabData
()
loadTabData
()
}
catch
(
e
)
{
}
catch
(
e
)
{
resultInfo
.
value
=
[]
console
.
error
(
e
)
console
.
error
(
e
)
}
finally
{
}
finally
{
loading
.
close
()
loading
.
close
()
...
...
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