Browse Source

发料申请

hella_online_20240829
wangyufei 5 months ago
parent
commit
9a3f20b14c
  1. 2
      src/components/Form/src/Form.vue
  2. 8
      src/views/wms/issueManage/issue/issueRequestMain/index.vue

2
src/components/Form/src/Form.vue

@ -126,7 +126,7 @@ export default defineComponent({
} }
const clearSearchInput = (field) => { const clearSearchInput = (field) => {
emit('clearSearchInput') emit('clearSearchInput',field)
} }
expose({ expose({
setValues, setValues,

8
src/views/wms/issueManage/issue/issueRequestMain/index.vue

@ -61,6 +61,7 @@
@submitForm="submitForm" @submitForm="submitForm"
@onEnter="onEnter" @onEnter="onEnter"
@onChange="onChange" @onChange="onChange"
@clearSearchInput="onChange"
/> />
<!-- 详情 --> <!-- 详情 -->
@ -117,8 +118,15 @@ const onChange = async (field,value) => {
setV['productionLineCode'] = '' setV['productionLineCode'] = ''
setV['workStationCode'] = '' setV['workStationCode'] = ''
formRef.value.formRef.setValues(setV) formRef.value.formRef.setValues(setV)
}else if(field== 'productionLineCode'){
//线
const setV = {}
setV['workStationCode'] = ''
formRef.value.formRef.setValues(setV)
} }
} }
const onEnter = async (field,value) => { const onEnter = async (field,value) => {
if (field == 'productionLineCode') { if (field == 'productionLineCode') {
//线 //线

Loading…
Cancel
Save