diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 4db6e2269..9d7588f3d 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -430,4 +430,5 @@ export enum DICT_TYPE {
INVENTORY_MODE = "inventory_mode",
INVOICE_TYPE = 'invoice_type', // 开票种类
DELISHIF = "deliShif",// 班次
+ IS_RECEIVE = "is_receive",//是否生成
}
diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordWMS/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordWMS/index.vue
new file mode 100644
index 000000000..db635b889
--- /dev/null
+++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordWMS/index.vue
@@ -0,0 +1,382 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.number }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordWMS/supplierdeliverRecordMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordWMS/supplierdeliverRecordMain.data.ts
new file mode 100644
index 000000000..38bf53e81
--- /dev/null
+++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordWMS/supplierdeliverRecordMain.data.ts
@@ -0,0 +1,1431 @@
+import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
+import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
+
+/**
+ * @returns {Array} 供应商发货记录主表
+ */
+export const SupplierdeliverRecordMain = useCrudSchemas(reactive([
+ {
+ label: '单据号',
+ field: 'number',
+ sort: 'custom',
+ table: {
+ width: 180,
+ fixed: 'left'
+ },
+ isSearch: true,
+ sortTableDefault:1
+ },
+ {
+ label: '发货单号',
+ field: 'asnNumber',
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ isSearch: true,
+ sortTableDefault:2
+ },
+ {
+ label: '要货计划单号',
+ field: 'ppNumber',
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ sortTableDefault:3
+ },
+ {
+ label: '便次',
+ field: 'deliNo',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form: {
+ component: 'InputNumber',
+ componentProps: {
+ min: 1,
+ disabled: true
+ },
+ },
+ },
+ {
+ label: '申请单号',
+ field: 'requestNumber',
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ isSearch: true,
+ isTable:false
+ ,
+ sortTableDefault:4
+ },
+ {
+ label: '是否生成',
+ field: 'isReceive',
+ dictType: DICT_TYPE.IS_RECEIVE,
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ isSearch: true,
+ isTable:true
+ ,
+ sortTableDefault:5
+ },
+ {
+ label: '备注',
+ field: 'remark',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: true,
+ isDetail: true,
+ sortTableDefault:6
+ },
+ {
+ label: '供应商代码',
+ field: 'supplierCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isSearch: true
+ },
+ {
+ label: '供应商名称',
+ field: 'supplierName',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isSearch: true
+ },
+ {
+ label: '联系人姓名',
+ field: 'contactName',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable:false,
+ },
+ {
+ label: '联系人电话',
+ field: 'contactPhone',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '联系人电子邮件',
+ field: 'contactEmail',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '从仓库代码',
+ field: 'fromWarehouseCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '到仓库代码',
+ field: 'toWarehouseCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '到月台代码',
+ field: 'toDockCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '时间窗口',
+ field: 'timeWindow',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '计划到货时间',
+ field: 'planArriveTime',
+ formatter: dateFormatter,
+ detail: {
+ dateFormat: 'YYYY-MM-DD HH:mm:ss'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ type: 'datetime',
+ dateFormat: 'YYYY-MM-DD HH:mm:ss',
+ valueFormat: 'x',
+ }
+ },
+ },
+ {
+ label: '承运商',
+ field: 'carrierCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '运输方式',
+ field: 'transferMode',
+ dictType: DICT_TYPE.TRANSFER_MODE,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '车牌号',
+ field: 'vehiclePlateNumber',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ },
+ {
+ label: '出库事务类型',
+ field: 'outTransaction',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ isDetail: false
+ },
+ {
+ label: '入库事务类型',
+ field: 'inTransaction',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ isDetail: false
+ },
+ {
+ label: '执行时间',
+ field: 'executeTime',
+ formatter: dateFormatter,
+ detail: {
+ dateFormat: 'YYYY-MM-DD HH:mm:ss'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ type: 'datetime',
+ dateFormat: 'YYYY-MM-DD HH:mm:ss',
+ valueFormat: 'x',
+ }
+ },
+ isTable: false,
+ isDetail:false
+ },
+ {
+ label: '生效日期',
+ field: 'activeDate',
+ formatter: dateFormatter2,
+ detail: {
+ dateFormat: 'YYYY-MM-DD'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ style: {width: '100%'},
+ type: 'date',
+ dateFormat: 'YYYY-MM-DD',
+ valueFormat: 'x',
+ }
+ },
+ isTable: false,
+ },
+ {
+ label: '申请时间',
+ field: 'requestTime',
+ formatter: dateFormatter,
+ detail: {
+ dateFormat: 'YYYY-MM-DD HH:mm:ss'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ type: 'datetime',
+ dateFormat: 'YYYY-MM-DD HH:mm:ss',
+ valueFormat: 'x',
+ }
+ },
+ isTable: false,
+ isDetail: false
+ },
+ {
+ label: '截止时间',
+ field: 'dueTime',
+ formatter: dateFormatter,
+ detail: {
+ dateFormat: 'YYYY-MM-DD HH:mm:ss'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ type: 'datetime',
+ dateFormat: 'YYYY-MM-DD HH:mm:ss',
+ valueFormat: 'x',
+ }
+ },
+ isTable: false,
+ isDetail: false
+ },
+ {
+ label: '部门',
+ field: 'departmentCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ isDetail: false
+ },
+ {
+ label: '接口类型',
+ field: 'interfaceType',
+ dictType: DICT_TYPE.INTERFACE_TYPE,
+ dictClass: 'string',
+ isTable: false,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isDetail: false
+ },
+ {
+ label: '业务类型',
+ field: 'businessType',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTable: false,
+ isDetail: false
+ },
+
+ {
+ label: '创建时间',
+ field: 'createTime',
+ formatter: dateFormatter,
+ detail: {
+ dateFormat: 'YYYY-MM-DD HH:mm:ss'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ type: 'datetime',
+ dateFormat: 'YYYY-MM-DD HH:mm:ss',
+ valueFormat: 'x',
+ }
+ },
+ isSearch: true,
+ search: {
+ component: 'DatePicker',
+ componentProps: {
+ valueFormat: 'YYYY-MM-DD HH:mm:ss',
+ type: 'daterange',
+ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
+ }
+ },
+ isTable: true,
+ sortTableDefault:7
+ },
+ {
+ label: '创建者',
+ field: 'creator',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ sortTableDefault: 1000,
+ isTable: false,
+ },
+ {
+ label: '是否可用',
+ field: 'available',
+ dictType: DICT_TYPE.TRUE_FALSE,
+ dictClass: 'string',
+ isTable: false,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isDetail: false,
+ },
+ // {
+ // label: '操作',
+ // field: 'action',
+ // isDetail: false,
+ // isForm: false,
+ // table: {
+ // width: 300,
+ // fixed: 'right'
+ // },
+ // }
+]))
+
+//表单校验
+export const SupplierdeliverRecordMainRules = reactive({
+ requestNumber: [
+ { required: true, message: '请输入申请单号', trigger: 'blur' }
+ ],
+ supplierCode: [
+ { required: true, message: '请输入供应商代码', trigger: 'blur' }
+ ],
+ fromWarehouseCode: [
+ { required: true, message: '请输入从仓库代码', trigger: 'blur' }
+ ],
+ toWarehouseCode: [
+ { required: true, message: '请输入到仓库代码', trigger: 'blur' }
+ ],
+ toDockCode: [
+ { required: true, message: '请输入到月台代码', trigger: 'blur' }
+ ],
+ planArriveTime: [
+ { required: true, message: '请输入计划到货时间', trigger: 'blur' }
+ ],
+ outTransaction: [
+ { required: true, message: '请输入出库事务类型', trigger: 'blur' }
+ ],
+ inTransaction: [
+ { required: true, message: '请输入入库事务类型', trigger: 'blur' }
+ ],
+ executeTime: [
+ { required: true, message: '请输入执行时间', trigger: 'blur' }
+ ],
+ activeDate: [
+ { required: true, message: '请输入生效日期', trigger: 'blur' }
+ ],
+ available: [
+ { required: true, message: '请输入是否可用', trigger: 'blur' }
+ ],
+ departmentCode: [
+ { required: true, message: '请输入部门', trigger: 'blur' }
+ ],
+ interfaceType: [
+ { required: true, message: '请选择接口类型', trigger: 'change' }
+ ],
+ number: [
+ { required: true, message: '请输入单据号', trigger: 'blur' }
+ ],
+ businessType: [
+ { required: true, message: '请输入业务类型', trigger: 'blur' }
+ ],
+ createTime: [
+ { required: true, message: '请输入创建时间', trigger: 'blur' }
+ ],
+ creator: [
+ { required: true, message: '请输入创建者', trigger: 'blur' }
+ ],
+})
+
+/**
+ * @returns {Array} 供应商发货记录子表
+ */
+export const SupplierdeliverRecordDetail = useCrudSchemas(reactive([
+ {
+ label: '单据号',
+ field: 'number',
+ sort: 'custom',
+ hiddenInMain: true,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '订单号',
+ field: 'poNumber',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '订单行',
+ field: 'poLine',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '品番',
+ field: 'itemCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '品名',
+ field: 'itemName',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '背番',
+ field: 'backNumber',
+ sort: 'custom',
+ isSearch: true,
+ hiddenSearchHigh:true,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '供应商发货数量',
+ field: 'supplierQty',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form: {
+ component: 'InputNumber',
+ }
+ },
+ {
+ label: '供应商发货计量单位',
+ field: 'supplierUom',
+ dictType: DICT_TYPE.UOM,
+ dictClass: 'string',
+ isTable: true,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '库存数量',
+ field: 'qty',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form: {
+ component: 'InputNumber',
+ }
+ },
+ {
+ label: '库存计量单位',
+ field: 'uom',
+ dictType: DICT_TYPE.UOM,
+ dictClass: 'string',
+ isTable: true,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '转换率',
+ field: 'convertRate',
+ isTable: true,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '从包装号',
+ field: 'fromPackingNumber',
+ sort: 'custom',
+ hiddenInMain: true,
+ isTable:false,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '包装号',
+ field: 'toPackingNumber',
+ sort: 'custom',
+ hiddenInMain: true,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '从批次',
+ field: 'toBatch',
+ sort: 'custom',
+ hiddenInMain: true,
+ isTable: false,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '批次',
+ field: 'toBatch',
+ sort: 'custom',
+ hiddenInMain: true,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '到货日期',
+ field: 'arriveDate',
+ formatter: dateFormatter2,
+ detail: {
+ dateFormat: 'YYYY-MM-DD'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ style: { width: '100%' },
+ type: 'date',
+ dateFormat: 'YYYY-MM-DD',
+ valueFormat: 'x',
+ }
+ },
+ },
+ {
+ label: '取货日期',
+ field: 'pickDate',
+ formatter: dateFormatter2,
+ detail: {
+ dateFormat: 'YYYY-MM-DD'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ style: { width: '100%' },
+ type: 'date',
+ dateFormat: 'YYYY-MM-DD',
+ valueFormat: 'x',
+ }
+ },
+ },
+ {
+ label: '生产日期',
+ field: 'produceDate',
+ formatter: dateFormatter2,
+ detail: {
+ dateFormat: 'YYYY-MM-DD'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ style: { width: '100%' },
+ type: 'date',
+ dateFormat: 'YYYY-MM-DD',
+ valueFormat: 'x',
+ }
+ },
+ },
+ {
+ label: '过期日期',
+ field: 'expireDate',
+ formatter: dateFormatter2,
+ detail: {
+ dateFormat: 'YYYY-MM-DD'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ style: { width: '100%' },
+ type: 'date',
+ dateFormat: 'YYYY-MM-DD',
+ valueFormat: 'x',
+ }
+ },
+ },
+ {
+ label: '包装数量',
+ field: 'packQty',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ hiddenInMain: true,
+ isTable: false,
+ form: {
+ component: 'InputNumber',
+ }
+ },
+ {
+ label: '包装规格',
+ field: 'packUnit',
+ dictClass: 'string',
+ isTable: true,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '从库位代码',
+ field: 'fromLocationCode',
+ sort: 'custom',
+ hiddenInMain: true,
+ isTable: false,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '到库位代码',
+ field: 'toLocationCode',
+ sort: 'custom',
+ hiddenInMain: true,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '从库位组代码',
+ field: 'fromLocationGroupCode',
+ sort: 'custom',
+ hiddenInMain: true,
+ isTable: false,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '到库位组代码',
+ field: 'toLocationGroupCode',
+ sort: 'custom',
+ hiddenInMain: true,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '从库区代码',
+ field: 'fromAreaCode',
+ sort: 'custom',
+ hiddenInMain: true,
+ isTable: false,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '到库区代码',
+ field: 'toAreaCode',
+ sort: 'custom',
+ hiddenInMain: true,
+ table: {
+ width: 150
+ },
+ },
+
+ {
+ label: '背番',
+ field: 'itemDesc1',
+ sort: 'custom',
+ hiddenInMain: true,
+ isTable: false,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '描述',
+ field: 'itemDesc2',
+ sort: 'custom',
+ hiddenInMain: true,
+ isTable: false,
+ table: {
+ width: 150
+ },
+ },
+ {
+ label: '备注',
+ field: 'remark',
+ sort: 'custom',
+ hiddenInMain: true,
+ table: {
+ width: 150
+ },
+ },
+
+ // {
+ // label: '操作',
+ // hiddenInMain:true,
+ // field: 'action',
+ // isDetail: false,
+ // isForm: false ,
+ // table: {
+ // width: 150,
+ // fixed: 'right'
+ // },
+ // isTableForm:true,
+ // }
+]))
+
+//表单校验
+export const SupplierdeliverRecordDetailRules = reactive({
+ fromPackingNumber: [
+ { required: true, message: '请输入从包装号', trigger: 'blur' }
+ ],
+ toPackingNumber: [
+ { required: true, message: '请输入到包装号', trigger: 'blur' }
+ ],
+ fromBatch: [
+ { required: true, message: '请输入从批次', trigger: 'blur' }
+ ],
+ toBatch: [
+ { required: true, message: '请输入到批次', trigger: 'blur' }
+ ],
+ arriveDate: [
+ { required: true, message: '请输入到货日期', trigger: 'blur' }
+ ],
+ produceDate: [
+ { required: true, message: '请输入生产日期', trigger: 'blur' }
+ ],
+ expireDate: [
+ { required: true, message: '请输入到货日期', trigger: 'blur' }
+ ],
+ poNumber: [
+ { required: true, message: '请输入订单号', trigger: 'blur' }
+ ],
+ poLine: [
+ { required: true, message: '请输入订单行', trigger: 'blur' }
+ ],
+ packQty: [
+ { required: true, message: '请输入包装数量', trigger: 'blur' }
+ ],
+ packUnit: [
+ { required: true, message: '请选择包装规格', trigger: 'blur' }
+ ],
+ toLocationCode: [
+ { required: true, message: '请输入到库位代码', trigger: 'blur' }
+ ],
+ toLocationGroupCode: [
+ { required: true, message: '请输入到库位组代码', trigger: 'change' }
+ ],
+ toAreaCode: [
+ { required: true, message: '请输入到库区代码', trigger: 'blur' }
+ ],
+ number: [
+ { required: true, message: '请输入单据号', trigger: 'blur' }
+ ],
+ itemCode: [
+ { required: true, message: '请输入品番', trigger: 'blur' }
+ ],
+ createTime: [
+ { required: true, message: '请输入创建时间', trigger: 'blur' }
+ ],
+ creator: [
+ { required: true, message: '请输入创建者', trigger: 'blur' }
+ ],
+})
+
+
+/**
+ * @returns {Array} 供应商发货记录子表根据包装号展示
+ */
+export const SupplierdeliverRecordDetailPickingNumer = useCrudSchemas(reactive([
+ {
+ label: '包装号',
+ field: 'packingNumber',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '订单号',
+ field: 'poNumber',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '订单行',
+ field: 'poLine',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '订单数量',
+ field: 'orderQty',
+ table: {
+ width: 150
+ },
+ form: {
+ component: 'InputNumber',
+ componentProps: {
+ disabled: true,
+ min: 0,
+ precision: 6
+ }
+ },
+ tableForm: {
+ disabled: true,
+ type: 'InputNumber',
+ min: 0,
+ precision: 6
+ }
+ },
+ {
+ label: '品番',
+ field: 'itemCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '数量',
+ field: 'qty',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form: {
+ component: 'InputNumber',
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '包装数量',
+ field: 'packQty',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form: {
+ component: 'InputNumber',
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '包装规格',
+ field: 'packUnit',
+ dictClass: 'string',
+ isTable: true,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '供应商计量数量',
+ field: 'supplierQty',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form: {
+ component: 'InputNumber',
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '供应商计量单位',
+ field: 'supplierUom',
+ dictType: DICT_TYPE.UOM,
+ dictClass: 'string',
+ isTable: true,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '到货日期',
+ field: 'arriveDate',
+ formatter: dateFormatter2,
+ detail: {
+ dateFormat: 'YYYY-MM-DD'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ disabled: true,
+ style: {width: '100%'},
+ type: 'date',
+ dateFormat: 'YYYY-MM-DD',
+ valueFormat: 'x',
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '生产日期',
+ field: 'produceDate',
+ formatter: dateFormatter2,
+ detail: {
+ dateFormat: 'YYYY-MM-DD'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ disabled: true,
+ style: {width: '100%'},
+ type: 'date',
+ dateFormat: 'YYYY-MM-DD',
+ valueFormat: 'x',
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '过期日期',
+ field: 'expireDate',
+ formatter: dateFormatter2,
+ detail: {
+ dateFormat: 'YYYY-MM-DD'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ disabled: true,
+ style: {width: '100%'},
+ type: 'date',
+ dateFormat: 'YYYY-MM-DD',
+ valueFormat: 'x',
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+
+ {
+ label: '从库位代码',
+ field: 'fromLocationCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '到库位代码',
+ field: 'toLocationCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '从库位组代码',
+ field: 'fromLocationGroupCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '到库位组代码',
+ field: 'toLocationGroupCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '从库区代码',
+ field: 'fromAreaCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '到库区代码',
+ field: 'toAreaCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '从货主代码',
+ field: 'fromOwnerCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '到货主代码',
+ field: 'toOwnerCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+
+ {
+ label: '品名',
+ field: 'itemName',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '背番',
+ field: 'itemDesc1',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '描述',
+ field: 'itemDesc2',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '项目代码',
+ field: 'projectCode',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+
+ {
+ label: '计量单位',
+ field: 'uom',
+ dictType: DICT_TYPE.UOM,
+ dictClass: 'string',
+ isTable: true,
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '单据号',
+ field: 'number',
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '备注',
+ field: 'remark',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '创建时间',
+ field: 'createTime',
+ formatter: dateFormatter,
+ detail: {
+ dateFormat: 'YYYY-MM-DD HH:mm:ss'
+ },
+ sort: 'custom',
+ table: {
+ width: 180
+ },
+ form: {
+ component: 'DatePicker',
+ componentProps: {
+ disabled: true,
+ type: 'datetime',
+ dateFormat: 'YYYY-MM-DD HH:mm:ss',
+ valueFormat: 'x',
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ },
+ {
+ label: '创建者',
+ field: 'creator',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ form:{
+ componentProps: {
+ disabled: true
+ }
+ },
+ tableForm:{
+ disabled: true
+ }
+ }
+]))
\ No newline at end of file