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
0
Merge Requests
0
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
b244a2a1
Commit
b244a2a1
authored
Jul 11, 2024
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加查询条件
parent
095ad1c7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
3 deletions
+35
-3
src/api/order.ts
+7
-0
src/types/api/deliveryNote.ts
+1
-0
src/views/AccountStatementNote.vue
+27
-3
No files found.
src/api/order.ts
View file @
b244a2a1
...
@@ -58,6 +58,13 @@ export function reGenerateScriptUrlApi(ids: number[]) {
...
@@ -58,6 +58,13 @@ export function reGenerateScriptUrlApi(ids: number[]) {
)
)
}
}
export
function
reCreateScriptUrlApi
(
ids
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/customJomallOrder/rebuildFileByOrderIds'
,
ids
,
)
}
// 打印生产单
// 打印生产单
export
function
printOrder
(
ids
:
number
[])
{
export
function
printOrder
(
ids
:
number
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
...
...
src/types/api/deliveryNote.ts
View file @
b244a2a1
...
@@ -104,6 +104,7 @@ export interface ProductionOrder {
...
@@ -104,6 +104,7 @@ export interface ProductionOrder {
export
interface
AccountStatementNote
{
export
interface
AccountStatementNote
{
billNumber
?:
string
billNumber
?:
string
shipmentId
?:
string
shipmentId
?:
string
userMark
?:
string
shipmentNum
?:
string
shipmentNum
?:
string
dataVersion
?:
string
dataVersion
?:
string
carriageName
?:
string
carriageName
?:
string
...
...
src/views/AccountStatementNote.vue
View file @
b244a2a1
...
@@ -12,6 +12,21 @@
...
@@ -12,6 +12,21 @@
<template
#
top
>
<template
#
top
>
<div
class=
"header-filter-form"
>
<div
class=
"header-filter-form"
>
<ElForm
:model=
"searchForm"
inline
>
<ElForm
:model=
"searchForm"
inline
>
<ElFormItem
label=
"客户"
>
<ElSelect
v-model=
"searchForm.userMark"
clearable
placeholder=
"请选择客户"
style=
"width: 130px"
>
<ElOption
v-for=
"item in nameSpaceList"
:key=
"item"
:label=
"item"
:value=
"item"
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem
label=
"创建时间"
>
<ElFormItem
label=
"创建时间"
>
<el-date-picker
<el-date-picker
v-model=
"dateRange"
v-model=
"dateRange"
...
@@ -31,7 +46,7 @@
...
@@ -31,7 +46,7 @@
v-model=
"searchForm.billNumber"
v-model=
"searchForm.billNumber"
clearable
clearable
placeholder=
"发货单号"
placeholder=
"发货单号"
style=
"width: 1
6
0px"
style=
"width: 1
3
0px"
/>
/>
</ElFormItem>
</ElFormItem>
<ElFormItem
label=
"订单号"
>
<ElFormItem
label=
"订单号"
>
...
@@ -401,12 +416,13 @@ import { ref, onMounted, watch, nextTick } from 'vue'
...
@@ -401,12 +416,13 @@ import { ref, onMounted, watch, nextTick } from 'vue'
import
{
showError
}
from
'@/utils/ui'
import
{
showError
}
from
'@/utils/ui'
import
'element-plus/dist/index.css'
import
'element-plus/dist/index.css'
import
{
Confirm
,
CountStatus
}
from
'@/types/api/order.ts'
import
{
Confirm
,
CountStatus
}
from
'@/types/api/order.ts'
import
{
getUserMarkList
}
from
'@/api/auth.ts'
interface
SummaryMethodProps
<
T
=
AccountStatementNote
>
{
interface
SummaryMethodProps
<
T
=
AccountStatementNote
>
{
columns
:
TableColumnCtx
<
T
>
[]
columns
:
TableColumnCtx
<
T
>
[]
data
:
T
[]
data
:
T
[]
}
}
const
nameSpaceList
=
ref
<
string
[]
>
([])
const
treeData
=
ref
<
Tree
[]
>
([
const
treeData
=
ref
<
Tree
[]
>
([
{
{
label
:
'全部'
,
label
:
'全部'
,
...
@@ -490,12 +506,20 @@ const {
...
@@ -490,12 +506,20 @@ const {
})
})
onMounted
(()
=>
{
onMounted
(()
=>
{
getNameSpaceList
()
treeRef
.
value
!
.
setCurrentKey
(
nodeId
.
value
,
true
)
treeRef
.
value
!
.
setCurrentKey
(
nodeId
.
value
,
true
)
})
})
const
dialogVisible
=
ref
<
boolean
>
(
false
)
const
dialogVisible
=
ref
<
boolean
>
(
false
)
const
getNameSpaceList
=
async
()
=>
{
try
{
const
res
=
await
getUserMarkList
()
nameSpaceList
.
value
=
res
.
data
}
catch
(
e
)
{
// showError(e)
}
}
const
getTreeNum
=
async
()
=>
{
const
getTreeNum
=
async
()
=>
{
const
res
=
await
getReconciliationAmount
()
const
res
=
await
getReconciliationAmount
()
...
...
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