|
@@ -9,6 +9,10 @@
|
|
|
3通过: 催办(disabled),修改(disabled), 撤销,下载
|
|
|
4已驳回:催办(disabled),修改,撤销,下载
|
|
|
5撤销:重新发起
|
|
|
+
|
|
|
+ TODO:
|
|
|
+ 采购通过
|
|
|
+ 申请合同呈批、采购明细、撤销(dis)、下载文件
|
|
|
-->
|
|
|
|
|
|
<!--
|
|
@@ -82,10 +86,9 @@ export default {
|
|
|
case 2:
|
|
|
temparr = [
|
|
|
urging,
|
|
|
- // TEMPORARY: 临时取消注释展示
|
|
|
{
|
|
|
...edit,
|
|
|
- disable: false
|
|
|
+ disable: true
|
|
|
},
|
|
|
revoke,
|
|
|
print
|
|
@@ -113,6 +116,25 @@ export default {
|
|
|
]
|
|
|
break;
|
|
|
}
|
|
|
+
|
|
|
+ // 通过状态
|
|
|
+ if (state === 3 && [1, 2].includes(this.module)) {
|
|
|
+ // 采购申请
|
|
|
+ if (this.module === 1) {
|
|
|
+ temparr.splice(0, 2, ...[
|
|
|
+ {
|
|
|
+ title: "申请合同呈批",
|
|
|
+ img: require('@/assets/approve/folder-up.png'),
|
|
|
+ event: this.handleJump2Contract
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: "采购明细",
|
|
|
+ img: require('@/assets/approve/procure.png'),
|
|
|
+ event: this.handleEvent
|
|
|
+ }
|
|
|
+ ])
|
|
|
+ }
|
|
|
+ }
|
|
|
} else if (flag === 'approve') {
|
|
|
switch (state) {
|
|
|
// 2待审核,3已审核,4收到的;三种状态
|
|
@@ -258,6 +280,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ // 跳转审核页面
|
|
|
handleGoExaminePage(type) {
|
|
|
const query = {
|
|
|
id: this.id,
|
|
@@ -274,6 +297,18 @@ export default {
|
|
|
query
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
+ // 跳转合同申请页面
|
|
|
+ handleJump2Contract() {
|
|
|
+ this.$router.replace({
|
|
|
+ name: 'Applyfor',
|
|
|
+ query: {
|
|
|
+ type: 9,
|
|
|
+ 'order_no': this.editData.order_no
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</script>
|