Browse Source

HL-6178计划外出库申请,选择完成本中心代码、领用原因代码,换成本中心代码,应清空领用原因代码,现可直接保存成功,领用原因代码与成本中心类型不一致

hella_online_20241011
yufei_wang 2 months ago
parent
commit
76360b957e
  1. 12
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue

12
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue

@ -60,6 +60,7 @@
@searchTableSuccess="searchTableSuccess"
@submitForm="submitForm"
@tableFormSelectOnBlur="tableFormSelectOnBlur"
@clearSearchInput="clearSearchInput"
/>
<!-- 详情 -->
@ -109,7 +110,16 @@ const tableColumns = ref([...UnplannedissueRequestMain.allSchemas.tableColumns,.
const updataTableColumns = (val) => {
tableColumns.value = val
}
const clearSearchInput = (field)=>{
console.log('field',field)
if('costCenterCode' == field){
//
formRef.value.formRef.setValues({
reasonCodeRequisition: '',
costCenterType: ''
})
}
}
//
const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => {
nextTick(() => {

Loading…
Cancel
Save