diff --git a/src/views/contract/components/oaLink.vue b/src/views/contract/components/oaLink.vue
index 2868689..b910d9d 100644
--- a/src/views/contract/components/oaLink.vue
+++ b/src/views/contract/components/oaLink.vue
@@ -10,7 +10,8 @@
placeholder="请输入关键词">
查询
-
+
+
1){
this.$message.warning('只能选择一条流程关联')
return
}
+ let foreign_ids = this.joinIds(this.row.id,flowsList[0].out_contract_id)
+ console.log("flowsList",foreign_ids)
+ // return
oaSave({
foreign_field:'out_contract_id',
- foreign_id:this.row.id,
+ foreign_id:foreign_ids,
flow_id:flowsList[0].id
}).then(res=>{
this.$message.success('关联成功')
@@ -147,7 +171,9 @@
// 只保留最新选择的项
this.$refs.oaTable.clearSelection();
this.$refs.oaTable.toggleRowSelection(selectedRows[selectedRows.length - 1]);
- }
+ }
+ // this.$refs.oaTable.clearSelection();
+ // this.$refs.oaTable.toggleRowSelection(selectedRows);
}
}
}
diff --git a/src/views/contract/components/paymentRegistration.vue b/src/views/contract/components/paymentRegistration.vue
index 248530d..452dc99 100644
--- a/src/views/contract/components/paymentRegistration.vue
+++ b/src/views/contract/components/paymentRegistration.vue
@@ -72,6 +72,10 @@
+
+
+