|
@@ -92,7 +92,7 @@
|
|
|
<!-- 子表单区域 -->
|
|
|
<a-tabs v-model:activeKey="activeKey" animated style="padding: 24px; padding-top: 0px">
|
|
|
<a-tab-pane tab="佣金订单 - 产品明细(product details)" key="commissionOrderFormProduct" :forceRender="true">
|
|
|
- <a-button type="primary" style="margin-right: 1%;margin-bottom: 1%;" @click="selectProductList" :disabled="formData.commissionContractCode!==''"> 选择产品(select products)</a-button>
|
|
|
+ <a-button type="primary" style="margin-right: 1%;margin-bottom: 1%;" @click="selectProductList" :disabled="disabled||formData.commissionContractCode!==''"> 选择产品(select products)</a-button>
|
|
|
<j-vxe-table
|
|
|
:keep-source="true"
|
|
|
resizable
|
|
@@ -108,7 +108,7 @@
|
|
|
@valueChange="changeValues"
|
|
|
>
|
|
|
<template #action="props">
|
|
|
- <a-popconfirm title="确定删除吗?" @confirm="handleDelete(props)">
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="handleDelete(props)" v-if="!disabled">
|
|
|
<a>删除(delete)</a>
|
|
|
</a-popconfirm>
|
|
|
</template>
|