审批重构
This commit is contained in:
@ -441,7 +441,7 @@ const handleAudit = async () => {
|
||||
return;
|
||||
}
|
||||
proxy?.$tab.closePage(route);
|
||||
proxy?.$tab.openPage('/materials-management/batchPlan/indexEdit', '审核物资设备批次需求计划', {
|
||||
proxy?.$tab.openPage('/approval/batchPlan/indexEdit', '审核物资设备批次需求计划', {
|
||||
id: queryParams.value.mainData.mrpBaseId,
|
||||
status: form.value.mrpBaseBo.status + '_batchRequirements',
|
||||
type: 'update'
|
||||
|
||||
@ -425,7 +425,7 @@ const handleAudit = async () => {
|
||||
return;
|
||||
}
|
||||
proxy?.$tab.closePage(proxy.$route);
|
||||
proxy?.$tab.openPage('/materials-management/cailiaoshebei/indexEdit', '审核材料设备设计', {
|
||||
proxy?.$tab.openPage('/approval/cailiaoshebei/indexEdit', '审核材料设备设计', {
|
||||
id: form.value.batchNumber + '_materialDesign',
|
||||
approvalDesign: form.value.approvalDesign,
|
||||
type: 'update'
|
||||
|
||||
@ -132,16 +132,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="Cailiaoshebei" lang="ts">
|
||||
import {
|
||||
listCailiaoshebei,
|
||||
getCailiaoshebei,
|
||||
delCailiaoshebei,
|
||||
addCailiaoshebei,
|
||||
updateCailiaoshebei,
|
||||
listBatch,
|
||||
getBatch,
|
||||
delBatch
|
||||
} from '@/api/materials/orderEquipment';
|
||||
import { listCailiaoshebei, delCailiaoshebei, addCailiaoshebei, listBatch, getBatch, delBatch } from '@/api/materials/orderEquipment';
|
||||
import { CailiaoshebeiVO, CailiaoshebeiQuery, CailiaoshebeiForm } from '@/api/materials/orderEquipment/types';
|
||||
|
||||
import { listContractor } from '@/api/project/contractor';
|
||||
@ -355,7 +346,7 @@ const handleAudit = async () => {
|
||||
}
|
||||
|
||||
proxy?.$tab.closePage(proxy.$route);
|
||||
proxy?.$tab.openPage('/materials-management/orderEquipment/indexEdit', '审核物资订货', {
|
||||
proxy?.$tab.openPage('/approval/orderEquipment/indexEdit', '审核物资订货', {
|
||||
id: form.value.batchNumber,
|
||||
approvalOrder: form.value.approvalOrder + '_equipmentOrdering',
|
||||
type: 'update'
|
||||
|
||||
@ -306,7 +306,7 @@ const handleClose = () => {
|
||||
function clickApprovalSheet1() {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `/materials/overallPlanMaterialSupply/indexEdit`,
|
||||
path: `/approval/overallPlanMaterialSupply/indexEdit`,
|
||||
query: {
|
||||
id: state.masterData.id,
|
||||
type: 'update'
|
||||
@ -316,7 +316,7 @@ function clickApprovalSheet1() {
|
||||
// 审核流程
|
||||
function lookApprovalFlow() {
|
||||
proxy.$router.push({
|
||||
path: `/materials/overallPlanMaterialSupply/indexEdit`,
|
||||
path: `/approval/overallPlanMaterialSupply/indexEdit`,
|
||||
query: {
|
||||
id: state.masterData.id,
|
||||
type: 'view'
|
||||
|
||||
@ -525,7 +525,7 @@ const handleSuccess = (list, res: any) => {
|
||||
/** 审核按钮操作 */
|
||||
const handleAudit = async (row?: PurchaseDocVO) => {
|
||||
proxy?.$tab.closePage(route);
|
||||
proxy?.$tab.openPage('/materials/purchaseDoc/indexEdit', '审核采购联系单', {
|
||||
proxy?.$tab.openPage('/approval/purchaseDoc/indexEdit', '审核采购联系单', {
|
||||
id: row.id,
|
||||
type: 'update'
|
||||
});
|
||||
@ -533,7 +533,7 @@ const handleAudit = async (row?: PurchaseDocVO) => {
|
||||
/** 审核按钮操作 */
|
||||
const handleViewDetail = async (row?: PurchaseDocVO) => {
|
||||
proxy?.$tab.closePage(route);
|
||||
proxy?.$tab.openPage('/materials/purchaseDoc/indexEdit', '审核采购联系单', {
|
||||
proxy?.$tab.openPage('/approval/purchaseDoc/indexEdit', '审核采购联系单', {
|
||||
id: row.id,
|
||||
type: 'view'
|
||||
});
|
||||
|
||||
@ -474,7 +474,7 @@ const handleAudit = async () => {
|
||||
}
|
||||
|
||||
proxy?.$tab.closePage(proxy.$route);
|
||||
proxy?.$tab.openPage('/materials-management/suppliesprice/indexEdit', '审核物资供应总计划', {
|
||||
proxy?.$tab.openPage('/approval/suppliesprice/indexEdit', '审核物资供应总计划', {
|
||||
id: form.value.batchNumber,
|
||||
approvalPlan: form.value.approvalPlan + '_materialsPlans',
|
||||
type: 'update'
|
||||
|
||||
Reference in New Issue
Block a user