Commit f44e8604 by chenwq

fix: 修正审批状态标签和添加库存字段

将"审批"统一修改为"审核"以保持术语一致性
在商品选择数据中添加stock字段用于库存显示
1 parent 736f1014
...@@ -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') {
......
...@@ -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,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!