|
@@ -259,6 +259,8 @@
|
|
|
<span>
|
|
|
<a id="btn" onClick={() => this.handleEdit(row.cdMaterialInId)}>编辑 </a>
|
|
|
<a-divider type="vertical" />
|
|
|
+ <a id="btn" onClick={() => this.print(row)}>打印</a>
|
|
|
+ <a-divider type="vertical" />
|
|
|
<a-popconfirm title="确定删除吗?" onConfirm={() => this.handleDelete(row.cdMaterialInId)} placement="topRight">
|
|
|
<a>删除</a>
|
|
|
</a-popconfirm>
|
|
@@ -293,6 +295,11 @@
|
|
|
this.$refs.multiAddModalForm.title = "新增";
|
|
|
this.$refs.multiAddModalForm.disableSubmit = false;
|
|
|
},
|
|
|
+ print(row){
|
|
|
+ debugger
|
|
|
+ var printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834588108278550528'+'?id='+row.cdMaterialInId
|
|
|
+ window.open(printMouldUrl)
|
|
|
+ },
|
|
|
loadData(arg) {
|
|
|
if(!this.url.list){
|
|
|
this.$message.error("请设置url.list属性!")
|