Browse Source

解决线上问题 新增生产条码清单管理提示是否可用不能为空

linshi20240813
chenfang 4 months ago
parent
commit
5688ab6d73
  1. 1
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue
  2. 6
      src/views/wms/buttMesManage/mesBarCode/index.vue

1
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue

@ -187,6 +187,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
newRow['fromPackingNumber'] = item['packingNumber']
newRow['toBatch'] = item['batch']
newRow['fromLocationCode'] = item['locationCode']
newRow['toLocationCode'] = item['locationCode']
newRow['inventoryStatus'] = item['inventoryStatus']
newRow['packUnit'] = item['packUnit']
newRow['packQty'] = item['packQty']

6
src/views/wms/buttMesManage/mesBarCode/index.vue

@ -72,6 +72,8 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { getTenantId }from '@/utils/auth'
defineOptions({ name: 'MesBarCode' })
@ -83,6 +85,9 @@ const routeName = ref()
routeName.value = route.name
const tableColumns = ref(MesBarCode.allSchemas.tableColumns)
let names =[{"text":"1379","value":1},{"text":"1397","value":2},{"text":"2379","value":3}]
let tenant = names.find(item=>item.value == getTenantId())
//
const searchTableSuccess = (formField, searchField, val, formRef) => {
nextTick(() => {
@ -165,6 +170,7 @@ const formsSuccess = async (formType,data) => {
basicFormRef.value.formLoading = true
try {
if (formType === 'create') {
data.plnt = tenant?.text
await MesBarCodeApi.createMesBarCode(data)
message.success(t('common.createSuccess'))
} else {

Loading…
Cancel
Save