|
@@ -78,7 +78,7 @@
|
|
<!-- table区域-begin -->
|
|
<!-- table区域-begin -->
|
|
<div>
|
|
<div>
|
|
<!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
<!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
- <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
|
|
|
|
+ <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <div style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
</div> -->
|
|
</div> -->
|
|
|
|
|
|
@@ -115,11 +115,16 @@
|
|
</a-button>
|
|
</a-button>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
+ <span slot="download" slot-scope="text, record">
|
|
|
|
+ <a v-if="record.shenheStatus ==1" @click="handleDownload(record)">下载委托</a>
|
|
|
|
+ <a v-if="record.shenheStatus !=1" disabled>下载委托</a>
|
|
|
|
+ </span>
|
|
|
|
+
|
|
<span slot="action" slot-scope="text, record">
|
|
<span slot="action" slot-scope="text, record">
|
|
<!-- <a @click="handleEdit(record)">编辑</a> -->
|
|
<!-- <a @click="handleEdit(record)">编辑</a> -->
|
|
<a @click="handleDetail(record)">详情</a>
|
|
<a @click="handleDetail(record)">详情</a>
|
|
- <a-divider type="vertical" v-if="record.shenheStatus ==1"/>
|
|
|
|
- <a v-if="record.shenheStatus ==1" @click="handleDownload(record)">下载委托</a>
|
|
|
|
|
|
+ <!-- <a-divider type="vertical" v-if="record.shenheStatus ==1"/>
|
|
|
|
+ <a v-if="record.shenheStatus ==1" @click="handleDownload(record)">下载委托</a> -->
|
|
|
|
|
|
<!-- <a-divider type="vertical" />
|
|
<!-- <a-divider type="vertical" />
|
|
<a-dropdown>
|
|
<a-dropdown>
|
|
@@ -246,6 +251,26 @@
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex:'shenheStatus_dictText'
|
|
dataIndex:'shenheStatus_dictText'
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ title:'下载',
|
|
|
|
+ align:"center",
|
|
|
|
+ fixed:"right",
|
|
|
|
+ width:70,
|
|
|
|
+ dataIndex:'download',
|
|
|
|
+ // scopedSlots: { customRender: 'download' },
|
|
|
|
+ customRender:function (t,r,index) {
|
|
|
|
+ const that = this
|
|
|
|
+ var childrenVal
|
|
|
|
+ childrenVal = (<div onclick={()=>{that.handleDownload(record)}} >下载委托</div>)
|
|
|
|
+ return {
|
|
|
|
+ children: childrenVal,
|
|
|
|
+ attrs: {
|
|
|
|
+ rowSpan: r.rowSpan
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ // return {children: <a onclick={()=>{that.handleDownload(record)}} >下载委托</a>,attrs: {rowSpan:r.rowSpan}};
|
|
|
|
+ },
|
|
|
|
+ },
|
|
// {
|
|
// {
|
|
// title:'生产厂家',
|
|
// title:'生产厂家',
|
|
// align:"center",
|
|
// align:"center",
|