Browse Source

包装信息隐藏标签数量,生产线改为放大镜选择

linshi20240813
TengXF 3 months ago
parent
commit
2b0cc9463f
  1. 23
      src/views/wms/inventoryManage/package/package.data.ts

23
src/views/wms/inventoryManage/package/package.data.ts

@ -20,6 +20,10 @@ import { formatTime } from '@/utils/index'
import { import {
Supplieritem Supplieritem
} from "@/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data"; } from "@/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data";
import {
Productionline
} from "@/views/wms/basicDataManage/factoryModeling/productionline/productionline.data";
import * as ProductionlineApi from "@/api/wms/productionline";
// 表单校验 // 表单校验
export const PackageRules = reactive({ export const PackageRules = reactive({
@ -502,7 +506,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
label: '标签数量', label: '标签数量',
field: 'count', field: 'count',
sort: 'custom', sort: 'custom',
isTable: true, isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -570,6 +574,23 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150, width: 150,
}, },
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
multiple:true,
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '生产线信息', // 查询弹窗标题
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
}
}, },
// { // {
// label: '班组代码', // label: '班组代码',

Loading…
Cancel
Save