|
@@ -57,6 +57,7 @@
|
|
|
<spec-maintenance v-if="specMaintenanceVisible" ref="specMaintenance" @refreshDataList="getList"></spec-maintenance>
|
|
|
<intact-detail v-if="intactDetailVisible" ref="intactDetail" @refreshDataList="getList"></intact-detail>
|
|
|
<kekao-detail v-if="kekaoDetailVisible" ref="kekaoDetail" @refreshDataList="getList"></kekao-detail>
|
|
|
+ <invoice-detail v-if="invoiceDetailVisible" ref="invoiceDetail" @refreshDataList="getList"></invoice-detail>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -73,10 +74,11 @@
|
|
|
import SpecMaintenance from "@/views/approve/approveDetail/specMaintenance-detail";
|
|
|
import IntactDetail from "@/views/approve/approveDetail/intact-detail";
|
|
|
import KekaoDetail from "@/views/approve/approveDetail/kekao-detail";
|
|
|
+ import InvoiceDetail from "@/views/approve/approveDetail/invoice-detail";
|
|
|
export default {
|
|
|
name: "Taskdone",
|
|
|
components: {
|
|
|
- Treeselect, AddOrUpdate,ProcessImg,SpecModify,SpecTrainingPlan,SpecMaintenance,IntactDetail,KekaoDetail
|
|
|
+ Treeselect, AddOrUpdate,ProcessImg,SpecModify,SpecTrainingPlan,SpecMaintenance,IntactDetail,KekaoDetail,InvoiceDetail
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -89,6 +91,7 @@
|
|
|
specMaintenanceVisible: false,
|
|
|
intactDetailVisible:false,
|
|
|
kekaoDetailVisible:false,
|
|
|
+ invoiceDetailVisible:false,
|
|
|
// 选中数组
|
|
|
ids: [],
|
|
|
// 非单个禁用
|
|
@@ -218,6 +221,13 @@
|
|
|
console.log(row.taskName)
|
|
|
this.$refs.kekaoDetail.init(row.approveObject.id, row.taskId, row.processId, row.taskName)
|
|
|
})
|
|
|
+ }else if (row.processName == "预约开票审批流程"){
|
|
|
+ this.invoiceDetailVisible = true
|
|
|
+ this.$nextTick(() => {
|
|
|
+ console.log(row)
|
|
|
+ console.log(row.approveObj)
|
|
|
+ this.$refs.invoiceDetail.init(row.approveObject.id, row.taskId, row.processId,row.taskName)
|
|
|
+ })
|
|
|
}else {
|
|
|
this.approveInfo = row;
|
|
|
this.infoTaskName = row.taskName;
|