|
@@ -9,7 +9,7 @@
|
|
|
<hc-new-card w-to="1919">
|
|
|
<template #headerToSearch>
|
|
|
<div class="w-50">
|
|
|
- <el-select v-model="searchForm.contractId" placeholder="选择合同段" filterable clearable block>
|
|
|
+ <el-select v-model="searchForm.contractId" placeholder="选择合同段" filterable block>
|
|
|
<el-option v-for="item in contractData" :key="item.id" :label="item.contractName" :value="item.id" />
|
|
|
</el-select>
|
|
|
</div>
|
|
@@ -196,7 +196,11 @@ const getContractData = async () => {
|
|
|
projectId: projectId.value,
|
|
|
contractId: contractId.value,
|
|
|
})
|
|
|
- contractData.value = getArrValue(data)
|
|
|
+ const res = getArrValue(data)
|
|
|
+ contractData.value = res
|
|
|
+ if (res.length > 0) {
|
|
|
+ searchForm.value.contractId = res[0].id
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//获取状态
|
|
@@ -308,7 +312,8 @@ const rowEdit = (row) => {
|
|
|
|
|
|
//创建委托
|
|
|
const creatingDelegate = async () => {
|
|
|
- delegateModalClose()
|
|
|
+ console.log(delegateHtmlForm.value)
|
|
|
+ //delegateModalClose()
|
|
|
}
|
|
|
|
|
|
//关闭委托
|
|
@@ -383,6 +388,9 @@ const rowActionModalClose = () => {
|
|
|
.hc-delegate-html {
|
|
|
position: relative;
|
|
|
height: calc(100% - 40px);
|
|
|
+ .hc-table-form-data-item {
|
|
|
+ background-color: #efefef;
|
|
|
+ }
|
|
|
&::after {
|
|
|
content: "";
|
|
|
position: absolute;
|