|
@@ -93,6 +93,10 @@
|
|
:scroll="{ x: 1500 }"
|
|
:scroll="{ x: 1500 }"
|
|
@change="handleTableChange"
|
|
@change="handleTableChange"
|
|
>
|
|
>
|
|
|
|
+ <span slot="action" slot-scope="text, record">
|
|
|
|
+ <a @click="handleApply(record)">发起申请</a>
|
|
|
|
+
|
|
|
|
+ </span>
|
|
</a-table>
|
|
</a-table>
|
|
</a-card>
|
|
</a-card>
|
|
|
|
|
|
@@ -190,6 +194,13 @@ export default {
|
|
className: 'replacecolor',
|
|
className: 'replacecolor',
|
|
},
|
|
},
|
|
{ title: '制单人', width: 120, dataIndex: 'makingPeople', ellipsis: true,className: 'replacecolor' },
|
|
{ title: '制单人', width: 120, dataIndex: 'makingPeople', ellipsis: true,className: 'replacecolor' },
|
|
|
|
+ {
|
|
|
|
+ title: '操作',
|
|
|
|
+ dataIndex: 'action',
|
|
|
|
+ scopedSlots: { customRender: 'action' },
|
|
|
|
+ align: 'center',
|
|
|
|
+ width: 80
|
|
|
|
+ }
|
|
|
|
|
|
],
|
|
],
|
|
fabricLossesData: [],
|
|
fabricLossesData: [],
|
|
@@ -243,6 +254,13 @@ export default {
|
|
this.queryParam.pageNo = pagination.current
|
|
this.queryParam.pageNo = pagination.current
|
|
this.getCostList()
|
|
this.getCostList()
|
|
},
|
|
},
|
|
|
|
+ handleApply(record){
|
|
|
|
+ var data = {
|
|
|
|
+ type:"面损表",
|
|
|
|
+ ccode:record.ccode,
|
|
|
|
+ };
|
|
|
|
+ window.parent.postMessage({msg:"startApply", data:data}, "*");
|
|
|
|
+ },
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
mounted() {}
|
|
mounted() {}
|