From 5cfe5ea2bc50ed92ccc33affc7bea0f9633562af Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Thu, 15 Aug 2024 15:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=87=E6=B3=A8=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productreceiptRecordMain.data.ts | 9 ++ .../productreceiptAssembleRecordMain.data.ts | 9 ++ .../purchasereceiptRecordMain.data.ts | 83 ++++++++++--------- 3 files changed, 64 insertions(+), 37 deletions(-) diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts index cb57f422f..b2496493b 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts @@ -33,6 +33,15 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive([ }, isSearch: true }, + { + label: '备注', + field: 'remark', + sort: 'custom', + table: { + width: 180 + }, + isSearch: false + }, { label: '生产计划单号', field: 'productionPlanNumber', diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts index 24bb9c07b..8b1ec8f6b 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts @@ -33,6 +33,15 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive([ }, isSearch: true }, + { + label: '备注', + field: 'remark', + sort: 'custom', + table: { + width: 180 + }, + isSearch: false + }, { label: '生产计划单号', field: 'productionPlanNumber', diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts index 3ea07b778..b17ee1579 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts @@ -1,6 +1,5 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' -import { t } from '@wangeditor/editor' @@ -39,6 +38,16 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive([ }, sortTableDefault:3 }, + { + label: '备注', + field: 'remark', + sort: 'custom', + table: { + width: 180 + }, + isSearch: false, + sortTableDefault:3 + }, { label: '发货单号', field: 'asnNumber', @@ -339,15 +348,15 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive([ }, isTable:false, }, - { - label: '备注', - field: 'mainRemark', - sort: 'custom', - table: { - width: 150 - }, - isTable:true, - }, + // { + // label: '备注', + // field: 'mainRemark', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTable:true, + // }, { label: '创建者', field: 'creator', @@ -1109,16 +1118,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive isTable:false, hiddenInMain:true }, - { - label: '备注', - field: 'remark', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - sortTableDefault:2000, - }, + // { + // label: '备注', + // field: 'remark', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // sortTableDefault:2000, + // }, { label: '创建者', field: 'creator', @@ -1935,21 +1944,21 @@ export const PurchasereceiptRecordDetailPackingNumber = useCrudSchemas(reactive< disabled: true, } }, - { - label: '备注', - field: 'remark', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - form: { - componentProps: { - disabled:true - } - }, - tableForm: { - disabled: true, - } - } + // { + // label: '备注', + // field: 'remark', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // form: { + // componentProps: { + // disabled:true + // } + // }, + // tableForm: { + // disabled: true, + // } + // } ]))