Browse Source

HL-6187报废出库,09/27会议讨论决定,详见备注

hella_online_20241017
王宇飞 4 months ago
parent
commit
c961427a25
  1. 22
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  2. 57
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

22
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue

@ -735,17 +735,17 @@ const searchFormClick = (searchData) => {
getList() //
}
const onBlur = (field, e) => {
if (field == 'reason') {
detailRef.value.formRef.formRef.formModel[field] = e.target.value
}
}
const tableFormSelectOnBlur = (field, val, row, index) => {
if (field == 'reason') {
tableData.value[index][field] = val.target.value
}
}
// const onBlur = (field, e) => {
// if (field == 'reason') {
// detailRef.value.formRef.formRef.formModel[field] = e.target.value
// }
// }
// const tableFormSelectOnBlur = (field, val, row, index) => {
// if (field == 'reason') {
// tableData.value[index][field] = val.target.value
// }
// }
const inputNumberChange = (field, index, row, val) => {
if (field == 'qty' || field == 'singlePrice') {

57
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -300,24 +300,24 @@ export const ScrapRequestMain = useCrudSchemas(
width: 150
},
},
{
label: '出库原因',
field: 'outboundReason',
dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON,
dictClass: 'string',
table: {
width: 150
},
form: {
componentProps: {
filterable: true
}
},
tableForm: {
type: 'Select',
filterable: true
}
},
// {
// label: '出库原因',
// field: 'outboundReason',
// dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON,
// dictClass: 'string',
// table: {
// width: 150
// },
// form: {
// componentProps: {
// filterable: true
// }
// },
// tableForm: {
// type: 'Select',
// filterable: true
// }
// },
{
label: 'Q1通知单号',
field: 'q1Number',
@ -1159,7 +1159,26 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '报废原因',
field: 'reason',
field: 'scrap_reason',
dictType: DICT_TYPE.SCRAPPING_REASON,
dictClass: 'string',
isForm: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
filterable:true
},
},
{
label: '备注',
field: 'remark',
isForm: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},

Loading…
Cancel
Save