diff --git a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/AddPicking.vue b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/AddPicking.vue
index 26e182a4..75ad6077 100644
--- a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/AddPicking.vue
+++ b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/AddPicking.vue
@@ -254,6 +254,12 @@ export default {
viewTaskId: {
type: [String, Number],
},
+ rejectTaskStatus: {
+ type: [String, Number],
+ default: () => {
+ return null
+ },
+ },
},
data() {
const validatePhone = (rule, value, callback) => {
@@ -694,17 +700,16 @@ export default {
this.queryParams.leaseApplyDetails,
)
})
+ // 当领料任务被驳回后重新提交时,判断当前状态,如为100 则表示为内部驳回 需要增加参数 souceByRefuse为1
+ if (this.rejectTaskStatus == 100) {
+ this.queryParams.souceByRefuse = 1
+ }
const params = {
...this.queryParams,
taskId: this.taskId,
leaseApplyInfoList: this.leaseApplyInfoList,
}
- console.log(
- '驳回提交--------------保存',
- params,
- '参数----------',
- )
res = await editLeaseApply(params)
} else {
// console.log(this.queryParams)
@@ -717,11 +722,6 @@ export default {
return
}
res = await submitLeaseApply(this.queryParams)
- console.log(
- '正常申请提交--------------保存',
- this.queryParams,
- '参数--------------',
- )
}
if (res.code == 200) {
this.$message({
diff --git a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue
index 9e297ea7..fef698c2 100644
--- a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue
+++ b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue
@@ -496,7 +496,7 @@ export default {
// isBack: true,
// },
// })
- this.$emit('editPicking', row.taskId)
+ this.$emit('editPicking', row.taskId, row.taskStatus)
},
/** 删除按钮操作 */
async handleDelete(row) {
@@ -534,6 +534,17 @@ export default {
})
},
},
+ watch: {
+ $route: {
+ handler(to) {
+ if (to.query.keyWord) {
+ this.queryParams.keyWord = to.query.keyWord
+ }
+ },
+ deep: true,
+ immediate: true,
+ },
+ },
}
diff --git a/sgzb-ui/src/views/index.vue b/sgzb-ui/src/views/index.vue
index be52fcbd..8b3c0097 100644
--- a/sgzb-ui/src/views/index.vue
+++ b/sgzb-ui/src/views/index.vue
@@ -306,17 +306,17 @@ export default {
/* 新购任务 */
{
taskTypeId: 23,
- routerPath: 'store/newBuy/newDevicesList',
+ routerPath: 'store/newPurchase/tools',
},
/* 领料任务 */
{
taskTypeId: 29,
- routerPath: 'claimAndRefund/receive/receiveManage',
+ routerPath: 'claimAndRefund/picking/apply',
},
/* 退料任务 */
{
taskTypeId: 36,
- routerPath: 'claimAndRefund/return/returnApply',
+ routerPath: 'claimAndRefund/return/apply',
},
/* 维修任务 */
{
@@ -326,22 +326,22 @@ export default {
/* 维修审核 */
{
taskTypeId: 45,
- routerPath: 'repairTest/repair/repair',
+ routerPath: 'repairTest/testExamine/testExamine',
},
/* 修试入库任务 */
{
taskTypeId: 50,
- routerPath: 'store/warehousing/repairWarehousing',
+ routerPath: 'store/warehousing/repair',
},
- /* 修试入库任务 */
+ /* 报废任务 */
{
taskTypeId: 57,
routerPath: 'scrap/manage/scrapAuditing',
},
- /* 修试入库任务 */
+ /* 新购配件任务 */
{
taskTypeId: 67,
- routerPath: 'store/newBuy/newAccessoryList',
+ routerPath: 'store/warehousing/newParts',
},
],
diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/partsAcceptance/component/home.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/partsAcceptance/component/home.vue
index dc9e712e..5410f9e8 100644
--- a/sgzb-ui/src/views/warehouseManage/newPurchase/partsAcceptance/component/home.vue
+++ b/sgzb-ui/src/views/warehouseManage/newPurchase/partsAcceptance/component/home.vue
@@ -296,7 +296,7 @@
width="80"
type="index"
>
-
+
{{
(queryParams.pageNum - 1) * 10 +
scope.$index +
diff --git a/sgzb-ui/src/views/warehouseManage/newPurchase/serviceCenter/index.vue b/sgzb-ui/src/views/warehouseManage/newPurchase/serviceCenter/index.vue
index 3308cf74..2d5c6190 100644
--- a/sgzb-ui/src/views/warehouseManage/newPurchase/serviceCenter/index.vue
+++ b/sgzb-ui/src/views/warehouseManage/newPurchase/serviceCenter/index.vue
@@ -283,7 +283,7 @@
width="80"
type="index"
>
-
+
{{
(query.pageNum - 1) * 10 + scope.$index + 1
}}
diff --git a/sgzb-ui/src/views/warehouseManage/warehousing/newParts/index.vue b/sgzb-ui/src/views/warehouseManage/warehousing/newParts/index.vue
index d1a979f1..1913526a 100644
--- a/sgzb-ui/src/views/warehouseManage/warehousing/newParts/index.vue
+++ b/sgzb-ui/src/views/warehouseManage/warehousing/newParts/index.vue
@@ -380,7 +380,7 @@
width="80"
type="index"
>
-
+
{{
(query.pageNum - 1) * 10 + scope.$index + 1
}}