From 77ca10be626f41877e065b8a0ebcacade048cc80 Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 25 Apr 2024 08:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=B4=A8=E9=87=8F=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E4=BF=AE=E6=94=B9=E5=B1=95=E7=A4=BA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deliver/deliverJobMain/index.vue | 8 ++-- .../supplierdeliverInspectionDetail.data.ts | 37 +++++++++++++------ .../supplierdeliverRequestMain/index.vue | 5 ++- .../supplierdeliverRequestMain.data.ts | 24 ++++++------ 4 files changed, 46 insertions(+), 28 deletions(-) diff --git a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue index ffeaf4fa7..d2717d85e 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue +++ b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue @@ -185,10 +185,10 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // 承接 - defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), // 关闭 - defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // 放弃 - defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // 执行 + // defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // 承接 + // defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), // 关闭 + // defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // 放弃 + // defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // 执行 ] } diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts index 0f55e8f0c..fce77e26e 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts @@ -1,13 +1,6 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { dateFormatter } from '@/utils/formatTime' -// 表单校验 -export const SupplierdeliverInspectionDetailRules = reactive({ - itemCode: [required], - uom: [required], - concurrencyStamp: [required], -}) - export const SupplierdeliverInspectionDetail = useCrudSchemas(reactive([ { label: '上传质检报告', @@ -20,14 +13,16 @@ export const SupplierdeliverInspectionDetail = useCrudSchemas(reactive([ componentProps: { upData:{ tableId: '', - tableName: 'UploadQualityReport' + tableName: 'UploadQualityReport', + fileType:['apk'], + fileSize:100 }, limit:1, } @@ -1681,7 +1683,16 @@ export const UploadQualityReport = useCrudSchemas(reactive([ } }, { - label: '数量', + label: '供应商批次', + field: 'batch', + sort: 'custom', + isForm:false, + table: { + width: 150 + }, + }, + { + label: '发货数量', field: 'planQty', table: { width: 150 @@ -1693,15 +1704,6 @@ export const UploadQualityReport = useCrudSchemas(reactive([ precision: 6 } }, - { - label: '批次', - field: 'batch', - sort: 'custom', - isForm:false, - table: { - width: 150 - }, - }, ])) export const SupplierdeliverRequestPackage = useCrudSchemas(reactive([ {