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
5530d0d1
Commit
5530d0d1
authored
Aug 06, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
8fd8f5f5
a21fd7a9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
284 additions
and
338 deletions
+284
-338
src/views/AccountStatementNote.vue
+20
-24
src/views/order/index.vue
+93
-101
src/views/order/pod/index.vue
+46
-63
src/views/podBillOrder/index.vue
+18
-26
src/views/typesetting/TypesettingManagement.vue
+2
-3
src/views/warehouse/issueDoc.vue
+53
-63
src/views/warehouse/receiptDoc.vue
+52
-58
No files found.
src/views/AccountStatementNote.vue
View file @
5530d0d1
...
...
@@ -76,32 +76,28 @@
<
ElFormItem
>
<
ElButton
@
click
=
"resetSearchForm"
>
重置
<
/ElButton
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeId === 10"
>
<
el
-
button
type
=
"primary"
@
click
=
"confirmOrder"
>
确认对账单
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeId === 10"
>
<
el
-
button
type
=
"warning"
@
click
=
"rejectOrder"
>
驳回
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
>
<
el
-
button
type
=
"success"
@
click
=
"exportExcel"
>
导出
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeId === 30"
>
<
el
-
button
type
=
"danger"
@
click
=
"auditOrder('archive')"
>
归档
<
/el-button
>
<
/ElFormItem
>
<
/ElForm
>
<
/div
>
<
div
class
=
"btn-list"
>
<
el
-
button
v
-
if
=
"nodeId === 10"
type
=
"primary"
@
click
=
"confirmOrder"
>
确认对账单
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeId === 10"
type
=
"warning"
@
click
=
"rejectOrder"
>
驳回
<
/el-button
>
<
el
-
button
type
=
"success"
@
click
=
"exportExcel"
>
导出
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeId === 30"
type
=
"danger"
@
click
=
"auditOrder('archive')"
>
归档
<
/el-button
>
<
/div
>
<
div
class
=
"delivery-note-content flex-1 flex-column overflow-hidden"
>
...
...
src/views/order/index.vue
View file @
5530d0d1
This diff is collapsed.
Click to expand it.
src/views/order/pod/index.vue
View file @
5530d0d1
...
...
@@ -150,71 +150,45 @@
<el-option
value=
"multiple"
label=
"多面"
></el-option>
</el-select>
</ElFormItem>
<ElFormItem>
<ElButton
type=
"primary"
@
click=
"loadDiffList"
>
查询
</ElButton>
</ElFormItem>
</ElForm>
</div>
<div
class=
"header-filter-tab"
>
<div
class=
"tabs"
>
<div
v-for=
"item in tabsNav"
:key=
"item.status"
class=
"tabs-node"
:class=
"item.status === status ? 'tabs-node_active' : ''"
@
click=
"changeTab(item)"
>
<span
class=
"tabs-node_label"
>
{{
item
.
statusName
}}
</span>
<span
class=
"tabs-node_count"
>
{{
`(${item.quantity
}
)`
}}
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"order-content flex-1 flex-column overflow-hidden mt-10"
>
<
div
style
=
"margin-bottom: 10px"
>
<
span
v
-
if
=
"status === 'TO_BE_CONFIRMED'"
class
=
"item"
>
<ElFormItem
v-if=
"status === 'TO_BE_CONFIRMED'"
>
<ElButton
type=
"success"
@
click=
"confirmProduce"
>
确认生产
</ElButton>
<
/
span
>
<
span
v
-
if
=
"status === 'IN_PRODUCTION'"
class
=
"item
"
>
</
ElFormItem
>
<
ElFormItem
v-if=
"status === 'IN_PRODUCTION'
"
>
<ElButton
type=
"success"
dark
@
click=
"fastToProduction('快捷生产', 1)"
>
快捷生产
</ElButton
>
<
/
span
>
<
span
</
ElFormItem
>
<
ElFormItem
v-if=
"
status === 'TO_BE_CONFIRMED' ||
status === 'IN_PRODUCTION' ||
status === 'PART_SHIPPING'
['TO_BE_CONFIRMED', 'IN_PRODUCTION', 'PART_SHIPPING'].includes(
status,
)
"
class
=
"item"
>
<ElButton
type=
"primary"
dark
@
click=
"printManuscript"
>
打印生产单
</ElButton
>
<
/span
>
<!--
<
span
v
-
if
=
"status === 'TO_BE_CONFIRMED'"
class
=
"item"
>-->
<!--
<
ElButton
type
=
"success"
dark
@
click
=
"exportManuscript"
-->
<!--
>
导出生产单
<
/ElButton--
>
<!--
>-->
<!--
<
/span>--
>
<
span
class
=
"item"
>
</ElFormItem>
<ElFormItem>
<ElButton
type=
"warning"
@
click=
"addInternalTag"
>
添加内部标签
</ElButton
>
<
/
span
>
<
span
</
ElFormItem
>
<
ElFormItem
v-if=
"
status === 'TO_BE_CONFIRMED' ||
status === 'IN_PRODUCTION' ||
status === 'PART_SHIPPING'
['TO_BE_CONFIRMED', 'IN_PRODUCTION', 'PART_SHIPPING'].includes(
status,
)
"
class
=
"item"
>
<ElButton
type=
"warning"
is-dark
@
click=
"downloadMaterial"
>
下载素材
</ElButton
>
<
/
span
>
<
span
</
ElFormItem
>
<
ElFormItem
v-if=
"
[
'TO_BE_CONFIRMED',
...
...
@@ -223,41 +197,34 @@
'WAIT_SHIPMENT',
].includes(status)
"
class
=
"item"
>
<ElButton
type=
"primary"
@
click=
"refreshProduct"
>
刷新商品信息
</ElButton
>
<
/
span
>
<
span
</
ElFormItem
>
<
ElFormItem
v-if=
"status === 'WAIT_SHIPMENT' || status === 'PART_SHIPPING'"
class
=
"item"
>
<ElButton
type=
"success"
@
click=
"confirmDelivery"
>
发货
</ElButton>
<
/
span
>
<
span
v
-
if
=
"status === 'WAIT_SHIPMENT'"
class
=
"item
"
>
</
ElFormItem
>
<
ElFormItem
v-if=
"status === 'WAIT_SHIPMENT'
"
>
<ElButton
type=
"warning"
@
click=
"completeDelivery"
>
完成发货
</ElButton>
<
/
span
>
<
span
</
ElFormItem
>
<
ElFormItem
v-if=
"['TO_BE_CONFIRMED', 'IN_PRODUCTION'].includes(status)"
class
=
"item"
>
<ElButton
type=
"danger"
@
click=
"voidedBtn"
>
作废
</ElButton>
<
/span
>
<
span
v
-
if
=
"['WAIT_SHIPMENT', 'IN_PRODUCTION'].includes(status)"
class
=
"item"
>
</ElFormItem>
<ElFormItem
v-if=
"['WAIT_SHIPMENT', 'IN_PRODUCTION'].includes(status)"
>
<ElButton
type=
"warning"
is-dark
@
click=
"applyForReplacement"
>
申请补胚
</ElButton
>
<
/
span
>
<
span
v
-
if
=
"['COMPLETE'].includes(status)"
class
=
"item
"
>
</
ElFormItem
>
<
ElFormItem
v-if=
"['COMPLETE'].includes(status)
"
>
<ElButton
type=
"success"
@
click=
"toExport"
>
导出对账单
</ElButton>
<
/
span
>
<
span
</
ElFormItem
>
<
ElFormItem
v-if=
"['TO_BE_CONFIRMED', 'IN_PRODUCTION'].includes(status)"
class
=
"item"
>
<ElButton
:loading=
"syncLoading"
...
...
@@ -267,8 +234,24 @@
>
同步素材图
</ElButton
>
<
/span
>
</ElFormItem>
</ElForm>
</div>
<div
class=
"header-filter-tab"
>
<div
class=
"tabs"
>
<div
v-for=
"item in tabsNav"
:key=
"item.status"
class=
"tabs-node"
:class=
"item.status === status ? 'tabs-node_active' : ''"
@
click=
"changeTab(item)"
>
<span
class=
"tabs-node_label"
>
{{
item
.
statusName
}}
</span>
<span
class=
"tabs-node_count"
>
{{
`(${item.quantity
}
)`
}}
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"order-content flex-1 flex-column overflow-hidden mt-10"
>
<
template
v
-
if
=
"
[
...
...
src/views/podBillOrder/index.vue
View file @
5530d0d1
...
...
@@ -79,32 +79,24 @@
<
ElFormItem
>
<
ElButton
@
click
=
"reset"
>
重置
<
/ElButton
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeId === 15"
>
<
el
-
button
type
=
"warning"
@
click
=
"rejectOrder"
>
驳回
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
>
<
el
-
button
type
=
"success"
@
click
=
"exportExcel"
>
导出
<
/el-butto
n
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeId === 30"
>
<
el
-
button
type
=
"danger"
@
click
=
"auditOrder('archive')"
>
归档
<
/el-button
>
<
/ElFormItem
>
<
/ElForm
>
<
/div
>
<
div
class
=
"btn-list"
>
<!--
<
el
-
button
v
-
if
=
"nodeId === 10"
type
=
"primary"
@
click
=
"confirmOrder()"
>
确认
<
/el-button> --
>
<
el
-
button
v
-
if
=
"nodeId === 15"
type
=
"warning"
@
click
=
"rejectOrder"
>
驳回
<
/el-button
>
<
el
-
button
type
=
"success"
@
click
=
"exportExcel"
>
导出
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeId === 30"
type
=
"danger"
@
click
=
"auditOrder('archive')"
>
归档
<
/el-button
>
<
/div
>
<
div
class
=
"delivery-note-content flex-1 flex-column overflow-hidden"
>
...
...
@@ -1205,8 +1197,8 @@ const submitPodPrice = async () => {
try
{
const
res
=
await
apiSetCraftData
({
id
:
currentRow
.
value
?.
id
,
craftTotalPrice
:
currentRow
.
value
?.
craft_total_amount
,
recNumber
:
currentRow
.
value
?.
rec_number
,
craftTotalPrice
:
currentRow
.
value
?.
craft_total_amount
,
recNumber
:
currentRow
.
value
?.
rec_number
,
craftPriceList
:
filteredList
,
}
)
if
(
res
.
code
!==
200
)
return
...
...
src/views/typesetting/TypesettingManagement.vue
View file @
5530d0d1
...
...
@@ -25,7 +25,6 @@
<
div
class
=
"search-form"
>
<
ElForm
:
model
=
"searchForm"
size
=
"large"
inline
@
submit
.
prevent
@
keyup
.
enter
=
"search"
...
...
@@ -59,12 +58,12 @@
><
/ElInput
>
<
/ElFormItem> --
>
<
ElFormItem
>
<
ElButton
type
=
"primary"
size
=
"large"
@
click
=
"search"
<
ElButton
type
=
"primary"
@
click
=
"search"
>
查询
<
/ElButto
n
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"treeId === '201'"
>
<
el
-
button
size
=
"large"
type
=
"danger"
@
click
=
"reject"
<
el
-
button
type
=
"danger"
@
click
=
"reject"
>
驳回
<
/el-butto
n
>
<
/ElFormItem
>
...
...
src/views/warehouse/issueDoc.vue
View file @
5530d0d1
...
...
@@ -93,63 +93,53 @@
<
ElFormItem
>
<
ElButton
@
click
=
"resetSearchForm"
>
重置
<
/ElButton
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
>
<
el
-
button
type
=
"primary"
@
click
=
"addDialog(1, null)"
>
新增
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
>
<
el
-
button
type
=
"danger"
@
click
=
"rejectedInRecord"
>
驳回
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
>
<
el
-
button
type
=
"danger"
@
click
=
"handleBatchDelete"
>
删除
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
>
<
el
-
button
type
=
"success"
@
click
=
"handleExport"
>
导出
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
>
<
el
-
button
type
=
"warning"
@
click
=
"auditOrder('audit')"
>
审核
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
>
<
el
-
button
type
=
"success"
@
click
=
"auditOrder('submitAudit')"
>
提交审核
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
>
<
el
-
button
type
=
"danger"
@
click
=
"auditOrder('invalid')"
>
作废
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'COMPLETED'"
>
<
el
-
button
type
=
"success"
@
click
=
"auditOrder('archiving')"
>
归档
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
>
<
el
-
button
type
=
"primary"
@
click
=
"printProductTag"
>
打印库存
SKU
标签
<
/el-button
>
<
/ElFormItem
>
<
/ElForm
>
<
/div
>
<
div
class
=
"btn-list"
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
type
=
"primary"
@
click
=
"addDialog(1, null)"
>
新增
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
type
=
"danger"
@
click
=
"rejectedInRecord"
>
驳回
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
type
=
"danger"
@
click
=
"handleBatchDelete"
>
删除
<
/el-button
>
<
el
-
button
type
=
"success"
@
click
=
"handleExport"
>
导出
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"printProductTag"
>
打印库存
SKU
标签
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
type
=
"warning"
@
click
=
"auditOrder('audit')"
>
审核
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
type
=
"success"
@
click
=
"auditOrder('submitAudit')"
>
提交审核
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
type
=
"danger"
@
click
=
"auditOrder('invalid')"
>
作废
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'COMPLETED'"
type
=
"success"
@
click
=
"auditOrder('archiving')"
>
归档
<
/el-button
>
<
/div
>
<
div
class
=
"delivery-note-content flex-1 flex-column overflow-hidden"
>
...
...
@@ -399,7 +389,7 @@
width
=
"500px"
:
close
-
on
-
click
-
modal
=
"false"
>
<
div
class
=
"import-dialog"
>
<
div
class
=
"import-dialog"
>
<
div
class
=
"import-content"
>
<
UploadExcel
v
-
model
=
"importedFileUrl"
...
...
@@ -1159,9 +1149,9 @@ const handleLocalImport = async ({
.
filter
((
item
)
=>
item
.
warehouseSku
)
if
(
importedData
.
length
===
0
)
{
ElMessage
.
warning
(
'导入数据中没有有效的库存SKU'
);
importDialogVisible
.
value
=
false
;
return
;
ElMessage
.
warning
(
'导入数据中没有有效的库存SKU'
)
importDialogVisible
.
value
=
false
return
}
// 2. 提取导入的 SKU 列表
...
...
@@ -1171,10 +1161,10 @@ const handleLocalImport = async ({
const
filteredSkusList
=
await
batchAddCommodity
(
importedSkus
)
if
(
filteredSkusList
.
length
===
0
)
{
ElMessage
.
warning
(
'导入的库存SKU已存在或无效'
);
importedFileUrl
.
value
=
path
;
importDialogVisible
.
value
=
false
;
return
;
ElMessage
.
warning
(
'导入的库存SKU已存在或无效'
)
importedFileUrl
.
value
=
path
importDialogVisible
.
value
=
false
return
}
// 4. 将备注信息合并到获取到的商品列表中
...
...
src/views/warehouse/receiptDoc.vue
View file @
5530d0d1
...
...
@@ -93,63 +93,57 @@
<
ElFormItem
>
<
ElButton
@
click
=
"resetSearchForm"
>
重置
<
/ElButton
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
>
<
el
-
button
type
=
"primary"
@
click
=
"addDialog(1, null)"
>
新增
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
>
<
el
-
button
type
=
"danger"
@
click
=
"rejectedInRecord"
>
驳回
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
>
<
el
-
button
type
=
"danger"
@
click
=
"handleBatchDelete"
>
删除
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
>
<
el
-
button
type
=
"success"
@
click
=
"handleExport"
>
导出
<
/el-butto
n
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
>
<
el
-
button
type
=
"warning"
@
click
=
"auditOrder('audit')"
>
审核
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
>
<
el
-
button
type
=
"success"
@
click
=
"auditOrder('submitAudit')"
>
提交审核
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
>
<
el
-
button
type
=
"danger"
@
click
=
"auditOrder('invalid')"
>
作废
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
>
<
el
-
button
type
=
"primary"
@
click
=
"printProductTag"
>
打印库存
SKU
标签
<
/el-button
>
<
/ElFormItem
>
<
ElFormItem
>
<
el
-
button
v
-
if
=
"nodeCode === 'COMPLETED'"
type
=
"success"
@
click
=
"auditOrder('archiving')"
>
归档
<
/el-button
>
<
/ElFormItem
>
<
/ElForm
>
<
/div
>
<
div
class
=
"btn-list"
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
type
=
"primary"
@
click
=
"addDialog(1, null)"
>
新增
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
type
=
"danger"
@
click
=
"rejectedInRecord"
>
驳回
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
type
=
"danger"
@
click
=
"handleBatchDelete"
>
删除
<
/el-button
>
<
el
-
button
type
=
"success"
@
click
=
"handleExport"
>
导出
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"printProductTag"
>
打印库存
SKU
标签
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
type
=
"warning"
@
click
=
"auditOrder('audit')"
>
审核
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
type
=
"success"
@
click
=
"auditOrder('submitAudit')"
>
提交审核
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'PENDING_AUDIT'"
type
=
"danger"
@
click
=
"auditOrder('invalid')"
>
作废
<
/el-button
>
<
el
-
button
v
-
if
=
"nodeCode === 'COMPLETED'"
type
=
"success"
@
click
=
"auditOrder('archiving')"
>
归档
<
/el-button
>
<
/div
>
<
div
class
=
"delivery-note-content flex-1 flex-column overflow-hidden"
>
...
...
@@ -823,7 +817,7 @@
<
script
setup
lang
=
"ts"
>
import
{
ElMessage
,
ElRadioGroup
,
ElTree
}
from
'element-plus'
import
{
CirclePlusFilled
}
from
'@element-plus/icons-vue'
import
{
CirclePlusFilled
}
from
'@element-plus/icons-vue'
import
splitDiv
from
'@/components/splitDiv/splitDiv.vue'
import
{
ElTable
}
from
'element-plus'
import
usePageList
from
'@/utils/hooks/usePageList'
...
...
@@ -1211,7 +1205,7 @@ const handleLocalImport = async ({
const
importedItem
=
importedData
.
find
(
(
item
)
=>
item
.
warehouseSku
===
skuItem
.
sku
,
)
const
target
=
locationList
.
value
.
find
((
item
:
InterProductList
)
=>
{
const
target
=
locationList
.
value
.
find
((
item
:
InterProductList
)
=>
{
return
item
.
locationCode
==
importedItem
?.
locationCode
}
)
return
{
...
...
@@ -1541,7 +1535,7 @@ const addOtherCurrency = async () => {
(
item
:
InterProductList
)
=>
item
.
locationId
===
arr
[
i
].
locationId
,
)
if
(
!
arr
[
i
].
locationCode
)
{
arr
[
i
].
locationCode
=
found
?
found
?.
locationCode
:
''
arr
[
i
].
locationCode
=
found
?
found
?.
locationCode
:
''
}
}
if
(
!
formId
.
value
)
{
...
...
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