Browse Source

YT-1062:bug修复

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save