Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-inventory
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f44e8604
authored
Dec 05, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修正审批状态标签和添加库存字段
将"审批"统一修改为"审核"以保持术语一致性 在商品选择数据中添加stock字段用于库存显示
1 parent
736f1014
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/views/sendBack/add.vue
src/views/sendBack/constant/data.js
src/views/sendBack/add.vue
View file @
f44e860
...
@@ -387,6 +387,7 @@ export default {
...
@@ -387,6 +387,7 @@ export default {
this
.
chooseDataList
[
idx
].
merchantId
=
item
.
merchantShopGoodsStockPageResponse
.
merchantId
this
.
chooseDataList
[
idx
].
merchantId
=
item
.
merchantShopGoodsStockPageResponse
.
merchantId
this
.
chooseDataList
[
idx
].
merchantName
=
item
.
merchantShopGoodsStockPageResponse
.
merchantName
this
.
chooseDataList
[
idx
].
merchantName
=
item
.
merchantShopGoodsStockPageResponse
.
merchantName
this
.
chooseDataList
[
idx
].
filmRollNo
=
item
.
merchantShopGoodsStockPageResponse
.
filmRollNo
this
.
chooseDataList
[
idx
].
filmRollNo
=
item
.
merchantShopGoodsStockPageResponse
.
filmRollNo
this
.
chooseDataList
[
idx
].
stock
=
item
.
merchantShopGoodsStockPageResponse
.
stock
this
.
setDisabled
(
item
)
this
.
setDisabled
(
item
)
})
})
if
(
res
.
voucherPic
)
{
if
(
res
.
voucherPic
)
{
...
@@ -535,7 +536,7 @@ export default {
...
@@ -535,7 +536,7 @@ export default {
/** 保存/作废/提交申请之前,表单校验等
/** 保存/作废/提交申请之前,表单校验等
* 按钮类型 - 单据状态
* 按钮类型 - 单据状态
* 保存按钮(save) - 1:待提交
* 保存按钮(save) - 1:待提交
* 提交审核按钮(review) - 2:待总部审
批
* 提交审核按钮(review) - 2:待总部审
核
* 作废按钮(invalid) - 5:作废
* 作废按钮(invalid) - 5:作废
**/
**/
beforeConfirm
(
btnType
=
'save'
)
{
beforeConfirm
(
btnType
=
'save'
)
{
...
@@ -568,7 +569,7 @@ export default {
...
@@ -568,7 +569,7 @@ export default {
/** 保存/作废/审核提交,弹窗提示不一样
/** 保存/作废/审核提交,弹窗提示不一样
* 按钮类型 - 单据状态
* 按钮类型 - 单据状态
* 保存按钮(save) - 创建 - 1:待提交;编辑 - 传详情里面的refundStatus状态
* 保存按钮(save) - 创建 - 1:待提交;编辑 - 传详情里面的refundStatus状态
* 提交审核按钮(review) - 2:待总部审
批
* 提交审核按钮(review) - 2:待总部审
核
* 作废按钮(invalid) - 5:作废
* 作废按钮(invalid) - 5:作废
**/
**/
handleConfirm
(
params
,
btnType
=
'save'
)
{
handleConfirm
(
params
,
btnType
=
'save'
)
{
...
...
src/views/sendBack/constant/data.js
View file @
f44e860
...
@@ -5,7 +5,7 @@ const refundStatusList = [
...
@@ -5,7 +5,7 @@ const refundStatusList = [
},
},
{
{
confId
:
2
,
confId
:
2
,
confLabel
:
'待总部审
批
'
confLabel
:
'待总部审
核
'
},
},
{
{
confId
:
3
,
confId
:
3
,
...
@@ -13,7 +13,7 @@ const refundStatusList = [
...
@@ -13,7 +13,7 @@ const refundStatusList = [
},
},
{
{
confId
:
4
,
confId
:
4
,
confLabel
:
'总部审
批
通过'
confLabel
:
'总部审
核
通过'
},
},
{
{
confId
:
5
,
confId
:
5
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment