Browse Source

达明--制品回收申请,任务,记录子表添加工位代码

hella_online_20240828
wangyufei 4 weeks ago
parent
commit
1637fb366f
  1. 8
      src/views/wms/productionManage/productredress/productredressJobMain/productredressJobMain.data.ts
  2. 8
      src/views/wms/productionManage/productredress/productredressRecordMain/productredressRecordMain.data.ts
  3. 75
      src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts

8
src/views/wms/productionManage/productredress/productredressJobMain/productredressJobMain.data.ts

@ -521,6 +521,14 @@ export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '工位代码',
field: 'workStationCode',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '包装号', label: '包装号',
field: 'packingNumber', field: 'packingNumber',

8
src/views/wms/productionManage/productredress/productredressRecordMain/productredressRecordMain.data.ts

@ -406,6 +406,14 @@ export const ProductredressRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
}, },
{
label: '工位代码',
field: 'workStationCode',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '包装号', label: '包装号',
field: 'packingNumber', field: 'packingNumber',

75
src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts

@ -7,6 +7,10 @@ import * as WorkshopApi from '@/api/wms/workshop'
import * as BalanceApi from '@/api/wms/balance' import * as BalanceApi from '@/api/wms/balance'
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' import { Balance } from '@/views/wms/inventoryManage/balance/balance.data'
import * as getBusinessTypeApi from '@/api/wms/businesstype/index' import * as getBusinessTypeApi from '@/api/wms/businesstype/index'
import * as WorkstationApi from '@/api/wms/workstation'
import { Workstation } from '@/views/wms/basicDataManage/factoryModeling/workstation/workstation.data'
const businessTypeQueryParams = { const businessTypeQueryParams = {
pageSize:10, pageSize:10,
pageNo:1, pageNo:1,
@ -566,6 +570,77 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
} }
}, },
{
label: '工位代码',
field: 'workStationCode',
sort: 'custom',
table: {
width: 150
},
isTable: true,
tableForm: {
isInpuFocusShow: true,
searchListPlaceholder: '请选择工位代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工位信息', // 查询弹窗标题
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类
searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法
searchCondition: [
{
key: 'productionLineCode',
value: 'productionLineCode',
message: '请填写生产线代码!',
isMainValue: true
},
{
key: 'available',
value: 'TRUE',
isMainValue: false
}
],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
enterSearch: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择工位代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工位信息', // 查询弹窗标题
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类
searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法
searchCondition: [
{
key: 'productionLineCode',
value: 'productionLineCode',
message: '请填写生产线代码!',
isMainValue: true
},
{
key: 'available',
value: 'TRUE',
isMainValue: false
}
],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
}
}
},
{ {
label: '包装号', label: '包装号',
field: 'packingNumber', field: 'packingNumber',

Loading…
Cancel
Save