Browse Source

送达日历导入修改

intex_online20250311
叶佳兴 4 weeks ago
parent
commit
8382ec66b5
  1. 2
      src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue
  2. 6
      src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue

2
src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue

@ -61,7 +61,7 @@
<Detail ref="detailRef" :isBasic="true" :allSchemas="DeliveryCalendar.allSchemas" /> <Detail ref="detailRef" :isBasic="true" :allSchemas="DeliveryCalendar.allSchemas" />
<!-- 导入 --> <!-- 导入 -->
<ImportForm ref="importFormRef" url="/basic/delivery-calendar/import" :importTemplateData="importTemplateData" @success="importSuccess" /> <ImportForm ref="importFormRef" url="/wms/delivery-calendar/import" :importTemplateData="importTemplateData" @success="importSuccess" />
</template> </template>
<script setup lang="ts"> <script setup lang="ts">

6
src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue

@ -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'){

Loading…
Cancel
Save