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
9975a499
Commit
9975a499
authored
Feb 11, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉“生成对账单”
parent
67ae3d39
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
29 deletions
+29
-29
src/views/DeliveryNotePage.vue
+27
-27
src/views/order/index.vue
+1
-1
src/views/order/pod/index.vue
+1
-1
No files found.
src/views/DeliveryNotePage.vue
View file @
9975a499
...
@@ -95,12 +95,12 @@
...
@@ -95,12 +95,12 @@
</ElButton
</ElButton
>
>
</ElFormItem>
</ElFormItem>
<ElFormItem>
<
!--
<
ElFormItem>
<ElButton
type=
"primary"
@
click=
"generateStatement"
<ElButton
type=
"primary"
@
click=
"generateStatement"
>
生成对账单
>
生成对账单
</ElButton
</ElButton
>
>
</ElFormItem>
</ElFormItem>
-->
</ElForm>
</ElForm>
</div>
</div>
<div
class=
"delivery-note-content flex-1 flex-column overflow-hidden"
>
<div
class=
"delivery-note-content flex-1 flex-column overflow-hidden"
>
...
@@ -368,32 +368,32 @@ const onConfirmDateRange = async () => {
...
@@ -368,32 +368,32 @@ const onConfirmDateRange = async () => {
btnLoading
.
value
=
false
btnLoading
.
value
=
false
}
}
}
}
const
generateStatement
=
async
()
=>
{
//
const generateStatement = async () => {
if
(
selection
.
value
.
length
===
0
)
{
//
if (selection.value.length === 0) {
return
ElMessage
({
//
return ElMessage({
message
:
'请选择数据后生成'
,
//
message: '请选择数据后生成',
type
:
'warning'
,
//
type: 'warning',
})
//
})
}
//
}
try
{
//
try {
await
showConfirm
(
'是否生成对账单?'
,
{
//
await showConfirm('是否生成对账单?', {
confirmButtonText
:
'确认'
,
//
confirmButtonText: '确认',
cancelButtonText
:
'取消'
,
//
cancelButtonText: '取消',
type
:
'warning'
,
//
type: 'warning',
})
//
})
}
catch
{
//
} catch {
return
//
return
}
//
}
try
{
//
try {
await
createReconciliation
({
shipmentIdList
:
selection
.
value
.
map
(
el
=>
el
.
id
)
})
//
await createReconciliation({ shipmentIdList: selection.value.map(el => el.id) })
search
()
//
search()
ElMessage
.
success
(
'操作成功'
)
//
ElMessage.success('操作成功')
}
catch
(
e
)
{
//
} catch (e) {
//showError(e)
//
//showError(e)
btnLoading
.
value
=
false
//
btnLoading.value = false
}
//
}
}
//
}
const
onCellClassName
:
CellCls
<
DeliveryNoteData
>
=
({
column
})
=>
{
const
onCellClassName
:
CellCls
<
DeliveryNoteData
>
=
({
column
})
=>
{
if
(
if
(
...
...
src/views/order/index.vue
View file @
9975a499
...
@@ -772,7 +772,7 @@
...
@@ -772,7 +772,7 @@
clearable
clearable
size
=
"large"
size
=
"large"
placeholder
=
"请输入生产单号"
placeholder
=
"请输入生产单号"
@
key
up
.
enter
=
"searchShipmentByOrderNumber"
@
key
down
.
enter
=
"searchShipmentByOrderNumber"
/>
/>
<
el
-
button
<
el
-
button
type
=
"primary"
type
=
"primary"
...
...
src/views/order/pod/index.vue
View file @
9975a499
...
@@ -371,7 +371,7 @@
...
@@ -371,7 +371,7 @@
clearable
clearable
size
=
"large"
size
=
"large"
placeholder
=
"请输入生产单号"
placeholder
=
"请输入生产单号"
@
key
up
.
enter
=
"searchShipmentByOrderNumber"
@
key
down
.
enter
=
"searchShipmentByOrderNumber"
/>
/>
<
el
-
button
<
el
-
button
type
=
"primary"
type
=
"primary"
...
...
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