|
@ -58,7 +58,7 @@ |
|
|
<Detail ref="detailRef" :isBasic="true" :allSchemas="SupplierAddressModelDeli.allSchemas" /> |
|
|
<Detail ref="detailRef" :isBasic="true" :allSchemas="SupplierAddressModelDeli.allSchemas" /> |
|
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
<!-- 导入 --> |
|
|
<ImportForm ref="importFormRef" url="/basic/supplier-address-model-deli/import" :importTemplateData="importTemplateData" @success="importSuccess" /> |
|
|
<ImportForm ref="importFormRef" url="/wms/supplier-address-model-deli/import" :importTemplateData="importTemplateData" @success="importSuccess" /> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
@ -184,7 +184,11 @@ const openForm = (type: string, row?: any) => { |
|
|
row.shift.push('night') |
|
|
row.shift.push('night') |
|
|
} |
|
|
} |
|
|
SupplierAddressModelDeli.allSchemas.formSchema.forEach((item) => { |
|
|
SupplierAddressModelDeli.allSchemas.formSchema.forEach((item) => { |
|
|
|
|
|
// if(item.field == 'supplierCode'){ |
|
|
|
|
|
// item.componentProps.disabled = true |
|
|
|
|
|
// } |
|
|
if (item.field == 'supplierCode') { |
|
|
if (item.field == 'supplierCode') { |
|
|
|
|
|
item.componentProps.isSearchList = false |
|
|
item.componentProps.disabled = true |
|
|
item.componentProps.disabled = true |
|
|
} |
|
|
} |
|
|
if(item.field == 'supplierName'){ |
|
|
if(item.field == 'supplierName'){ |
|
|