|
@@ -218,6 +218,20 @@
|
|
<!-- 操作 -->
|
|
<!-- 操作 -->
|
|
<template slot="action" slot-scope="text, record">
|
|
<template slot="action" slot-scope="text, record">
|
|
<div>
|
|
<div>
|
|
|
|
+ <a-button
|
|
|
|
+ size="small"
|
|
|
|
+ type="link"
|
|
|
|
+ class="button-warning"
|
|
|
|
+ v-if="record.billStatus == 'WAIT_AUDIT'&&$hasPermissions('B_salesAudit')"
|
|
|
|
+ @click="handleDetail(record,'salesNewDetailAudit')"
|
|
|
|
+ >审核</a-button>
|
|
|
|
+ <a-button
|
|
|
|
+ size="small"
|
|
|
|
+ type="link"
|
|
|
|
+ class="button-warning"
|
|
|
|
+ v-if="record.billStatus == 'WAIT_PUSH'&&$hasPermissions('B_salesDispatch')"
|
|
|
|
+ @click="handleDispatch(record)"
|
|
|
|
+ >下推</a-button>
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|
|
@@ -227,6 +241,15 @@
|
|
>
|
|
>
|
|
编辑
|
|
编辑
|
|
</a-button>
|
|
</a-button>
|
|
|
|
+ <a-button
|
|
|
|
+ size="small"
|
|
|
|
+ type="link"
|
|
|
|
+ class="button-info"
|
|
|
|
+ v-if="record.salesBillSource == 'PURCHASE' && (record.billStatus == 'WAIT_AUDIT' || record.billStatus == 'HQ_CHANGE') && $hasPermissions('B_salesEdit')"
|
|
|
|
+ @click="handleChangeOrder(record)"
|
|
|
|
+ >
|
|
|
|
+ 改单
|
|
|
|
+ </a-button>
|
|
<!-- 转单显示条件: 业务状态 待审核;非促销单;下级提交,且产品类型是“轮胎产品”的销售单 -->
|
|
<!-- 转单显示条件: 业务状态 待审核;非促销单;下级提交,且产品类型是“轮胎产品”的销售单 -->
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
@@ -247,29 +270,6 @@
|
|
>
|
|
>
|
|
上级审核
|
|
上级审核
|
|
</a-button>
|
|
</a-button>
|
|
- <a-button
|
|
|
|
- size="small"
|
|
|
|
- type="link"
|
|
|
|
- class="button-warning"
|
|
|
|
- v-if="record.billStatus == 'WAIT_AUDIT'&&$hasPermissions('B_salesAudit')"
|
|
|
|
- @click="handleDetail(record,'salesNewDetailAudit')"
|
|
|
|
- >审核</a-button>
|
|
|
|
- <a-button
|
|
|
|
- size="small"
|
|
|
|
- type="link"
|
|
|
|
- class="button-warning"
|
|
|
|
- v-if="record.billStatus == 'WAIT_PUSH'&&$hasPermissions('B_salesDispatch')"
|
|
|
|
- @click="handleDispatch(record)"
|
|
|
|
- >下推</a-button>
|
|
|
|
- <a-button
|
|
|
|
- size="small"
|
|
|
|
- type="link"
|
|
|
|
- class="button-info"
|
|
|
|
- v-if="record.salesBillSource == 'PURCHASE' && (record.billStatus == 'WAIT_AUDIT' || record.billStatus == 'HQ_CHANGE') && $hasPermissions('B_salesEdit')"
|
|
|
|
- @click="handleChangeOrder(record)"
|
|
|
|
- >
|
|
|
|
- 改单
|
|
|
|
- </a-button>
|
|
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|