|
@@ -9,15 +9,14 @@
|
|
|
<el-button type="primary" size="small" v-if="viewDisabled" class="el-button--small-yh "
|
|
|
:loading="buttonLoading" @click.stop="openEdit()">编辑
|
|
|
</el-button>
|
|
|
-
|
|
|
<el-dropdown style="padding: 0 6px;line-height: 0">
|
|
|
- <el-button type="primary" size="small" :loading="buttonLoading" :disabled="!form.id || viewDisabled">
|
|
|
+ <el-button type="primary" size="small" :loading="buttonLoading" :disabled="!form.id">
|
|
|
审批处理<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
</el-button>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
- <el-dropdown-item :loading="buttonLoading" @click.native="auditCheck">提交审批</el-dropdown-item>
|
|
|
- <el-dropdown-item @click.native="checkScheduleDialog = true">审批进度</el-dropdown-item>
|
|
|
- <el-dropdown-item disabled>撤销审批</el-dropdown-item>
|
|
|
+ <el-dropdown-item :loading="buttonLoading" :disabled="viewDisabled" @click.native="auditCheck">提交审批</el-dropdown-item>
|
|
|
+ <el-dropdown-item :disabled="form.status == 0" @click.native="checkScheduleDialog = true">审批进度</el-dropdown-item>
|
|
|
+<!-- <el-dropdown-item :disabled="form.status != 1 && form.id" @click.native="repealCancel">撤销审批</el-dropdown-item>-->
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
|
|
@@ -280,7 +279,7 @@ import _ from "lodash";
|
|
|
import { isPercentage, roundNumbers } from "@/util/validate";
|
|
|
import billApplication from "@/components/bill/billApplication";
|
|
|
//商品详情接口
|
|
|
-import { corpsattn } from "@/api/basicData/configuration"
|
|
|
+import {corpsattn} from "@/api/basicData/configuration"
|
|
|
import { contrastObj, contrastList, contrastList2 } from "@/util/contrastData";
|
|
|
import ApplyPayment from "../../../components/finance/applyPayment";
|
|
|
import financialAccount from "../../../components/finance/financialAccount";
|
|
@@ -971,15 +970,6 @@ export default {
|
|
|
// if(receivableList.length!=0 || copeWithList.length!=0 ){
|
|
|
// this.$confirm("有未提交的费用,系统将自动提交,确定要提交吗??", {
|
|
|
// confirmButtonText: "确定",
|
|
|
- // 玛卡巴卡
|
|
|
- // 阿卡哇卡
|
|
|
- // 米卡玛卡呣
|
|
|
- // 玛卡巴卡
|
|
|
- // 阿巴雅卡
|
|
|
- // 伊卡阿卡噢
|
|
|
- // 哈姆达姆阿卡嗙
|
|
|
- // 咿呀呦
|
|
|
- // 玛卡巴卡阿卡哇卡
|
|
|
// cancelButtonText: "取消",
|
|
|
// type: "warning"
|
|
|
// }).then(()=>{
|
|
@@ -1079,6 +1069,24 @@ export default {
|
|
|
// }
|
|
|
}
|
|
|
},
|
|
|
+ repealCancel(){
|
|
|
+ this.$confirm("您确定撤回此次申请吗?", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(() => {
|
|
|
+ this.buttonLoading = true
|
|
|
+ const data = {
|
|
|
+ id : this.form.id,
|
|
|
+ checkType: 'cgqh',
|
|
|
+ pageLabel:"采购订单",
|
|
|
+ checkFlag: 1,
|
|
|
+ }
|
|
|
+ this.viewDisabled = true
|
|
|
+ this.approverDisabled = true
|
|
|
+ this.buttonLoading = false
|
|
|
+ })
|
|
|
+ },
|
|
|
//新增商品明细保存触发
|
|
|
rowSave(row, done, loading) {
|
|
|
// this.contactsData.push(row)
|