|
@@ -260,10 +260,10 @@
|
|
|
<!-- 子表单区域 -->
|
|
|
<a-tabs v-model:activeKey="activeKey" animated style="padding: 24px; padding-top: 0px">
|
|
|
<a-tab-pane tab="采购订单 - 产品明细(product details)" key="purOrderFormShipFormProduct" :forceRender="true">
|
|
|
- <a-button type="primary" style="margin-right: 1%; margin-bottom: 1%" @click="selectSaleOrderList" :disabled="formData.sourceCode !== ''">
|
|
|
+ <a-button type="primary" style="margin-right: 1%; margin-bottom: 1%" @click="selectSaleOrderList" :disabled="disabled||formData.sourceCode !== ''">
|
|
|
选择销售订单(select saleorder)</a-button
|
|
|
>
|
|
|
- <a-button type="primary" style="margin-right: 1%; margin-bottom: 1%" @click="selectVirtualProducts">
|
|
|
+ <a-button type="primary" style="margin-right: 1%; margin-bottom: 1%" @click="selectVirtualProducts" :disabled="disabled">
|
|
|
选择虚拟产品(select virtual products)</a-button
|
|
|
>
|
|
|
<a-button
|
|
@@ -271,7 +271,7 @@
|
|
|
style="margin-right: 1%; margin-bottom: 1%"
|
|
|
@click="SelectSupplierQuotationList"
|
|
|
v-auth="'purCode:pur_order:selection'"
|
|
|
- :disabled="formData.sourceCode2 !== ''"
|
|
|
+ :disabled="disabled||formData.sourceCode2 !== ''"
|
|
|
>选择供应商报价选定(select supplier quotation selection)</a-button
|
|
|
>
|
|
|
<j-vxe-table
|
|
@@ -289,8 +289,8 @@
|
|
|
@value-change="changeValues"
|
|
|
>
|
|
|
<template #action="props" >
|
|
|
- <a-popconfirm title="确定删除吗?" @confirm="handleDelete(props)" v-if="!(formData.id!==''&&formData.submit == '1')">
|
|
|
- <a v-if="!(formData.id!==''&&formData.submit == '1')">删除(delete)</a>
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="handleDelete(props)" v-if="(!(formData.id!==''&&formData.submit == '1'))&&!disabled">
|
|
|
+ <a >删除(delete)</a>
|
|
|
</a-popconfirm>
|
|
|
</template>
|
|
|
</j-vxe-table>
|