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" @searchTableSuccess="searchTableSuccess"
@submitForm="submitForm" @submitForm="submitForm"
@tableFormSelectOnBlur="tableFormSelectOnBlur" @tableFormSelectOnBlur="tableFormSelectOnBlur"
@clearSearchInput="clearSearchInput"
/> />
<!-- 详情 --> <!-- 详情 -->
@ -109,7 +110,16 @@ const tableColumns = ref([...UnplannedissueRequestMain.allSchemas.tableColumns,.
const updataTableColumns = (val) => { const updataTableColumns = (val) => {
tableColumns.value = 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 ) => { const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => {
nextTick(() => { nextTick(() => {

Loading…
Cancel
Save