Browse Source

YT-330班次应显示中文

syhx
zhaoyiran 1 month ago
parent
commit
2964ada21a
  1. 6
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
  2. 15
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts

6
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

@ -303,6 +303,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV[formField] = val[0][searchField]
formRef.setValues(setV)
}
const setV = {}
if (formField == 'shift') {
setV['shift'] = val[0]['code']
setV['shiftName'] = val[0]['name']
}
formRef.setValues(setV)
})
}
//

15
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts

@ -129,7 +129,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]>
}
},
{
label: '班次',
label: '班次代码',
field: 'shift',
sort: 'custom',
table: {
@ -161,6 +161,19 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]>
}
}
},
{
label: '班次名称',
field: 'shiftName',
sort: 'custom',
form: {
componentProps: {
disabled: true
}
},
table: {
width: 150
},
},
{
label: '从仓库代码',
field: 'fromWarehouseCode',

Loading…
Cancel
Save