Browse Source

HL-5421修改物料隔离申请的新增表单,增加汇总页,以便于快速查看已选择的明细库存的汇总数量

hella_online_20240821
wangyufei 1 month ago
parent
commit
f001eab0a9
  1. 4
      src/components/BasicForm/src/BasicForm.vue
  2. 13
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue

4
src/components/BasicForm/src/BasicForm.vue

@ -85,7 +85,7 @@
label: '汇总', label: '汇总',
prop: 'CollectionTable' prop: 'CollectionTable'
}]" v-model="tabSheet" @change="tabChange"/> }]" v-model="tabSheet" @change="tabChange"/>
<div class="table" v-if="(tabSheet=='TableForm'&&isBusiness && formType == 'create' && fromeWhere != 'countPlan')||(tabSheet=='TableForm'&&isBusiness && formType == 'update' && updateTypeEdiltSubList && fromeWhere != 'countPlan')"> <div class="table" v-if="tableAllSchemas&&tableAllSchemas.tableFormColumns" v-show="(tabSheet=='TableForm'&&isBusiness && formType == 'create' && fromeWhere != 'countPlan')||(tabSheet=='TableForm'&&isBusiness && formType == 'update' && updateTypeEdiltSubList && fromeWhere != 'countPlan')">
<TableForm <TableForm
ref="tableFormRef" ref="tableFormRef"
class="w-[100%]" class="w-[100%]"
@ -123,7 +123,7 @@
</template> </template>
</TableForm> </TableForm>
</div> </div>
<div v-if="tabSheet=='TableForm'&&isBusiness && formType == 'create' && fromeWhere == 'countPlan'"> <div v-if="tableAllSchemas&&tableAllSchemas.tableFormColumns" v-show="tabSheet=='TableForm'&&isBusiness && formType == 'create' && fromeWhere == 'countPlan'">
<TableFormCountPlan <TableFormCountPlan
:tableFields="tableAllSchemas.tableFormColumns" :tableFields="tableAllSchemas.tableFormColumns"
:tableData="tableData" :tableData="tableData"

13
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue

@ -618,8 +618,19 @@ const formRef = ref()
const openForm =async (type: string, row?: number) => { const openForm =async (type: string, row?: number) => {
if(type=='create'){ if(type=='create'){
InventorymoveRequestMain.allSchemas.formSchema.forEach(item =>{ InventorymoveRequestMain.allSchemas.formSchema.forEach(item =>{
if(item.field == 'fromWarehouseCode'){
item.componentProps.isSearchList = true
item.componentProps.disabled = false
}
if(item.field == 'dueTime') { if(item.field == 'dueTime') {
item.value = dayjs().add(1, 'hour') item.value = dayjs().add(1, 'hour').valueOf()
}
})
}else{
InventorymoveRequestMain.allSchemas.formSchema.forEach(item =>{
if(item.field == 'fromWarehouseCode'){
item.componentProps.isSearchList = false
item.componentProps.disabled = true
} }
}) })
} }

Loading…
Cancel
Save