|
|
@@ -29,7 +29,7 @@
|
|
|
<el-tag type="primary" style="margin-right: 20px;">{{
|
|
|
getDict('is_enable').find(val => val.value == agreementInfo.isEnable)?.label}}</el-tag>
|
|
|
<el-tag type="success">{{getDict('valid_status').find(val => val.value == agreementInfo.validStatus)?.label
|
|
|
- }}</el-tag>
|
|
|
+ }}</el-tag>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-descriptions :column="3" style="margin-top: 10px;">
|
|
|
@@ -51,9 +51,9 @@
|
|
|
<el-tab-pane label="协议信息" name="agreementInfo">
|
|
|
<el-descriptions title="基本信息" class="m-top-20" :column="3">
|
|
|
<el-descriptions-item label="协议名称:">{{ agreementInfo.agreementTitle
|
|
|
- }}</el-descriptions-item>
|
|
|
+ }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="协议简称:">{{ agreementInfo.agreementAbbreviation
|
|
|
- }}</el-descriptions-item>
|
|
|
+ }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="协议生效时间:">{{ agreementInfo.startDate }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="协议失效时间:">{{ agreementInfo.endDate }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="是否含增值税结算:">
|
|
|
@@ -117,7 +117,7 @@
|
|
|
<div class="flex a-c">
|
|
|
<img src="../../../assets/images/fee.png" alt="">
|
|
|
<span style="margin-right: 30px;font-size: 16px;" class="strong m-left-10">承保规则一{{ index + 1
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
<div class="flex">
|
|
|
<el-button link type="primary" :icon="CopyDocument" @click="ruleCopy(item.id)">复制</el-button>
|
|
|
@@ -149,12 +149,12 @@
|
|
|
<el-tab-pane v-for="(costitem, costindex) in item.costVoList" :key="costindex"
|
|
|
:label="costitem.productName" :name="costitem.productName">
|
|
|
<span class="strong">{{ costitem.productName }}费用({{ costitem.ptlAgreementCostVoList.length
|
|
|
- }}条)</span>
|
|
|
+ }}条)</span>
|
|
|
<el-button type="primary" link @click="handleUpdateValidDate()"> 批量设置有效期
|
|
|
</el-button>
|
|
|
<el-button type="primary" link @click="handleUpdateCostRatio()"> 批量设置比例
|
|
|
</el-button>
|
|
|
- <el-button type="primary" link @click="handleCopy(item,costitem)"> 批量复制
|
|
|
+ <el-button type="primary" link @click="handleCopy(item, costitem)"> 批量复制
|
|
|
</el-button>
|
|
|
<ComplexTable showSelect :tableData="costitem.ptlAgreementCostVoList" :columns="columns"
|
|
|
:showIndex="false" tableheight="auto" :columnwidth="200" @selectionChange="(arr) => costIds = arr"
|
|
|
@@ -844,6 +844,7 @@ const columns = computed(() => [
|
|
|
},
|
|
|
{
|
|
|
prop: "isValid", label: "有效状态", width: '200', filters: getDict('valid_status').map(v => ({ text: v.label, value: Number(v.value) })),
|
|
|
+ filteredValue: [0],
|
|
|
component: "Tag",
|
|
|
formatter: (row: any) => {
|
|
|
let name = getDict('valid_status').find(val => val.value == row.isValid).label
|
|
|
@@ -964,8 +965,8 @@ const costitemObj = ref({})
|
|
|
const agreementList = ref([])
|
|
|
const rulesList = ref([])
|
|
|
/** 复制操作处理:记录当前行的ID并打开复制确认对话框 */
|
|
|
-const handleCopy = (item,costitem) => {
|
|
|
- costitemObj.value=costitem
|
|
|
+const handleCopy = (item, costitem) => {
|
|
|
+ costitemObj.value = costitem
|
|
|
coverRuleId.value = item.id
|
|
|
openDialog()
|
|
|
}
|
|
|
@@ -1230,7 +1231,7 @@ const ruleConditionSave = (rulesAttrList: string[]) => {//获取规则条件选
|
|
|
//条件删除
|
|
|
const rulesAttrDel = (index: number, rules) => {
|
|
|
rules.rulesAttrList.splice(index, 1)
|
|
|
- if(!rules.rulesAttrList.length) rulesAttrListInfo.rulesGroups=rulesAttrListInfo.rulesGroups.filter(v=>v.timeId !== rules.timeId)
|
|
|
+ if (!rules.rulesAttrList.length) rulesAttrListInfo.rulesGroups = rulesAttrListInfo.rulesGroups.filter(v => v.timeId !== rules.timeId)
|
|
|
}
|
|
|
//多选框事件数据格式处理
|
|
|
const rulesAttrselectChange = (item: any, rules) => {
|