|
@@ -295,10 +295,10 @@
|
|
|
<!-- 子表单区域 -->
|
|
|
<a-tabs v-model:activeKey="activeKey" animated style="padding: 24px; padding-top: 0px">
|
|
|
<a-tab-pane tab="销售报价单 - 产品明细(product details)" key="saleQuotationFormProduct" :forceRender="true">
|
|
|
- <a-button type="primary" @click="selectProducts" style="margin-right: 1%; margin-bottom: 1%"> 选择产品(select product)</a-button>
|
|
|
- <a-button type="primary" @click="chooseSupplier"> 选择供应商报价选定(select supplier quotation selection)</a-button>
|
|
|
- <a-button type="primary" @click="setSonList" style="margin-left: 1%; margin-bottom: 1%"> 配置毛利率(Configure gross margin)</a-button>
|
|
|
- <a-button type="primary" @click="setSonListDiscount" style="margin-left: 1%; margin-bottom: 1%"> 配置折扣(Configure discount)</a-button>
|
|
|
+ <a-button type="primary" @click="selectProducts" style="margin-right: 1%; margin-bottom: 1%" :disabled="disabled"> 选择产品(select product)</a-button>
|
|
|
+ <a-button type="primary" @click="chooseSupplier" :disabled="disabled"> 选择供应商报价选定(select supplier quotation selection)</a-button>
|
|
|
+ <a-button type="primary" @click="setSonList" style="margin-left: 1%; margin-bottom: 1%" :disabled="disabled"> 配置毛利率(Configure gross margin)</a-button>
|
|
|
+ <a-button type="primary" @click="setSonListDiscount" style="margin-left: 1%; margin-bottom: 1%" :disabled="disabled"> 配置折扣(Configure discount)</a-button>
|
|
|
<j-vxe-table
|
|
|
:keep-source="true"
|
|
|
resizable
|
|
@@ -317,14 +317,14 @@
|
|
|
<a @click="viewHistory">{{ props.row.lastPrice }}</a>
|
|
|
</template>
|
|
|
<template #action="props">
|
|
|
- <a-popconfirm title="确定删除吗?" @confirm="handleDelete1(props)" v-if="!(formData.id!==''&&formData.status == '1')">
|
|
|
- <a v-if="!(formData.id!==''&&formData.status == '1')">删除(delete)</a>
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="handleDelete1(props)" v-if="(!(formData.id!==''&&formData.status == '1'))&&!disabled">
|
|
|
+ <a >删除(delete)</a>
|
|
|
</a-popconfirm>
|
|
|
</template>
|
|
|
</j-vxe-table>
|
|
|
</a-tab-pane>
|
|
|
<a-tab-pane tab="销售报价单 - 船明细(ship details)" key="saleQuotationFormShip" :forceRender="true">
|
|
|
- <a-button type="primary" @click="selectShip"> 选择船(select ship)</a-button>
|
|
|
+ <a-button type="primary" @click="selectShip" :disabled="disabled"> 选择船(select ship)</a-button>
|
|
|
<j-vxe-table
|
|
|
:keep-source="true"
|
|
|
resizable
|
|
@@ -340,8 +340,8 @@
|
|
|
<template #action="props">
|
|
|
<a @click="viewAccessory(props)">查看配件信息(view accessory information)</a>
|
|
|
<a-divider type="vertical" />
|
|
|
- <a-popconfirm title="确定删除吗?" @confirm="handleDelete(props)">
|
|
|
- <a>删除(delete)</a>
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="handleDelete(props)" v-if="!disabled">
|
|
|
+ <a >删除(delete)</a>
|
|
|
</a-popconfirm>
|
|
|
</template>
|
|
|
</j-vxe-table>
|