Browse Source

YT-1062:bug修复

intex
ljlong_2630 1 day ago
parent
commit
ea86cd343d
  1. 12
      src/components/ImportForm/src/ImportFormStep.vue
  2. 2
      src/views/wms/deliversettlementManage/directSupplyPinRecordMain/deliverRecordMain/deliverRecordMain.data.ts
  3. 1
      src/views/wms/deliversettlementManage/directSupplyPinRecordMain/deliverRecordMain/index.vue
  4. 1
      src/views/wms/deliversettlementManage/ftSuppliesRecordMain/deliverRecordMain/deliverRecordMain.data.ts
  5. 1
      src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue

12
src/components/ImportForm/src/ImportFormStep.vue

@ -228,6 +228,11 @@ const props = defineProps({
type:Boolean,
default:false
},
sourcePage:{
type:String,
required: false,
default:''
},
})
// tableObject
@ -326,6 +331,13 @@ const submitForm = async () => {
return;
}
if(props.sourcePage == 'inducedProduct'){
if(!formRef.value.formModel?.customerCode){
message.error('请输入客户代码')
return
}
}
const elForm = unref(formRef)?.getElFormRef()
//
if (!elForm) return

2
src/views/wms/deliversettlementManage/directSupplyPinRecordMain/deliverRecordMain/deliverRecordMain.data.ts

@ -330,6 +330,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
hiddenInMain: true,
},
{
label: '包装规格',
@ -396,6 +397,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
hiddenInMain: true,
},
{
label: '从库位',

1
src/views/wms/deliversettlementManage/directSupplyPinRecordMain/deliverRecordMain/index.vue

@ -69,7 +69,6 @@
@success="importSuccess"
:isShowDownloadBtn="true"
:extend="importExtend"
:formSchema="ExtendColumn.allSchemas.formSchema"
:rules="ExtendColumnRules"
accept=".xlsx,.xls"
:importTemplateData="importTemplateData"

1
src/views/wms/deliversettlementManage/ftSuppliesRecordMain/deliverRecordMain/deliverRecordMain.data.ts

@ -307,6 +307,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
hiddenInMain: true,
isTable: false,
},
{

1
src/views/wms/deliversettlementManage/inducedProduct/deliverRecordMain/index.vue

@ -73,6 +73,7 @@
:isShowDownloadBtn="false"
:confirmFormSuccess="confirmFormSuccess"
@searchTableSuccess="searchTableSuccess"
sourcePage="inducedProduct"
/>
</template>
<script setup lang="ts">

Loading…
Cancel
Save