|
@@ -35,6 +35,9 @@
|
|
|
:disabled="form.status == 1"
|
|
|
>提 交
|
|
|
</el-button>
|
|
|
+ <el-button class="el-button--small-yh" style="margin-left: 6px;" type="warning" size="small"
|
|
|
+ @click="revokePlan()" v-if="Number(form.status) === 1">撤 销
|
|
|
+ </el-button>
|
|
|
<!-- <el-dropdown v-if="form.status == 1">
|
|
|
<el-button style="margin-left: 6px;" type="success" size="small">
|
|
|
审 核<i class="el-icon-arrow-down el-icon--right"></i>
|
|
@@ -263,7 +266,7 @@
|
|
|
<template slot-scope="{ type, size, row, index, disabled }" slot="menu">
|
|
|
<el-button
|
|
|
:size="size"
|
|
|
- :disabled="row.isDeleted == 1"
|
|
|
+ :disabled="editButton || form.status == 1 || row.isDeleted == 1"
|
|
|
:type="type"
|
|
|
:icon="row.$cellEdit ? 'el-icon-plus' : 'el-icon-edit'"
|
|
|
@click="rowEdit(row, index)"
|
|
@@ -272,6 +275,7 @@
|
|
|
<el-button
|
|
|
:icon="row.isDeleted == 1 ? 'el-icon-refresh-left' : 'el-icon-delete'"
|
|
|
:size="size"
|
|
|
+ :disabled="editButton || form.status == 1"
|
|
|
:type="type"
|
|
|
@click="rowDel(row, index, 'centerShipCostList')"
|
|
|
>{{ row.isDeleted == 1 ? "恢复" : "删除" }}
|
|
@@ -344,7 +348,7 @@
|
|
|
<template slot-scope="{ type, size, row, index, disabled }" slot="menu">
|
|
|
<el-button
|
|
|
:size="size"
|
|
|
- :disabled="row.isDeleted == 1"
|
|
|
+ :disabled="editButton || form.status == 1 || row.isDeleted == 1"
|
|
|
:type="type"
|
|
|
:icon="row.$cellEdit ? 'el-icon-plus' : 'el-icon-edit'"
|
|
|
@click="rowEdit(row, index)"
|
|
@@ -353,6 +357,7 @@
|
|
|
<el-button
|
|
|
:icon="row.isDeleted == 1 ? 'el-icon-refresh-left' : 'el-icon-delete'"
|
|
|
:size="size"
|
|
|
+ :disabled="editButton || form.status == 1"
|
|
|
:type="type"
|
|
|
@click="rowDel(row, index, 'centerShipPaymentCostList')"
|
|
|
>{{ row.isDeleted == 1 ? "恢复" : "删除" }}
|
|
@@ -485,7 +490,7 @@
|
|
|
import { getDetails as getCustom } from "@/api/tirePartsMall/basicData/customerInformation";
|
|
|
import { getDetails as getDetailsGods } from "@/api/tirePartsMall/basicData/commodityInformation";
|
|
|
import { goodsListXs, goodsPageXs } from "@/api/tirePartsMall/salesManagement/saleOrder";
|
|
|
-import { getDetails, submitOutPlan, itemRemove, auditPlan, feeSubmit } from "@/api/storehouse/plan.js";
|
|
|
+import {getDetails, submitOutPlan, itemRemove, auditPlan, revokePlanOut, feeSubmit} from "@/api/storehouse/plan.js";
|
|
|
import { dotList, goodsDetail } from "@/api/tirePartsMall/purchasingManagement/warehouseEntryOrder";
|
|
|
import reportDialog from "@/components/report-dialog/main";
|
|
|
import { dateFormat } from "@/util/date";
|