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