fix: 平台订单/商品列表直接显示改抢单要求入口(写入仍校验002ad)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
f2d6b817f2
commit
f63896cce7
3 files changed
+6
-3
No files matched your search
@@ -861,7 +861,8 @@ const showJjtkDialog = () => { jjtkDialogVisible.value = true; jujueLiyou.value
|
||||
const showJjjsDialog = () => { jjjsDialogVisible.value = true; jjjsLiyou.value = '' }
|
||||
|
||||
onMounted(() => {
|
||||
canEditGrabReqBase.value = hasPermCode(getMenuAccess(), '002ad')
|
||||
// 能进详情就显示修改入口(平台单+状态1/7);真正写入仍由后端校验 002ad
|
||||
canEditGrabReqBase.value = true
|
||||
dingdanId.value = route.params.id
|
||||
if (!dingdanId.value) {
|
||||
ElMessage.error('订单ID不存在')
|
||||
|
||||
@@ -521,7 +521,8 @@ const submitOrderGrab = async () => {
|
||||
onMounted(() => {
|
||||
const access = getMenuAccess()
|
||||
hasPermission.value = hasPermCode(access, '002ab')
|
||||
canEditGrabReq.value = hasPermCode(access, '002ad')
|
||||
// 能进平台订单就显示入口;真正写入仍由后端校验 002ad
|
||||
canEditGrabReq.value = hasPermission.value
|
||||
if (!hasPermission.value) return
|
||||
restoreFromQuery()
|
||||
fetchOrderTypes()
|
||||
|
||||
@@ -1020,7 +1020,8 @@ const confirmBatchGrab = async () => {
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
canEditGrabReq.value = hasPermCode(getMenuAccess(), '002ad')
|
||||
// 能进商品列表就显示批量入口;真正写入仍由后端校验 002ad
|
||||
canEditGrabReq.value = true
|
||||
fetchBaseData()
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user