From 3914b5ffac1d66ae0f26052631d8dd55f73ec966 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 15 Jul 2024 08:50:37 +0800 Subject: [PATCH 01/51] =?UTF-8?q?=E5=BA=93=E5=AD=98=E4=BD=99=E9=A2=9D?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/balance/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/api/wms/balance/index.ts b/src/api/wms/balance/index.ts index fbca93edf..0aa246832 100644 --- a/src/api/wms/balance/index.ts +++ b/src/api/wms/balance/index.ts @@ -193,4 +193,8 @@ export const getBalanceByBusinessTypeByItemType = async (params) => { // 根据code获取数据列表 export const getBalanceItemListByCodes = async (data) => {   return await request.get({ url: `/wms/balance/listByCodes`,data }) - } \ No newline at end of file +} +// 查询bom批次默认数据 +export const getBanchBomPage = async (params) => { + return await request.get({ url: `/wms/balance/pageBOM`, params }) +} \ No newline at end of file From 0d80d6f5748ca9fe6b5131db3f1fa07730902465 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 15 Jul 2024 09:26:16 +0800 Subject: [PATCH 02/51] =?UTF-8?q?=E7=B2=BE=E5=BA=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliver/supplierdeliverRequestMain/labelForm.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue index aca148dcb..7ff4af19c 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue @@ -168,6 +168,7 @@ - diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue new file mode 100644 index 000000000..13e1a4e07 --- /dev/null +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue @@ -0,0 +1,468 @@ + + + + +./supplierinvoiceRequestMainDifference.data \ No newline at end of file diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMainDifference/supplierinvoiceRecordMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts similarity index 53% rename from src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMainDifference/supplierinvoiceRecordMain.data.ts rename to src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts index 750b54375..652c04092 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMainDifference/supplierinvoiceRecordMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts @@ -2,32 +2,159 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' import { accountantFormart } from '@/utils/formatter' +import * as SupplierApi from '@/api/wms/supplier' +import * as SupplierinvoiceRequestMainApi from '@/api/wms/supplierinvoiceRequestMain' +import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' +const { t } = useI18n() // 国际化 + +import * as getRequestsettingApi from '@/api/wms/requestsetting/index' +import * as supplierinvoiceRequestDetailApi from '@/api/wms/supplierinvoiceRequestDetail' + +// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值 +const queryParams = { + pageSize: 10, + pageNo: 1, + code: 'PurchaseInvoiceRequest' +} +const data = await getRequestsettingApi.getRequestsettingPage(queryParams) +const requestsettingData = data?.list[0] || {} + + // 获取当前操作人的部门 + import { useUserStore } from '@/store/modules/user' + import { TableColumn } from '@/types/table' + const userStore = useUserStore() + const userDept = userStore.userSelfInfo.dept + // id 转str 否则form回显匹配不到 + userDept.id = userDept.id.toString() + const userDeptArray:any = [userDept] + +const procurementCreators = await SupplierinvoiceRequestMainApi.queryUserInfoByRoleCode({ roleCode: 'purchase',pageSize: 1000,pageNo: 1,sort: '',by: 'ASC' }) /** - * @returns {Array} 供应商发票记录主表 + * @returns {Array} 采购员列表 */ -export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ +export const PurchaseMemberInfo = useCrudSchemas(reactive([ { - label: '单据号', - field:'number', + label: '用户编号', + field: 'id', + table: { + width: 180, + }, + }, + { + label: '用户名称', + field: 'username', + table: { + width: 180, + }, + }, + { + label: '用户昵称', + field: 'nickname', + table: { + width: 180, + }, + } +])) + +/** + * @returns {Array} 采购订单或者采购退货单 + */ +export const PurchaseReceiptOrReturnRecordDetail = useCrudSchemas(reactive([ + { + label: '单据类型', + field: 'billType' + }, + { + label: '收货日期', + field: 'deliveryDate', sort: 'custom', + isDetail:false, + isTable: true, + isForm:false, + isTableForm:false, + isSearch:true, + formatter: dateFormatter2, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD', + type: 'daterange', + defaultTime: [new Date('1 '), new Date('1 ')] + } + }, + }, + { + label: '待开票单据号', + field: 'recvBillNum', + table: { + width: 180, + }, + }, + { + label: '供应商发货单号', + field: 'asnBillNum', table: { width: 180, - fixed: 'left' }, - isSearch: false }, { - label: '发票申请单号', - field:'requestNumber', + label: '供应商代码', + field: 'supplierCode' + }, + { + label: '订单号', + field: 'poNumber' + }, + { + label: '订单行', + field: 'poLine' + }, + { + label: '采购价格', + field: 'purchasePrice' + }, + { + label: '可开票数量', + field: 'invoicableQuantity' + }, + { + label: '货币', + field: 'currency', + }, + { + label: '物料代码', + field: 'itemCode' + }, + { + label: '创建时间', + field: 'createTime', + isTable: true, + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + isTableForm: false, + isForm: false + } +])) + + +/** + * @returns {Array} 供应商发票申请主表 + */ +export const SupplierinvoiceRequestMain = useCrudSchemas(reactive([ + { + label: '单据号', + field: 'number', sort: 'custom', table: { width: 180, fixed: 'left' }, - sortSearchDefault:1, - sortTableDefault:1, - isSearch: true + isSearch: true, + isForm: false }, + { label: '供应商代码', field: 'supplierCode', @@ -36,45 +163,54 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ width: 150 }, sortTableDefault:1, - isSearch: true + isSearch: true, + form: { + // labelMessage: '信息提示说明!!!', + componentProps: {     + enterSearch:true, + isSearchList: true, // 开启查询弹窗 + searchListPlaceholder: '请选择供应商代码', // 输入框占位文本 + searchField: 'code', // 查询弹窗赋值字段 + searchTitle: '供应商信息', // 查询弹窗标题 + searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 + searchPage: SupplierApi.getSupplierPageSCP // 查询弹窗所需分页方法 + } + } }, { - label: '供应商名称', - field: 'supplierName', + label: '订单类型', + field: 'orderType', + dictType: DICT_TYPE.PURCHASE_INVOICE_ORDER_TYPE, + dictClass: 'string', + isTable: false, sort: 'custom', table: { - width: 180, + width: 150 }, - sortTableDefault:2, - isForm: false, - isSearch: true }, { - label: '税率', - field: 'taxRate', + label: '供应商名称', + field: 'supplierName', sort: 'custom', table: { - width: 150 + width: 180, }, - sortTableDefault:3, - form: { - component: 'InputNumber', - } + sortTableDefault:2, + isSearch: true, + isForm: false }, - - { label: '状态', field: 'status', dictType: DICT_TYPE.SUPPLIERINVOICE_REQUEST_STATUS, dictClass: 'string', isTable: true, - sortTableDefault:7, isForm:false, sort: 'custom', table: { width: 150 }, + sortTableDefault:9, isSearch: true, form: { value: '1', @@ -83,81 +219,210 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ } } }, - - // { - // label: '申请单号', - // field: 'requestNumber', - // sort: 'custom', - // table: { - // width: 180, - // }, - // isTable: false, - // isSearch: true - // }, + //子表数据,仅是查询条件 { - label: '订单号', - field: 'poNumber', + label: '货运单号', + field: 'asnBillNum', sort: 'custom', + table: { + width: 180, + fixed: 'left' + }, + isTableForm:false, isTable:false, + isDetail:false, + isSearch: true, + isForm: false, + }, + { + label: '系统未税金额', + field: 'amount', + formatter: accountantFormart, table: { width: 150 }, + sortTableDefault:8, + form: { + component: 'InputNumber', + componentProps: { + precision: 2, + disabled: true, + } + }, + tableForm: { + type: 'InputNumber', + precision: 2, + } }, { - label: '金税票号',//金税票号 - field: 'goldenTaxInvoiceNumber', + label: '税率(%)', + field: 'taxRate', + dictType: DICT_TYPE.TAX_RATE_DICT, + dictClass: 'string', + sortTableDefault:3, + isTable: true, sort: 'custom', table: { width: 150 }, - sortTableDefault:5, - isSearch: true }, + + // { + // label: '未税金额', + // field: 'beforeTaxAmount', + // formatter: accountantFormart, + // table: { + // width: 150 + // }, + // sortTableDefault:3, + // isForm:false, + // isTableForm:false + // }, + // { + // label: '税额', + // field: 'totalTaxAmount', + // formatter: accountantFormart, + // table: { + // width: 150 + // }, + // sortTableDefault:3, + // isForm:false, + // isTableForm:false + // }, + // { + // label: '价税合计金额', + // field: 'adTaxAmount', + // formatter: accountantFormart, + // table: { + // width: 150 + // }, + // sortTableDefault:3, + // isForm:false, + // isTableForm:false + // }, { - label: '未税差额', - field: 'beforeTaxDiffAmount', + label: '系统税额', + field: 'taxAmount', formatter: accountantFormart, table: { width: 150 }, - sortTableDefault:5, - isForm:false, - isTableForm:false + sortTableDefault:6, + form: { + component: 'InputNumber', + componentProps: { + precision: 2, + disabled: true, + } + }, + tableForm: { + type: 'InputNumber', + precision: 2, + } }, { - label: '税额差异', - field: 'taxAmountDiff', + label: '系统价税合计', + field: 'afterTaxAmount', formatter: accountantFormart, table: { width: 150 }, - sortTableDefault:5, - isForm:false, - isTableForm:false + sortTableDefault:7, + form: { + component: 'InputNumber', + componentProps: { + precision: 2, + disabled: true, + } + }, + tableForm: { + type: 'InputNumber', + min: 0, + precision: 2, + disabled: true, + } }, { - label: '价税合计差额', - field: 'totalTaxDiffAmount', + label: '索赔金额', + field: 'claimAmount', formatter: accountantFormart, table: { width: 150 }, - sortTableDefault:5, + isTable:false, + isTableForm:false, isForm:false, - isTableForm:false + isDetail:false, + form: { + component: 'InputNumber', + componentProps: { + min: 0, + precision: 2, + } + }, + tableForm: { + type: 'InputNumber', + min: 0, + precision: 2, + } }, - + // { + // label: '调整价差', + // field: 'discountAmount', + // formatter: accountantFormart, + // table: { + // width: 150 + // }, + // isTable:false, + // form: { + // component: 'InputNumber', + // componentProps: { + // precision: 2, + // } + // }, + // tableForm: { + // type: 'InputNumber', + // min: 0, + // precision: 2, + // } + // }, + // { + // label: '调整税额', + // field: 'adjustingTaxAmount', + // table: { + // width: 150 + // }, + // isTable:false, + // form: { + // component: 'InputNumber', + // componentProps: { + // precision: 2, + // } + // }, + // tableForm: { + // type: 'InputNumber', + // min: 0, + // precision: 2, + // } + // }, { - label: '系统税额', - field: 'taxAmount', + label: '折扣金额', + field: 'discountAmount1', formatter: accountantFormart, - sort: 'custom', table: { width: 150 }, - sortTableDefault:8, + isTable:false, form: { component: 'InputNumber', + componentProps: { + precision: 2, + } + }, + tableForm: { + type: 'InputNumber', + min: 0, + precision: 2, } }, { @@ -168,8 +433,14 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ width: 150 }, sortTableDefault:3, - isForm:false, - isTableForm:false + form: { + component: 'InputNumber', + componentProps: { + precision: 2, + disabled: true, + } + }, + isTableForm:false, }, { label: '税额', @@ -178,9 +449,15 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, - sortTableDefault:3, - isForm:false, - isTableForm:false + sortTableDefault:4, + form: { + component: 'InputNumber', + componentProps: { + precision: 2, + disabled: true, + } + }, + isTableForm:false, }, { label: '价税合计金额', @@ -189,9 +466,15 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, - sortTableDefault:3, - isForm:false, - isTableForm:false + sortTableDefault:5, + form: { + component: 'InputNumber', + componentProps: { + precision: 2, + disabled: true, + } + }, + isTableForm:false, }, { label: '是否有价差', @@ -205,7 +488,7 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, - sortTableDefault:3, + sortTableDefault:5, }, { label: '价差说明', @@ -220,147 +503,96 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ sortTableDefault:5, }, { - label: '系统价税合计',//税后金额 - field: 'afterTaxAmount', + label: '未税差额', + field: 'beforeTaxDiffAmount', formatter: accountantFormart, - sort: 'custom', table: { width: 150 }, - sortTableDefault:9, - form: { - component: 'InputNumber', - } - }, - - { - label: '价差',//总差额 - field: 'totalDifference', - table: { - width: 150 - }, - isTable: false, + sortTableDefault:5, form: { component: 'InputNumber', componentProps: { - min: 0, - precision: 6, + precision: 2, + disabled: true, } }, - tableForm: { - type: 'InputNumber', - min: 0, - precision: 6, - } - }, - - { - label: '系统未税金额', - field: 'amount', - formatter: accountantFormart, - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:8, - form: { - component: 'InputNumber', - } - }, - - - - { - label: '索赔金额', - field: 'claimAmount', - formatter: accountantFormart, - sort: 'custom', - table: { - width: 150 - }, - isTable: false, - form: { - component: 'InputNumber', - } + isTableForm:false, }, { - label: '调整价差', - field: 'discountAmount', + label: '税额差异', + field: 'taxAmountDiff', formatter: accountantFormart, - sort: 'custom', table: { width: 150 }, - isDetail:false, - isTable: false, + sortTableDefault:5, form: { component: 'InputNumber', - } - }, - { - label: '调整税额', - field: 'adjustingTaxAmount', - formatter: accountantFormart, - sort: 'custom', - isDetail:false, - table: { - width: 150 + componentProps: { + precision: 2, + disabled: true, + } }, - isTable: false, - form: { - component: 'InputNumber', - } + isTableForm:false, }, - { - label: '未税差额', - field: 'untaxedDifference', + label: '价税合计差额', + field: 'totalTaxDiffAmount', formatter: accountantFormart, table: { width: 150 }, + sortTableDefault:5, + isTableForm:false, form: { component: 'InputNumber', componentProps: { - min: 0, - precision: 6, + precision: 2, + disabled: true, } }, - isTable: false, - tableForm: { - type: 'InputNumber', - min: 0, - precision: 6, - } }, + + // { + // label: '总差额', + // field: 'totalDifference', + // formatter: accountantFormart, + // table: { + // width: 150 + // }, + // isTable:false, + // form: { + // component: 'InputNumber', + // componentProps: { + // precision: 2, + // } + // }, + // tableForm: { + // type: 'InputNumber', + // min: 0, + // precision: 2, + // } + // }, { - label: '含税差额', - field: 'taxInclusiveDifference', - formatter: accountantFormart, + label: '金税票号', + field: 'goldenTaxInvoiceNumber', table: { - width: 150 + width: 150, }, - isTable: false, - form: { - component: 'InputNumber', + sortTableDefault:10, + form:{ componentProps: { - min: 0, - precision: 6, + maxlength:23, + showWordLimit:true } - }, - tableForm: { - type: 'InputNumber', - min: 0, - precision: 6, } }, { label: '快递单号', field: 'expressTrackingNumber', - sort: 'custom', isTable:false, isForm:false, - isSearch:false, table: { width: 150 }, @@ -368,25 +600,24 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ { label: '开票日期', field: 'invoiceTime', - isTable: true, formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' }, - form:{ + sort: 'custom', + table: { + width: 180 + }, + sortTableDefault:11, + form: { component: 'DatePicker', componentProps: { style: {width:'100%'}, type: 'datetime', - dateFormat: 'YYYY-MM-DD',//YYYY-MM-DD - valueFormat: 'x',//数据转成时间戳 + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', } }, - sortTableDefault:4, - sort: 'custom', - table: { - width: 180 - }, }, // { // label: '采购审批人', @@ -400,89 +631,89 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ // isTableForm: false, // isForm:false, // isSearch:false, - // sortTableDefault:10 + // sortTableDefault:12 // }, { label: '过账日期', field: 'postingDate', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - form:{ - component: 'DatePicker', - componentProps: { - style: {width:'100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD',//YYYY-MM-DD - valueFormat: 'x',//数据转成时间戳 - } + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' }, - isTable: true, - sortTableDefault:6, sort: 'custom', table: { width: 180 }, - isSearch: true, - search: { - value:[], + isTable:false, + isDetail:false, + form: { component: 'DatePicker', componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - dateFormat: 'YYYY-MM-DD', - type: 'daterange', - defaultTime: [new Date('1 '), new Date('1 ')] + disabled: true, + style: {width:'100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', } }, }, + { - label: '创建日期', - field: 'createTime', + label: '申请时间', + field: 'requestTime', formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' }, - form:{ - component: 'DatePicker', - componentProps: { - style: {width:'100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD',//YYYY-MM-DD - valueFormat: 'x',//数据转成时间戳 - } - }, - isTable: true, - sortTableDefault:6, sort: 'custom', table: { width: 180 }, - isSearch: true, - search: { - value:[], + isTable:false, + isForm:false, + form: { component: 'DatePicker', componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - dateFormat: 'YYYY-MM-DD', - type: 'daterange', - defaultTime: [new Date('1 '), new Date('1 ')] + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', } }, }, - //子表数据,仅是查询条件 { - label: '货运单号', - field: 'asnBillNum', + label: '部门', + field: 'departmentCode', sort: 'custom', table: { - width: 180, - fixed: 'left' + width: 150 }, + isTable:false, isTableForm:false, + isForm:false, + formatter: (_: Recordable, __: TableColumn, cellValue: number) => { + return userDeptArray.find((account) => account.id == cellValue)?.name + }, + form: { + value: userDept.id, + component: 'Select', + api: () => userDeptArray, + componentProps: { + disabled: true, + optionsAlias: { + labelField: 'name', + valueField: 'id' + } + } + } + }, + { + label: '创建者', + field: 'creator', + table: { + width: 150 + }, isTable:false, - isDetail:false, - isSearch: true, + sortTableDefault:1001, isForm: false, }, { @@ -500,55 +731,11 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '财务凭证号', - field: 'voucherNumber', - sort: 'custom', - table: { - width: 180, - }, + label: '创建时间', + field: 'createTime', isTable:true, - sortTableDefault:6, - isForm: false - }, - { - label: '业务类型', - field:'businessType', - sort: 'custom', - isTable:false, - isTableForm:false, - isDetail:false, - table: { - width: 150 - }, - }, - { - label: '出库事务类型', - field: 'outTransactionType', - sort: 'custom', - isTable:false, - isTableForm:false, - isDetail:false, - table: { - width: 150 - }, - }, - { - label: '入库事务类型', - field: 'inTransactionType', - isTable:false, - isTableForm:false, - isDetail:false, - sort: 'custom', - table: { - width: 150 - }, - }, - { - label: '执行时间', - field: 'executeTime', - isTable:false, - isTableForm:false, formatter: dateFormatter, + sortTableDefault:1000, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' }, @@ -556,40 +743,42 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, - }, - { - label: '生效日期', - field: 'activeDate', - isTable:false, - isTableForm:false, - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD' + isForm: false, + isSearch: true, + form: { + component: 'DatePicker', + componentProps: { + style: {width:'100%'}, + type: 'datetimerange', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } }, - sort: 'custom', - table: { - width: 180 + search: { + value:[], + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'datetimerange', + defaultTime: [new Date('1 '), new Date('1 ')] + } }, }, { - label: '申请时间', - field: 'requestTime', - isTable:false, - isTableForm:false, - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, + label: '最后更新者', + field: 'updater', sort: 'custom', table: { - width: 180 + width: 150 }, + isTable:false, + isForm: false, }, { - label: '截止时间', - field: 'dueTime', - isTable:false, - isTableForm:false, + label: '最后更新时间', + field: 'updateTime', + isTable: false, formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' @@ -598,103 +787,153 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, + isForm: false, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, }, { - label: '部门', - field: 'departmentCode', - isTable:false, - isTableForm:false, - sort: 'custom', + label: '采购价格审批人', + field: 'procurementCreator', table: { width: 150 }, - }, - { - label: '代码', - field: 'code', + sortTableDefault:14, + isForm: true, isTable:false, - isTableForm:false, isDetail:false, - sort: 'custom', + form: { + component: 'Select', + api: () => procurementCreators.list, + componentProps: { + optionsAlias: { + labelField: 'nickname', + valueField: 'id' + } + }, + // labelMessage: '信息提示说明!!!', + // componentProps: { + // isSearchList: true, // 开启查询弹窗 + // hiddenFilterButton:true,//是否隐藏筛选按钮 + // dialogWidth:'665px',//搜索出来弹窗的宽度 + // searchListPlaceholder: '请选择采购员', // 输入框占位文本 + // searchField: 'id', // 查询弹窗赋值字段 + // searchTitle: '采购员信息', // 查询弹窗标题 + // searchAllSchemas: PurchaseMemberInfo.allSchemas, // 查询弹窗所需类 + // searchPage: SupplierinvoiceRequestMainApi.queryUserInfoByRoleCode, // 查询弹窗所需分页方法 + // searchCondition: [{ + // key: 'roleCode', // 查询列表中字段 + // value: 'purchase', // 指查询具体值 + // isMainValue: false // 表示查询条件不是主表的字段的值 + // }] + // } + } + }, + { + label: '采购价格审批人', + field: 'procurementCreatorName', table: { width: 150 }, + sortTableDefault:14, + isForm: false, + isTable:true, + isDetail:false, + form: { + component: 'Select', + api: () => procurementCreators.list, + componentProps: { + optionsAlias: { + labelField: 'nickname', + valueField: 'id' + } + }, + } }, + // { + // label: '采购审批人', + // field: 'procurementCreatorName', + // sort: 'custom', + // table: { + // width: 180 + // }, + // isTable:true, + // isDetail: true, + // isTableForm: false, + // isForm:false, + // isSearch:false, + // sortTableDefault:12 + // }, + { - label: '接口类型', - field: 'interfaceType', - dictType: DICT_TYPE.INTERFACE_TYPE, - dictClass: 'string', - isTable:false, - isDetail:false, - isTableForm:false, + label: '采购审批时间', + field: 'procurementCreateTime', + isTable: true, + sortTableDefault:13, + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + form:{ + component: 'DatePicker', + componentProps: { + style: {width:'100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss',//YYYY-MM-DD + valueFormat: 'x',//数据转成时间戳 + } + }, sort: 'custom', table: { - width: 150 + width: 180 }, + isForm: false, }, { - label: '是否可用', - field: 'available', - dictType: DICT_TYPE.TRUE_FALSE, - isTable:false, - isTableForm:false, - dictClass: 'string', - }, - { - label: '创建者', - field: 'creator', + label: '财务审批人', + field: 'financialCreatorName', sort: 'custom', - sortTableDefault:1000, - isTable: false, table: { width: 150 }, + sortTableDefault:14, + isForm: false, }, { - label: '创建时间', - field: 'createTime', - isTable: false, - sortTableDefault:1001, - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', + label: '采购驳回原因', + field: 'purchaseRejectCause', table: { width: 180 }, + sortTableDefault:16, + isTable: true, + isSearch: false, + isForm: false, + isDetail:false, }, { - label: '采购审批人', - field: 'procurementCreatorName', - sort: 'custom', + label: '财务驳回原因', + field: 'financeRejectCause', table: { width: 180 - }, - isTable:true, - isDetail: true, - isTableForm: false, - isForm:false, - isSearch:false, - sortTableDefault:10 + }, + sortTableDefault:17, + isTable: true, + isSearch: false, + isForm: false, + isDetail:false, }, - // { - // label: '采购审批人代码', - // field: 'procurementCreator', - // sortTableDefault:1002, - // sort: 'custom', - // table: { - // width: 150 - // }, - // isTable: false, - // isForm: false, - // }, { - label: '采购审批时间', - field: 'procurementCreateTime', - sortTableDefault:11, + label: '财务审批时间', + field: 'financialCreateTime', isTable: true, + sortTableDefault:15, formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' @@ -715,20 +954,33 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '财务审批人', - field: 'financialCreatorName', + label: '供应商审批人', + field: 'supplierCreator', sort: 'custom', + isTable:false, + isDetail:false, + sortTableDefault:1006, table: { - width: 150 + width: 180 }, - sortTableDefault:12, isForm: false, }, { - label: '财务审批时间', - field: 'financialCreateTime', - sortTableDefault:13, - isTable: true, + label: '供应商审批人', + field: 'supplierCreatorName', + sort: 'custom', + isTable:false, + isDetail:true, + sortTableDefault:1006, + table: { + width: 180 + }, + isForm: false, + }, + { + label: '供应商审批时间', + field: 'supplierCreateTime', + isTable:false, formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' @@ -748,82 +1000,113 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ }, isForm: false, }, - // { - // label: '采购驳回原因', - // field: 'purchaseRejectCause', - // table: { - // width: 180 - // }, - // sortTableDefault:14, - // isTable: true, - // isSearch: false, - // isForm: false, - // isDetail:false, - // }, - // { - // label: '财务驳回原因', - // field: 'financeRejectCause', - // table: { - // width: 180 - // }, - // sortTableDefault:15, - // isTable: true, - // isSearch: false, - // isForm: false, - // isDetail:false, - // }, { - label: '供应商审批人', - field: 'supplierCreatorName', + label: '备注', + field: 'remark', sort: 'custom', - isTable:false, - isTableForm:false, table: { width: 150 }, - isForm: false, + isForm:false, + isTable: false, }, { - label: '供应商审批时间', - field: 'supplierCreateTime', - isTable:false, + label: '自动提交', + field: 'autoCommit', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + isForm:false, isTableForm:false, - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' + isDetail:false, + sort: 'custom', + table: { + width: 150 }, + form: { + component: 'Switch', + value: requestsettingData.autoCommit, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true, + } + } + }, + { + label: '自动通过', + field: 'autoAgree', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + isForm:false, + isTableForm:false, + isDetail:false, sort: 'custom', table: { - width: 180 + width: 150 }, - isForm: false, + form: { + component: 'Switch', + value: requestsettingData.autoAgree, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true, + } + } }, { - label: '凭证描述', - field: 'voucherNumberRemark', - isTable:true, + label: '自动执行', + field: 'autoExecute', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + isForm:false, isTableForm:false, + isDetail:false, sort: 'custom', table: { - width: 180 + width: 150 }, - isForm: false, + form: { + component: 'Switch', + value: requestsettingData.autoExecute, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true, + } + } }, { - label: '操作', - field: 'action', - isDetail: false, - isForm: false, + label: '跳过任务生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + isForm:false, + isTableForm:false, + isDetail:false, + sort: 'custom', table: { - width: 150, - fixed: 'right' + width: 150 }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true, + } + } } ])) /** * @returns {Array} 供应商发票在详情展示的主表字段 */ -export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive([ +export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive([ { label: '汇总信息', field: '', @@ -899,7 +1182,6 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive { + cellValue= Number(cellValue).toFixed(2) + cellValue = cellValue + '' || '' + + let x = cellValue.split('.') + let x1 = x[0] + let x2 = x.length > 1 ? '.' + x[1] : '' + const reg = /(\d+)(\d{3})/ + while(reg.test(x1)){ + x1 = x1.replace(reg, '$1,$2') + } + return x1+x2 +} + +function validateTaxRate(rule, value, callback) { + if (value>0) { + callback() + }else{ + callback(new Error('税率必须大于0')) + } +} + //表单校验 -export const SupplierinvoiceRecordMainRules = reactive({ - requestNumber: [ - { required: true, message: '请选择申请单号', trigger: 'change' } +export const SupplierinvoiceRequestMainRules = reactive({ + taxRate: [ + required, + { validator:validateTaxRate, message: '税率必须大于0', trigger: 'blur'} ], supplierCode: [ { required: true, message: '请选择供应商代码', trigger: 'change' } ], - outTransaction: [ - { required: true, message: '请输入出库事务类型', trigger: 'blur' } + invoiceTime:[ + { required: false, 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' } + goldenTaxInvoiceNumber:[ + { required: false, message: '请输入金税票号', trigger: 'blur' } ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - interfaceType: [ - { required: true, message: '请选择接口类型', trigger: 'change' } + autoCommit: [ + { required: true, message: '请选择是否自动提交', trigger: 'change' } + ], + autoAgree: [ + { required: true, message: '请选择是否自动通过', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } + autoExecute: [ + { required: true, message: '请选择是否自动执行', trigger: 'change' } + ], + directCreateRecord: [ + { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], + procurementCreator: [ + { required: true, message: '请选择采购员', trigger: 'change' } ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } + beforeTaxAmount: [ + { required: true, message: '请输入未税金额', trigger: 'change' } + ], + totalTaxAmount: [ + { required: true, message: '请输入税额', trigger: 'change' } ], }) -/** - * @returns {Array} 供应商发票记录子表 - */ -export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive([ +export const SupplierinvoiceRequestFinance = useCrudSchemas(reactive([ { - label: '项目编号', - field: 'projectCode', - isTable:false, - sort: 'custom', - table: { - width: 150 + label: '过账日期', + field: 'postingDate', + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' }, - }, - { - label: '采购收货记录单号', - field: 'qadNumber', sort: 'custom', table: { width: 180 }, - }, - { - label: '单据类型', - field: 'billType', - dictType: DICT_TYPE.BILL_TYPE, - dictClass: 'string', - sort: 'custom', - table: { - width: 150 - }, - }, - { - label: '订单号', - field: 'poNumber', - sort: 'custom', - table: { - width: 150 + isTable:false, + form: { + component: 'DatePicker', + componentProps: { + style: {width:'100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } }, - sortTableDefault:7, }, { - label: '订单行', - field: 'poLine', + label: '凭证描述', + field: 'voucherNumberRemark', sort: 'custom', - table: { - width: 150 + isTable:false, + form: { + component: 'Input', + componentProps:{ + type: 'textarea' + } }, }, +])) + +export const SupplierinvoiceRequestFinanceRules = reactive({ + postingDate: [ + { required: true, message: '请选择过账日期', trigger: 'change' } + ], + // voucherNumberRemark: [ + // { max: 50, message: '不得超过40个字符', trigger: 'blur' } + // ], +}) +/** + * @returns {Array} 供应商发票申请子表 + */ +export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive([ { - label: '待开票单据号', - field: 'recvBillNum', + label: '物料代码', + field: 'itemCode', table: { width: 150 }, - sortTableDefault:9, form: { componentProps: { disabled: true @@ -1303,39 +1630,19 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive } }, { - label: '单据号', - field: 'number', - hiddenInMain:true, - sort: 'custom', - table: { - width: 180 - }, - }, - { - label: '供应商发货单号', - field: 'asnBillNum', - sort: 'custom', - table: { - width: 180 - }, - sortTableDefault:8, - }, - { - label: '供应商代码', - field: 'supplierCode', - sort: 'custom', - table: { - width: 180 - }, - }, - { - label: '物料代码', - field: 'itemCode', - sort: 'custom', - sortTableDefault:3, + label: '物料名称', + field: 'itemName', table: { width: 150 }, + form: { + componentProps: { + disabled: true + } + }, + tableForm:{ + disabled: true + } }, { label: '物料描述', @@ -1343,215 +1650,408 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive table: { width: 150 }, - sortTableDefault:4, isForm:false, isTableForm:false, isDetail: false, isTable: true, }, - { - label: '到货时间', - field: 'planArriveTime', - table: { - width: 150 - }, - formatter: dateFormatter2, - sortTableDefault:5, + + //仅是主列表页面的筛选搜索条件 + { + label: '收货日期', + field: 'deliveryDate', + sort: 'custom', + isDetail:false, + isTable: false, isForm:false, isTableForm:false, - isDetail: false, - isTable: true, + isSearch:true, + formatter: dateFormatter, + search: { + value:[], + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD', + type: 'daterange', + defaultTime: [new Date('1 '), new Date('1 ')] + } + }, }, { - label: '到货数量', - field: 'arrivalQty', + label: '收货日期', + field: 'deliveryDate', table: { width: 150 }, - sortTableDefault:6, + formatter: dateFormatter2, isForm:false, - isTableForm:false, + isTableForm:true, isDetail: false, isTable: true, + tableForm:{ + disabled:true + } }, { - label: '物料名称', - field: 'itemName', - sort: 'custom', + label: '可开票数量', + field: 'invoicableQuantity', table: { width: 150 }, - }, - { - label: '货币', - field: 'currency', - sort: 'custom', - table: { - width: 150 + form: { + componentProps: { + disabled: true + } }, + tableForm:{ + disabled: true + } }, { label: '合同价格', field: 'singlePrice', - sort: 'custom', + formatter: singlePriceFormart, table: { width: 150 }, form: { component: 'InputNumber', + componentProps: { + min: 0, + precision: 2, + } + }, + tableForm: { + type: 'InputNumber', + min: 0, + precision: 2, } }, { label: '采购价格', field: 'purchasePrice', - sort: 'custom', + formatter: singlePriceFormart, table: { width: 150 }, form: { component: 'InputNumber', + componentProps: { + disabled: true, + min: 0, + precision: 2, + } + }, + tableForm:{ + type: 'InputNumber', + disabled: true, + min: 0, + precision: 2, } }, { - label: '差额', + label: '单价差额', field: 'differencePrice', + formatter: singlePriceFormart, table: { width: 150 }, form: { componentProps: { - disabled: true + disabled: true, + min: 0, + precision: 2, } }, tableForm:{ type: 'slot', + disabled: true, + min: 0, + precision: 2, + } + }, + { + label: '到货数量', + field: 'arrivalQty', + table: { + width: 150 + }, + isForm:false, + isTableForm:true, + isDetail: false, + isTable: true, + tableForm:{ + disabled:true + } + }, + { + label: '订单号', + field: 'poNumber', + form: { + componentProps: { + disabled: true + } + }, + table: { + width: 150 + }, + tableForm:{ disabled: true } }, { - label: '未税差额', - field: 'untaxedDifference', - formatter: accountantFormart, + label: '订单行', + field: 'poLine', table: { width: 150 }, form: { - component: 'InputNumber', + // labelMessage: '信息提示说明!!!', componentProps: { - min: 0, - precision: 6, + multiple:true,//多选 + isSearchList: true, + searchListPlaceholder: '请选择订单行', + searchField: 'poLine', + searchTitle: '待开票列表', + searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas, + searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo, + searchCondition: [ + { + key: 'supplierCode', + value: 'supplierCode', + message: '请填供应商信息!', + isMainValue: true + },{ + key: 'orderType', + value: 'orderType', + message: '请填订单类型!', + isMainValue: true + } + ] } }, tableForm: { - type: 'InputNumber', - min: 0, - precision: 6, + multiple:true,//多选 + isInpuFocusShow: true, + searchListPlaceholder: '请选择订单行', + searchField: 'poLine', + searchTitle: '待开票列表', + searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas, + searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo, + searchCondition: [ + { + key: 'supplierCode', + value: 'supplierCode', + message: '请填供应商信息!', + isMainValue: true + }, + { + key: 'orderType', + value: 'orderType', + message: '请填订单类型!', + isMainValue: true + } + ] } }, { - label: '含税差额', - field: 'taxInclusiveDifference', - formatter: accountantFormart, + label: '待开票单据号', + field: 'recvBillNum', table: { width: 150 }, form: { - component: 'InputNumber', componentProps: { - min: 0, - precision: 6, + disabled: true } }, - tableForm: { - type: 'InputNumber', - min: 0, - precision: 6, + tableForm:{ + disabled: true } }, { - label: '收货日期', - field: 'deliveryDate', - isTable: true, - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' + label: '单据类型', + field: 'billType', + dictType: DICT_TYPE.BILL_TYPE, + dictClass: 'string', + table: { + width: 150 }, - sort: 'custom', + form: { + componentProps: { + disabled: true + } + }, + tableForm:{ + disabled: true + } + }, + { + label: '供应商发货单号', + field: 'asnBillNum', table: { - width: 180 + width: 150 }, form: { - component: 'DatePicker', componentProps: { - style: {width:'100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', + disabled: true } + }, + tableForm:{ + disabled: true } }, { - label: '开票数量', - field: 'invoicableQuantity', - sort: 'custom', + label: '供应商代码', + field: 'supplierCode', + hiddenInMain:true, table: { width: 150 }, form: { - component: 'InputNumber', + componentProps: { + disabled: true + } + }, + tableForm:{ + disabled: true } }, + + // { + // label: '未税差额',//子表数据 + // field: 'untaxedDifference', + // formatter: accountantFormart, + // table: { + // width: 150 + // }, + // form: { + // component: 'InputNumber', + // componentProps: { + // precision: 2, + // } + // }, + // tableForm: { + // type: 'InputNumber', + // min: 0, + // precision: 2, + // } + // }, + // { + // label: '含税差额', + // field: 'taxInclusiveDifference', + // formatter: accountantFormart, + // table: { + // width: 150 + // }, + // form: { + // component: 'InputNumber', + // componentProps: { + // precision: 2, + // } + // }, + // tableForm: { + // type: 'InputNumber', + // min: 0, + // precision: 2, + // } + // }, + { - label: '财务凭证号', - field: 'voucherNumber', - sort: 'custom', + label: '货币', + field: 'currency', table: { width: 150 + }, + form: { + componentProps: { + disabled: true + } + }, + tableForm:{ + disabled: true } }, { label: '备注', field: 'remark', - sort: 'custom', + hiddenInMain:true, + }, + { + label: '创建时间', + field: 'createTime', + hiddenInMain:true, + isTable: false, + table: { + width: 150 + }, + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + isTableForm: false, + isForm: false + }, + { + label: '创建者', + field: 'creator', + hiddenInMain:true, + isTableForm: false, + isTable:false, + isForm: false, table: { width: 150 }, }, + { + label: '操作', + field: 'action', + isDetail: false, + isForm: false, + table: { + width: 250, + fixed: 'right' + }, + hiddenInMain:true, + isTableForm: false, + } ])) - +// 批次校验 +const validateSinglePrice = (rule: any, value: any, callback: any) => { + if (Number(value)>0) { + callback(); + } else { + callback(new Error('请输入合同价格')); + } +} //表单校验 -export const SupplierinvoiceRecordDetailRules = reactive({ - packingNumber: [ - { required: true, message: '请输入包装号', trigger: 'blur' } - ], - batch: [ - { 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' } - ], - convertRate: [ - { required: true, message: '请输入转换率', trigger: 'blur' } - ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], - itemCode: [ - { required: true, message: '请输入物料代码', trigger: 'blur' } +export const SupplierinvoiceRequestDetailRules = reactive({ + singlePrice: [ + { required: true, message: '请输入合同价格', trigger: 'change' }, + { validator: validateSinglePrice, trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } +}) +// 采购通过 +export const PurchasePass = useCrudSchemas(reactive([ + { + label: '价差通过说明', + field: 'balanceStatement', + sort: 'custom', + table: { + width: 180 + }, + isTable:false, + form: { + componentProps:{ + type:'textarea' + } + }, + }, +])) +//表单校验 +export const PurchasePassRules = reactive({ + balanceStatement: [ + { required: true, message: '请输入价差通过说明', trigger: 'blur'}, + { max: 100, message: '最多100字符', trigger: 'blur'} ], }) From 161c240b7dcddd392f3e432c8116574ea1e8ff2c Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 15:12:24 +0800 Subject: [PATCH 26/51] =?UTF-8?q?=E5=B7=AE=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRequestMainDifference/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue index 13e1a4e07..026e0cac9 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue @@ -227,9 +227,12 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea const Echo = [] const { tableObject, tableMethods } = useTable({ + defaultParams:{ + balanceStatementStatus : 'TRUE' + }, getListApi: SupplierinvoiceRequestMainApi.getSupplierinvoiceRequestMainPage // 分页接口 }) - + // 获得表格的各种操作 const { getList, setSearchParams } = tableMethods @@ -356,7 +359,11 @@ const importTemplateData = reactive({ const searchFormClick = (searchData) => { tableObject.params = { isSearch: true, - filters: searchData.filters + filters: [...searchData.filters,{ + action: "==", + column: "balanceStatementStatus", + value: "TRUE" + }] } getList() // 刷新当前列表 } From 32a74f971052044eec17e8587bb114170d2da2cd Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 15:42:14 +0800 Subject: [PATCH 27/51] =?UTF-8?q?=E6=88=AA=E6=AD=A2=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E3=80=81=E5=A4=87=E6=B3=A8=E5=AD=97=E6=AE=B5=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productputawayRequestMain.data.ts | 62 +++++++++---------- .../productputawayAssembleRequestMain.data.ts | 62 +++++++++---------- .../productreceiptRequestMain.data.ts | 62 +++++++++---------- .../productreceiptAssembleRequestMain.data.ts | 62 +++++++++---------- .../productreceiptscrapRequestMain.data.ts | 62 +++++++++---------- .../productredressRequestMain.data.ts | 12 ++-- 6 files changed, 161 insertions(+), 161 deletions(-) diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts index 32bf9fbb3..a6a53ba52 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts +++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts @@ -126,15 +126,15 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ }, isForm: false, }, - { - label: '备注', - field: 'remark', - sort: 'custom', - table: { - width: 150 - }, - isTable: false - }, + // { + // label: '备注', + // field: 'remark', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTable: false + // }, { label: '创建时间', field: 'createTime', @@ -189,28 +189,28 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ }, isForm: false, }, - { - label: '截止时间', - field: 'dueTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - isTable: false, - form: { - component: 'DatePicker', - componentProps: { - style: {width:'100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - }, + // { + // label: '截止时间', + // field: 'dueTime', + // formatter: dateFormatter, + // detail: { + // dateFormat: 'YYYY-MM-DD HH:mm:ss' + // }, + // sort: 'custom', + // table: { + // width: 180 + // }, + // isTable: false, + // form: { + // component: 'DatePicker', + // componentProps: { + // style: {width:'100%'}, + // type: 'datetime', + // dateFormat: 'YYYY-MM-DD HH:mm:ss', + // valueFormat: 'x', + // } + // }, + // }, { label: '部门', field: 'departmentCode', diff --git a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/productputawayAssembleRequestMain.data.ts b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/productputawayAssembleRequestMain.data.ts index bc733b505..c90e6eaf3 100644 --- a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/productputawayAssembleRequestMain.data.ts +++ b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/productputawayAssembleRequestMain.data.ts @@ -118,15 +118,15 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ }, isForm: false, }, - { - label: '备注', - field: 'remark', - sort: 'custom', - table: { - width: 150 - }, - isTable: false - }, + // { + // label: '备注', + // field: 'remark', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTable: false + // }, { label: '创建时间', field: 'createTime', @@ -181,28 +181,28 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ isTable: false, isForm: false, }, - { - label: '截止时间', - field: 'dueTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - isTable: false, - form: { - component: 'DatePicker', - componentProps: { - style: {width:'100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - }, + // { + // label: '截止时间', + // field: 'dueTime', + // formatter: dateFormatter, + // detail: { + // dateFormat: 'YYYY-MM-DD HH:mm:ss' + // }, + // sort: 'custom', + // table: { + // width: 180 + // }, + // isTable: false, + // form: { + // component: 'DatePicker', + // componentProps: { + // style: {width:'100%'}, + // type: 'datetime', + // dateFormat: 'YYYY-MM-DD HH:mm:ss', + // valueFormat: 'x', + // } + // }, + // }, { label: '部门', field: 'departmentCode', diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index 1faa0b6f4..02f793ed1 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -280,15 +280,15 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ isTable: false, isForm: false, }, - { - label: '备注', - field: 'remark', - sort: 'custom', - table: { - width: 150 - }, - isTable: false, - }, + // { + // label: '备注', + // field: 'remark', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTable: false, + // }, { label: '创建时间', field: 'createTime', @@ -345,28 +345,28 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ isTable: false, isForm: false }, - { - label: '截止时间', - field: 'dueTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - form: { - component: 'DatePicker', - componentProps: { - style: {width: '100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - isTable: false, - }, + // { + // label: '截止时间', + // field: 'dueTime', + // formatter: dateFormatter, + // detail: { + // dateFormat: 'YYYY-MM-DD HH:mm:ss' + // }, + // sort: 'custom', + // table: { + // width: 180 + // }, + // form: { + // component: 'DatePicker', + // componentProps: { + // style: {width: '100%'}, + // type: 'datetime', + // dateFormat: 'YYYY-MM-DD HH:mm:ss', + // valueFormat: 'x', + // } + // }, + // isTable: false, + // }, { label: '部门', field: 'departmentCode', diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts index ed0e5fdba..e786a028d 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts @@ -280,15 +280,15 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ isTable: false, isForm: false, }, - { - label: '备注', - field: 'remark', - sort: 'custom', - table: { - width: 150 - }, - isTable: false - }, + // { + // label: '备注', + // field: 'remark', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTable: false + // }, { label: '创建时间', field: 'createTime', @@ -345,28 +345,28 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ isTable: false, isForm: false }, - { - label: '截止时间', - field: 'dueTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - form: { - component: 'DatePicker', - componentProps: { - style: {width: '100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - isTable: false, - }, + // { + // label: '截止时间', + // field: 'dueTime', + // formatter: dateFormatter, + // detail: { + // dateFormat: 'YYYY-MM-DD HH:mm:ss' + // }, + // sort: 'custom', + // table: { + // width: 180 + // }, + // form: { + // component: 'DatePicker', + // componentProps: { + // style: {width: '100%'}, + // type: 'datetime', + // dateFormat: 'YYYY-MM-DD HH:mm:ss', + // valueFormat: 'x', + // } + // }, + // isTable: false, + // }, { label: '部门', field: 'departmentCode', diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts index 95d6f73fa..7e3cc8a51 100644 --- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts @@ -238,15 +238,15 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ isTable: false, isForm: false, }, - { - label: '备注', - field: 'remark', - sort: 'custom', - table: { - width: 150 - }, - isTable: false - }, + // { + // label: '备注', + // field: 'remark', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTable: false + // }, { label: '创建时间', field: 'createTime', @@ -303,28 +303,28 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ isTable: false, isForm: false }, - { - label: '截止时间', - field: 'dueTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - form: { - component: 'DatePicker', - componentProps: { - style: {width: '100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - isTable: false, - }, + // { + // label: '截止时间', + // field: 'dueTime', + // formatter: dateFormatter, + // detail: { + // dateFormat: 'YYYY-MM-DD HH:mm:ss' + // }, + // sort: 'custom', + // table: { + // width: 180 + // }, + // form: { + // component: 'DatePicker', + // componentProps: { + // style: {width: '100%'}, + // type: 'datetime', + // dateFormat: 'YYYY-MM-DD HH:mm:ss', + // valueFormat: 'x', + // } + // }, + // isTable: false, + // }, { label: '部门', field: 'departmentCode', diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts index 67d793bd4..18736b93f 100644 --- a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts +++ b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts @@ -180,12 +180,12 @@ export const ProductredressRequestMain = useCrudSchemas(reactive([ isForm:false, isTable:false, }, - { - label: '原因', - field: 'remark', - sort: 'custom', - isTable:true, - }, + // { + // label: '原因', + // field: 'remark', + // sort: 'custom', + // isTable:true, + // }, { label: '到库区类型范围', field: 'toAreaTypes', From 07b1d6fb573efd45788a9edfb780c23df424e8fc Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Mon, 15 Jul 2024 15:53:30 +0800 Subject: [PATCH 28/51] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91?= =?UTF-8?q?=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRequestMain/index.vue | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 02b820b49..d828ff12d 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -398,6 +398,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea defaultButtons.defaultAddBtn({ hasPermi: 'wms:supplierinvoice-request-main:create' }), // 新增 defaultButtons.defaultImportBtn({hasPermi: 'wms:supplierinvoice-request-main:import'}), // 导入 defaultButtons.defaultExportBtn({hasPermi: 'wms:supplierinvoice-request-main:export'}), // 导出 + defaultButtons.mainLisSelectiontPointBtn(null), // 批量打印 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 @@ -419,6 +420,8 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea handleImport() } else if (val == 'export') { // 导出 handleExport() + } else if (val=='selection_point'){// 批量打印 + handleSelectionPoint() } else if (val == 'refresh') { // 刷新 if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { searchFormClick({ @@ -990,7 +993,6 @@ const handleImport = () => { } - /** * tableForm方法 */ @@ -1139,6 +1141,22 @@ const importSuccess = () => { window.open(documentSrc.value + '&id=' + id) } + +const srcPoint = ref(BASE_URL + '/jmreport/view/972723426543935488?token=' + getAccessToken()) +const handleSelectionPoint = async ()=>{ + let rows:any = [] + selectionRows.value.forEach(item=>{ + rows = [...rows,...item.selectionRows.map(item1=>item1.id)] + }) + if(rows.length==0){ + message.warning('至少选择一条数据!') + return + } + console.log('批量打印',rows.join(',')) + window.open(srcPoint.value+'&ids='+rows.join(',')) +} + + const handlePrintAll = async (masterId) => { // 打印 SupplierinvoiceRequestMainApi.printSupplierRecordByMasterId(masterId).then(res =>{ From 59ac86f29703ed1a245c9546daa7e10293d98832 Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Mon, 15 Jul 2024 16:11:35 +0800 Subject: [PATCH 29/51] =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E7=94=B3=E8=AF=B7bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturnRequestMain/index.vue | 9 ++- .../purchasereturnRequestMain.data.ts | 79 +++++++++++++++++-- 2 files changed, 80 insertions(+), 8 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 0145d5de3..7875f9402 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -418,7 +418,8 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { setV['singlePrice'] = val[0]['singlePrice'] setV['amount'] = val[0]['amount'] setV['projectCode'] = val[0]['projectCode'] - setV['packingNumber'] = val[0]['packingNumber'] + // setV['packingNumber'] = val[0]['packingNumber'] + // setV['inventoryBalance'] = val[0]['qty'] if (formField == 'itemCode') { setV['batch'] = val[0]['toBatch'] @@ -428,7 +429,11 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { // setV['fromLocationCode'] = val[0]['fromLocationCode'] // setV['toLocationCode'] = val[0]['toLocationCode'] } - } else { + } else if (formField == 'packingNumber'){ + setV[formField] = val[0][searchField] + setV['inventoryBalance'] = val[0]['qty'] + } + else { setV[formField] = val[0][searchField] } formRef.setValues(setV) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index a7b55418d..eef4f4f85 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -780,6 +780,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive isTableForm:false, isTable:false, hiddenInMain: true, + isForm: false, tableForm:{ disabled:true }, @@ -799,6 +800,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive isTableForm:false, isTable:false, hiddenInMain: true, + isForm: false, tableForm:{ disabled:true }, @@ -834,6 +836,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive hiddenInMain: true, isTableForm: false, isTable: false, + isForm: false, tableForm:{ disabled:true }, @@ -856,6 +859,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive }, isTableForm: false, isTable: false, + isForm: false, form: { componentProps:{ disabled:true @@ -939,11 +943,6 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, - form: { - componentProps:{ - disabled:true - } - }, tableForm:{ // labelMessage: '信息提示说明!!!', isInpuFocusShow: true, // 开启查询弹窗 @@ -964,6 +963,33 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive isMainValue: false }] }, + // form: { + // componentProps:{ + // disabled:true + // } + // }, + form:{ + // labelMessage: '信息提示说明!!!', + componentProps: { + isSearchList: true, + searchListPlaceholder: '请选择从库位代码', + searchField: 'code', + searchTitle: '库位代码信息', + searchAllSchemas: Location.allSchemas, + searchPage: LocationApi.getLocationListByAreaAndBusinesstype, + searchCondition: [{ + key: 'businessType', + value: 'PurchaseReturn', + message: '请填写业务类型', + isMainValue: false + },{ + key: 'isIn', + value: 'out', + message: '', + isMainValue: false + }] + } + }, hiddenInMain: true, isTable: false, }, @@ -976,9 +1002,41 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive }, hiddenInMain: true, isTable: false, + // form: { + // componentProps:{ + // disabled: true, + // } + // }, form: { componentProps:{ - disabled:true + isSearchList: true, + searchListPlaceholder: '请选择包装号', + searchField: 'packingNumber', + searchTitle: '库存余额信息', // 查询弹窗标题 + searchAllSchemas: Balance.allSchemas, // 查询弹窗所需类 + searchPage: BalanceApi.getBalancePage, + searchCondition: [{ + key: 'itemCode', + value: 'itemCode', + message: '请填写物料代码', + isTableRowValue: true, //查询当前searchTable表中行数据的值 + required:true, + isMainValue:true + },{ + key: 'batch', + value: 'batch', + message: '请填写批次', + isTableRowValue: true, //查询当前searchTable表中行数据的值 + // required:true, + isMainValue:true + },{ + key: 'locationCode', + value: 'fromLocationCode', + message: '请选择从库位代码', + isTableRowValue: true, //查询当前searchTable表中行数据的值 + required:true, + isMainValue:true + }] } }, tableForm:{ @@ -1024,6 +1082,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive form: { component: 'InputNumber', componentProps: { + disabled: true, min: 0, precision: 6 } @@ -1036,6 +1095,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive }, hiddenInMain: true, isTable: false, + isDetail: false, }, { label: '退货数量', @@ -1075,6 +1135,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive }, isTableForm: false, isTable: false, + isForm: false, form: { componentProps:{ disabled:true @@ -1094,6 +1155,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive hiddenInMain: true, isTableForm: false, isTable: false, + isForm: false, form: { componentProps:{ disabled:true @@ -1113,6 +1175,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive hiddenInMain: true, isTableForm: false, isTable: false, + isForm: false, form: { componentProps:{ disabled:true @@ -1132,6 +1195,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive hiddenInMain: true, isTableForm: false, isTable: false, + isForm: false, form: { componentProps:{ disabled:true @@ -1257,6 +1321,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive tableForm:{ disabled:true }, + isForm: false, isTableForm: false, isTable: false, hiddenInMain: true, @@ -1278,6 +1343,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive tableForm:{ disabled:true }, + isForm: false, isTableForm:false, isForm:false }, @@ -1317,6 +1383,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive isTableForm: false, isTable: false, hiddenInMain: true, + isForm: false, form: { componentProps:{ disabled:true From 303cbbc58f71cfff978ea3e60cccb3fbbbc4cdda Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 15 Jul 2024 16:23:17 +0800 Subject: [PATCH 30/51] =?UTF-8?q?=E7=8F=AD=E7=BB=84=E5=A4=B1=E5=8E=BB?= =?UTF-8?q?=E7=84=A6=E7=82=B9=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../orderManage/team/teamForm.vue | 337 +++++++++++++----- 1 file changed, 238 insertions(+), 99 deletions(-) diff --git a/src/views/wms/basicDataManage/orderManage/team/teamForm.vue b/src/views/wms/basicDataManage/orderManage/team/teamForm.vue index 3ecd1d35b..6cc673472 100644 --- a/src/views/wms/basicDataManage/orderManage/team/teamForm.vue +++ b/src/views/wms/basicDataManage/orderManage/team/teamForm.vue @@ -10,7 +10,7 @@ - + @@ -35,8 +35,13 @@
- - + +
@@ -45,16 +50,26 @@
- - + +
- - + +
@@ -68,7 +83,7 @@ placeholder="请选择生效时间" format="YYYY-MM-DD HH:mm:ss" value-format="x" - style="width: 100%;" + style="width: 100%" />
@@ -80,7 +95,7 @@ placeholder="请选择失效时间" format="YYYY-MM-DD HH:mm:ss" value-format="x" - style="width: 100%;" + style="width: 100%" /> @@ -89,9 +104,14 @@
- - {{ ent.nickname}} + + {{ ent.nickname }} - + - From b8498ac217c0e5b9d10ca5b3963929ecd57d07f2 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 16:46:06 +0800 Subject: [PATCH 31/51] =?UTF-8?q?=E8=A1=A5=E6=96=99=E7=94=B3=E8=AF=B7=20?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=8F=AA=E8=83=BD=E9=80=89=E6=8B=A9=E4=B8=80?= =?UTF-8?q?=E6=9D=A1=E6=95=B0=E6=8D=AE=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../issueManage/repleinsh/repleinshRequestMain/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue index eb70d07f0..2066f250c 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue +++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue @@ -379,10 +379,10 @@ const submitForm = async (formType, submitData) => { data.id = data.masterId } data.subList = tableData.value // 拼接子表数据参数 - if( data.subList.length>1){ - message.warning('明细只能选择一条数据') - return; - } + // if( data.subList.length>1){ // 喜婷说可以添加多条 + // message.warning('明细只能选择一条数据') + // return; + // } if(tableData.value.find(item => (item.qty <= 0))) { message.warning('数量必须大于0') formRef.value.formLoading = false From 70860badf408f602b2d92ef0e94906d0e8647532 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 16:49:41 +0800 Subject: [PATCH 32/51] =?UTF-8?q?=E8=A1=A5=E6=96=99=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/issueManage/repleinsh/repleinshRequestMain/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue index 2066f250c..6dda9a217 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue +++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue @@ -379,6 +379,9 @@ const submitForm = async (formType, submitData) => { data.id = data.masterId } data.subList = tableData.value // 拼接子表数据参数 + data.subList.forEach(item=>{ + item.toLocationCode = data.toLocationCode + }) // if( data.subList.length>1){ // 喜婷说可以添加多条 // message.warning('明细只能选择一条数据') // return; From aa94548aaf242186e41f30f72651da7e45ac8c23 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 16:55:02 +0800 Subject: [PATCH 33/51] =?UTF-8?q?=E5=88=A4=E6=96=AD=E7=89=A9=E6=96=99?= =?UTF-8?q?=E5=94=AF=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/issueManage/repleinsh/repleinshRequestMain/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue index 6dda9a217..8dbf7b04a 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue +++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue @@ -113,7 +113,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => // row['itemCode'] = val[0]['code'] // row['uom'] = val[0]['uom'] val.forEach(item=>{ - if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])) return + if(tableData.value.find(item1=>item1['itemCode'] == item['code'])){ + message.warning(`物料${item['code']}已经存在`) + return + } const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) newRow['itemCode'] = item['code'] newRow['uom'] = item['uom'] From 7c5eec43fa9041b35a1183e4fac26b80310b6ac9 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 15 Jul 2024 17:02:43 +0800 Subject: [PATCH 34/51] =?UTF-8?q?AGV=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/business/inputBlur.ts | 2 + .../callmaterials/callmaterials.data.ts | 64 +++++++++++-- .../manufacturePackage.data.ts | 40 ++++++++- .../purchasePackage/purchasePackage.data.ts | 90 +++++++++++++++++-- 4 files changed, 177 insertions(+), 19 deletions(-) diff --git a/src/api/wms/business/inputBlur.ts b/src/api/wms/business/inputBlur.ts index 21271d1a4..4f4fcbbe1 100644 --- a/src/api/wms/business/inputBlur.ts +++ b/src/api/wms/business/inputBlur.ts @@ -272,6 +272,7 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS message.warning( searchCondition[i].message ? searchCondition[i].message : '前置条件未选择!' ) + formRef.setValues(setV) return } filters.push({ @@ -307,6 +308,7 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS message.warning( searchCondition[i].message ? searchCondition[i].message : '前置条件未选择!' ) + formRef.setValues(setV) return } } diff --git a/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts b/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts index 1524849c4..c663d5db3 100644 --- a/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts +++ b/src/views/wms/basicDataManage/labelManage/callmaterials/callmaterials.data.ts @@ -64,7 +64,15 @@ export const Callmaterials = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -95,7 +103,15 @@ export const Callmaterials = useCrudSchemas(reactive([ value: 'itemCode', message: '请填写物料代码!', isMainValue: true - }] + }], + verificationParams: [{ + key: 'packUnit', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -190,6 +206,7 @@ export const Callmaterials = useCrudSchemas(reactive([ form: { // labelMessage: '信息提示说明!!!', componentProps: { + enterSearch: true, isSearchList: true, // 开启查询弹窗 searchListPlaceholder: '请选择仓库代码', // 输入框占位文本 searchField: 'code', // 查询弹窗赋值字段 @@ -200,7 +217,15 @@ export const Callmaterials = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -214,12 +239,21 @@ export const Callmaterials = useCrudSchemas(reactive([ form: { // labelMessage: '信息提示说明!!!', componentProps: { + enterSearch: true, isSearchList: true, // 开启查询弹窗 searchListPlaceholder: '请选择车间代码', // 输入框占位文本 searchField: 'code', // 查询弹窗赋值字段 searchTitle: '车间信息', // 查询弹窗标题 searchAllSchemas: Workshop.allSchemas, // 查询弹窗所需类 - searchPage: WorkshopApi.getWorkshopPage // 查询弹窗所需分页方法 + searchPage: WorkshopApi.getWorkshopPage, // 查询弹窗所需分页方法 + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -233,12 +267,21 @@ export const Callmaterials = useCrudSchemas(reactive([ form: { // labelMessage: '', componentProps: { + enterSearch: true, isSearchList: true, // 开启查询弹窗 searchListPlaceholder: '请选择生产线', // 输入框占位文本 searchField: 'code', // 查询弹窗赋值字段 searchTitle: '生产线信息', // 查询弹窗标题 searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 - searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法 + searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法, + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -252,6 +295,7 @@ export const Callmaterials = useCrudSchemas(reactive([ form: { // labelMessage: '信息提示说明!!!', componentProps: { + enterSearch: true, isSearchList: true, // 开启查询弹窗 searchListPlaceholder: '请选择工位', // 输入框占位文本 searchField: 'code', // 查询弹窗赋值字段 @@ -272,7 +316,15 @@ export const Callmaterials = useCrudSchemas(reactive([ key:'available', value:'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } }, tableForm:{ diff --git a/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts b/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts index d8897e8e1..2c40f2698 100644 --- a/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts +++ b/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts @@ -199,7 +199,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -476,7 +484,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -501,7 +517,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -526,7 +550,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, diff --git a/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts b/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts index acbfe228d..ecae0e0a1 100644 --- a/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts +++ b/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts @@ -174,7 +174,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -419,7 +427,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -444,7 +460,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -469,7 +493,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -494,7 +526,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -534,7 +574,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'number', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -566,7 +614,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'lineNumber', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -598,7 +654,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'number', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -630,7 +694,15 @@ export const PackageInventory = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'asnNumber', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, From 6245c25fb31627359913396e5eb146037ddf78fe Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 15 Jul 2024 17:06:14 +0800 Subject: [PATCH 35/51] =?UTF-8?q?agv=E5=A4=B1=E5=8E=BB=E7=84=A6=E7=82=B9?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../agvLocationrelation.data.ts | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts b/src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts index 7c26a4bdc..6dfc2a8b4 100644 --- a/src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts +++ b/src/views/wms/agvManage/agvLocationrelation/agvLocationrelation.data.ts @@ -49,6 +49,7 @@ export const AgvLocationrelation = useCrudSchemas(reactive([ form: { // labelMessage: '信息提示说明!!!', componentProps: { + enterSearch: true, isSearchList: true, // 开启查询弹窗 searchListPlaceholder: '请选择库区代码', // 输入框占位文本 searchField: 'code', // 查询弹窗赋值字段 @@ -59,7 +60,15 @@ export const AgvLocationrelation = useCrudSchemas(reactive([ key: 'available', value: 'TRUE', isMainValue: false - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, @@ -73,6 +82,7 @@ export const AgvLocationrelation = useCrudSchemas(reactive([ form: { // labelMessage: '信息提示说明!!!', componentProps: { + enterSearch: true, isSearchList: true, // 开启查询弹窗 searchListPlaceholder: '请选择库位代码', // 输入框占位文本 searchField: 'code', // 查询弹窗赋值字段 @@ -89,7 +99,15 @@ export const AgvLocationrelation = useCrudSchemas(reactive([ value: "wmsArea", message: '请选择库区代码!', isMainValue: true - }] + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 } } }, From ff39c694527cf7d9a2c43f5e20396f474afb2283 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 17:15:40 +0800 Subject: [PATCH 36/51] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=8A=B6=E6=80=816?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packageoverMain/packageoverRequestMain/index.vue | 2 +- .../wms/inventoryjobManage/scrap/scrapRequestMain/index.vue | 2 +- .../sparepartsrequisitionRequestMain/index.vue | 2 +- .../transferissue/transferissueRequestMain/index.vue | 2 +- .../transferreceipt/transferreceiptRequestMain/index.vue | 2 +- .../unplannedreceipt/unplannedreceiptRequestMain/index.vue | 2 +- src/views/wms/issueManage/issue/issueRequestMain/index.vue | 2 +- .../productionreturn/productionreturnRequestMain/index.vue | 2 +- .../productionreturn/productionreturnRequestMainNo/index.vue | 2 +- .../wms/issueManage/repleinsh/repleinshRequestMain/index.vue | 2 +- .../inventorychange/inventorychangeRequestMain/index.vue | 2 +- .../processproduction/processproductionRequest/index.vue | 2 +- .../productdismantle/productdismantleRequestMain/index.vue | 2 +- .../productputaway/productputawayRequestMain/index.vue | 2 +- .../productputawayAssembleRequestMain/index.vue | 2 +- .../productreceipt/productreceiptRequestMain/index.vue | 2 +- .../productreceiptAssembleRequestMain/index.vue | 2 +- .../productreceiptscrapRequestMain/index.vue | 2 +- .../productredress/productredressRequestMain/index.vue | 2 +- .../productrepair/productrepairRequestMain/index.vue | 2 +- .../productscrap/productscrapRequestMain/index.vue | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue index dab4cf2b7..7f99c50dc 100644 --- a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue @@ -236,7 +236,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:packageover-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:packageover-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:packageover-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:packageover-request-main:refused'}), // 驳回 diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue index 9a5679c56..56e040304 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue @@ -244,7 +244,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:scrap-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:scrap-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:scrap-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:scrap-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:scrap-request-main:refused'}), // 驳回 diff --git a/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue b/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue index 79a4547e5..d4ad79678 100644 --- a/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue @@ -233,7 +233,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:unplannedissue-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:unplannedissue-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:unplannedissue-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:unplannedissue-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:unplannedissue-request-main:refused'}), // 驳回 diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue index 11ecd8cc3..29a8c0330 100644 --- a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue @@ -230,7 +230,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:transferissue-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:transferissue-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:transferissue-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:transferissue-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:transferissue-request-main:refused'}), // 驳回 diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue index 0c52a5d4f..909159740 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue @@ -206,7 +206,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:transferreceipt-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:transferreceipt-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']),hasPermi:'wms:transferreceipt-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:transferreceipt-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:transferreceipt-request-main:refused'}), // 驳回 diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue index 799614b09..eb3cde1ea 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue @@ -373,7 +373,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:unplannedreceipt-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:unplannedreceipt-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:unplannedreceipt-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:unplannedreceipt-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:unplannedreceipt-request-main:refused'}), // 驳回 diff --git a/src/views/wms/issueManage/issue/issueRequestMain/index.vue b/src/views/wms/issueManage/issue/issueRequestMain/index.vue index df1f3f87a..f8406acad 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/index.vue +++ b/src/views/wms/issueManage/issue/issueRequestMain/index.vue @@ -283,7 +283,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:issue-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:issue-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:issue-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:issue-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:issue-request-main:refused'}), // 驳回 diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue index af65818e2..8375eb726 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue @@ -327,7 +327,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productionreturn-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productionreturn-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productionreturn-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productionreturn-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productionreturn-request-main:refused'}), // 驳回 diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue b/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue index 3a703320f..1738c8fb9 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue @@ -305,7 +305,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productionreturn-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productionreturn-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productionreturn-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productionreturn-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productionreturn-request-main:refused'}), // 驳回 diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue index 8dbf7b04a..47f275fad 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue +++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue @@ -215,7 +215,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:repleinsh-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:repleinsh-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:repleinsh-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:repleinsh-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:repleinsh-request-main:refused'}), // 驳回 diff --git a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue index 63fc24a71..0aa1d217f 100644 --- a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue +++ b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue @@ -274,7 +274,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:inventorychange-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:inventorychange-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']),hasPermi:'wms:inventorychange-request-main:reAdd'}), //重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:inventorychange-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:inventorychange-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue b/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue index 16efcd877..c6d753817 100644 --- a/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue +++ b/src/views/wms/productionManage/processproduction/processproductionRequest/index.vue @@ -207,7 +207,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:processproduction-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:processproduction-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']),hasPermi:'wms:processproduction-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:processproduction-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:processproduction-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue index 9cd07b365..3f4786a8b 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue @@ -380,7 +380,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productdismantle-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productdismantle-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productdismantle-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productdismantle-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productdismantle-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue index 997469e15..c82d51f25 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue +++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue @@ -214,7 +214,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productputaway-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productputaway-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productputaway-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productputaway-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productputaway-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue index c8bec783a..84d9e6d53 100644 --- a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue +++ b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue @@ -216,7 +216,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productputaway-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productputaway-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productputaway-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productputaway-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productputaway-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue index ac11bd065..1e9dde54f 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue @@ -320,7 +320,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productreceipt-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productreceipt-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productreceipt-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue index be07c0b41..491dc8daf 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue @@ -319,7 +319,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productreceipt-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productreceipt-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productreceipt-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue index 811f90d25..a95bf54c1 100644 --- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue @@ -311,7 +311,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productreceipt-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productreceipt-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productreceipt-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productreceipt-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue index 659d48369..086524541 100644 --- a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue +++ b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue @@ -229,7 +229,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productredress-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productredress-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productredress-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productredress-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productredress-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue index 8c2482afd..89c622b32 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue @@ -380,7 +380,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']), hasPermi:'wms:productrepair-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:productrepair-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:productrepair-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:productrepair-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:productrepair-request-main:refused'}), // 驳回 diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue index 8f48623fe..2bef4ef89 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue @@ -468,7 +468,7 @@ const butttondata = (row,$index) => { return [] } return [ - defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:productscrap-request-main:close'}), // 关闭 + defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:productscrap-request-main:close'}), // 关闭 defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:productscrap-request-main:reAdd'}), // 重新添加 defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:productscrap-request-main:submit'}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:productscrap-request-main:refused'}), // 驳回 From 87ed5e8c24a320d4529ae0760e553bab31410ffc Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 15 Jul 2024 17:35:54 +0800 Subject: [PATCH 37/51] =?UTF-8?q?=E5=A4=B1=E5=8E=BB=E7=84=A6=E7=82=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/business/inputBlur.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/wms/business/inputBlur.ts b/src/api/wms/business/inputBlur.ts index 4f4fcbbe1..50ffd9583 100644 --- a/src/api/wms/business/inputBlur.ts +++ b/src/api/wms/business/inputBlur.ts @@ -550,7 +550,7 @@ export const FormBlur = async (field, val, routeName, formRef, detailData, formS return } // emit('searchTableSuccess', formField, searchField, list.value, formRef.value, 'form') - callback(searchField, list.value) + callback(list.value) }) } } From 1da0d531656651c428c8367df3d57a94ff608e99 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 17:38:24 +0800 Subject: [PATCH 38/51] type:'Select', --- .../productredressRequestMain/productredressRequestMain.data.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts index 18736b93f..339927a39 100644 --- a/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts +++ b/src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts @@ -511,6 +511,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive width: 150 }, tableForm: { + type:'Select', disabled: true }, form: { From 8d1350c0e085d5bc4847d0961b31905313dfad44 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 17:41:11 +0800 Subject: [PATCH 39/51] select --- .../productdismantleRequestMain.data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts index 0da6c60a3..bb1e0b840 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts @@ -782,7 +782,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive Date: Mon, 15 Jul 2024 17:42:26 +0800 Subject: [PATCH 40/51] bug --- .../supplierdeliver/purchasePlanMain/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue index bb9d87c5d..bb2c0a188 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue @@ -78,7 +78,6 @@ fieldTableColumn="poLine" /> - 采购订单信息 From ecadb01f27af9fea8f38e1e866baeae76af48db0 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 15 Jul 2024 18:22:37 +0800 Subject: [PATCH 41/51] =?UTF-8?q?=EF=BC=88=E6=97=A0=E6=84=8F=E4=B9=89?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=88=A0=E9=99=A4=EF=BC=89=E5=B0=8F=E5=8D=9A?= =?UTF-8?q?=E6=8F=90=E5=87=BA--=E5=96=9C=E5=A9=B7=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sparereceiptJobMain.data.ts | 124 ++++----- .../sparereceiptRecordMain.data.ts | 212 +++++++------- .../sparereceiptRequestMain.data.ts | 262 +++++++++--------- 3 files changed, 299 insertions(+), 299 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts index 2b5581a23..e3f884bb2 100644 --- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts +++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptJobMain/sparereceiptJobMain.data.ts @@ -692,29 +692,29 @@ export const PurchasereceiptJobMainRules = reactive({ * @returns {Array} 采购收货任务子表 */ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([ - { - label: '包装号', - field: 'packingNumber', - sort: 'custom', - table: { - width: 150 - }, - isSearch:true, - hiddenInMain:true, - sortTableDefault:1002, - sortSearchDefault:1002 - }, - { - label: '包装规格', - field: 'packUnit', - dictClass: 'string', - isTable: true, - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:1002 - }, + // { + // label: '包装号', + // field: 'packingNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isSearch:true, + // hiddenInMain:true, + // sortTableDefault:1002, + // sortSearchDefault:1002 + // }, + // { + // label: '包装规格', + // field: 'packUnit', + // dictClass: 'string', + // isTable: true, + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:1002 + // }, { label: '包装数量', field: 'qty', @@ -841,15 +841,15 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([ hiddenInMain:true, sortTableDefault:1006, }, - { - label: '来源库位', - field: 'fromLocationCode', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:1007, - }, + // { + // label: '来源库位', + // field: 'fromLocationCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:1007, + // }, { label: '目标库位', field: 'toLocationCode', @@ -933,26 +933,26 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([ sortTableDefault:1009, hiddenInMain:true, }, - { - label: '从货主', - field: 'fromOwnerCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - sortTableDefault:1008, - }, - { - label: '到货主', - field: 'toOwnerCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - sortTableDefault:1008, - }, + // { + // label: '从货主', + // field: 'fromOwnerCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // sortTableDefault:1008, + // }, + // { + // label: '到货主', + // field: 'toOwnerCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // sortTableDefault:1008, + // }, { label: '物料代码', field: 'itemCode', @@ -992,16 +992,16 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([ hiddenInMain:true, sortTableDefault:7, }, - { - label: '项目代码', - field: 'projectCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - sortTableDefault:1010, - }, + // { + // label: '项目代码', + // field: 'projectCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // sortTableDefault:1010, + // }, { label: '计量单位', field: 'uom', diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts index 5aea05b6e..6ea0c3605 100644 --- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRecordMain/sparereceiptRecordMain.data.ts @@ -603,16 +603,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive sortTableDefault:14, hiddenInMain:true }, - { - label: '到批次', - field: 'toBatch', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:14, - hiddenInMain:true - }, + // { + // label: '到批次', + // field: 'toBatch', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:14, + // hiddenInMain:true + // }, { label: '替代批次', field: 'altBatch', @@ -623,26 +623,26 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive isTable:false, hiddenInMain:true }, - { - label: '从包装号', - field: 'fromPackingNumber', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:15, - hiddenInMain:true - }, - { - label: '到包装号', - field: 'toPackingNumber', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:15, - hiddenInMain:true - }, + // { + // label: '从包装号', + // field: 'fromPackingNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:15, + // hiddenInMain:true + // }, + // { + // label: '到包装号', + // field: 'toPackingNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:15, + // hiddenInMain:true + // }, { label: '从器具号', field: 'fromContainerNumber', @@ -709,33 +709,33 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive }, sortTableDefault:13, }, - { - label: '包装规格', - field: 'packUnit', - dictClass: 'string', - isTable: true, - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:16, - }, - { - label: '包装数量', - field: 'packQty', - sort: 'custom', - table: { - width: 150 - }, - form: { - component: 'InputNumber', - }, - tableForm: { - disabled: true, - }, - isForm:false, - sortTableDefault:16, - }, + // { + // label: '包装规格', + // field: 'packUnit', + // dictClass: 'string', + // isTable: true, + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:16, + // }, + // { + // label: '包装数量', + // field: 'packQty', + // sort: 'custom', + // table: { + // width: 150 + // }, + // form: { + // component: 'InputNumber', + // }, + // tableForm: { + // disabled: true, + // }, + // isForm:false, + // sortTableDefault:16, + // }, { label: '供应商计量数量', field: 'supplierQty', @@ -776,16 +776,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive sortTableDefault:18, hiddenInMain:true }, - { - label: '从库位代码', - field: 'fromLocationCode', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:18, + // { + // label: '从库位代码', + // field: 'fromLocationCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:18, - }, + // }, { label: '到库位代码', field: 'toLocationCode', @@ -795,16 +795,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive }, sortTableDefault:18, }, - { - label: '从库位组', - field: 'fromLocationGroupCode', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:19, - hiddenInMain:true - }, + // { + // label: '从库位组', + // field: 'fromLocationGroupCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:19, + // hiddenInMain:true + // }, { label: '到库位组', field: 'toLocationGroupCode', @@ -815,16 +815,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive sortTableDefault:19, hiddenInMain:true }, - { - label: '从库区', - field: 'fromAreaCodes', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:22, - hiddenInMain:true, - }, + // { + // label: '从库区', + // field: 'fromAreaCodes', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:22, + // hiddenInMain:true, + // }, { label: '到库区', field: 'toAreaCodes', @@ -835,16 +835,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive sortTableDefault:22, hiddenInMain:true }, - { - label: '从货主', - field: 'fromOwnerCode', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:23, - hiddenInMain:true - }, + // { + // label: '从货主', + // field: 'fromOwnerCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:23, + // hiddenInMain:true + // }, { label: '到货主', field: 'toOwnerCode', @@ -1004,16 +1004,16 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive // }, // }, - { - label: '项目代码', - field: 'projectCode', - sort: 'custom', - table: { - width: 150 - }, - sortTableDefault:1998, - hiddenInMain:true - }, + // { + // label: '项目代码', + // field: 'projectCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // sortTableDefault:1998, + // hiddenInMain:true + // }, // { // label: '代码', // field: 'code', diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts index 1df29662c..767c6f791 100644 --- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts @@ -870,92 +870,92 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive Date: Mon, 15 Jul 2024 18:34:00 +0800 Subject: [PATCH 42/51] =?UTF-8?q?=E6=97=A0=E6=84=8F=E4=B9=89=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=88=A0=E9=99=A4---=E5=B0=8F=E5=8D=9A=E6=8F=90?= =?UTF-8?q?=E5=87=BA=EF=BC=8C=E5=96=9C=E5=A9=B7=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../putawayJobMain/putawayJobMain.data.ts | 54 ++++++------- .../putawayRecordMain.data.ts | 78 +++++++++---------- .../putawayRequestMain.data.ts | 66 ++++++++-------- 3 files changed, 99 insertions(+), 99 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts index 07d5dd8df..d70ef2d4c 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts @@ -793,15 +793,15 @@ export const PutawayJobDetail = useCrudSchemas(reactive([ }, hiddenInMain: true, }, - { - label: '项目代码', - field: 'projectCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain: true, - }, + // { + // label: '项目代码', + // field: 'projectCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain: true, + // }, { label: '数量', field: 'qty', @@ -844,24 +844,24 @@ export const PutawayJobDetail = useCrudSchemas(reactive([ }, hiddenInMain: true, }, - { - label: '从货主代码', - field: 'fromOwnerCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain: true, - }, - { - label: '到货主代码', - field: 'toOwnerCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain: true, - }, + // { + // label: '从货主代码', + // field: 'fromOwnerCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain: true, + // }, + // { + // label: '到货主代码', + // field: 'toOwnerCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain: true, + // }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts index 7f5c9997e..64063dbc4 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts @@ -671,15 +671,15 @@ export const PutawayRecordDetail = useCrudSchemas(reactive([ }, hiddenInMain:true, }, - { - label: '项目代码', - field: 'projectCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - }, + // { + // label: '项目代码', + // field: 'projectCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // }, { label: '数量', field: 'qty', @@ -701,18 +701,18 @@ export const PutawayRecordDetail = useCrudSchemas(reactive([ // width: 150 // }, // }, - { - label: '接口类型', - field: 'interfaceType', - dictType: DICT_TYPE.INTERFACE_TYPE, - dictClass: 'string', - isTable: true, - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - }, + // { + // label: '接口类型', + // field: 'interfaceType', + // dictType: DICT_TYPE.INTERFACE_TYPE, + // dictClass: 'string', + // isTable: true, + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // }, // { // label: '任务明细ID', // field: 'jobDetailId', @@ -721,24 +721,24 @@ export const PutawayRecordDetail = useCrudSchemas(reactive([ // width: 150 // }, // }, - { - label: '从器具号', - field: 'fromContainerNumber', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - }, - { - label: '到器具号', - field: 'toContainerNumber', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - }, + // { + // label: '从器具号', + // field: 'fromContainerNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // }, + // { + // label: '到器具号', + // field: 'toContainerNumber', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // }, { label: '操作', hiddenInMain:true, diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts index bdfe01bf9..07db11bad 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts @@ -810,17 +810,17 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ isTableForm: false, isForm: false }, - { - label: '项目代码', - field: 'projectCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - isTableForm: false, - isForm: false - }, + // { + // label: '项目代码', + // field: 'projectCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // isTableForm: false, + // isForm: false + // }, { label: '数量', field: 'qty', @@ -843,28 +843,28 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ } }, - { - label: '从货主代码', - field: 'fromOwnerCode', - sort: 'custom', - table: { - width: 150 - }, - isTableForm: false, - isForm: false, - hiddenInMain:true, - }, - { - label: '到货主代码', - field: 'toOwnerCode', - sort: 'custom', - table: { - width: 150 - }, - hiddenInMain:true, - isTableForm: false, - isForm: false - }, + // { + // label: '从货主代码', + // field: 'fromOwnerCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // isTableForm: false, + // isForm: false, + // hiddenInMain:true, + // }, + // { + // label: '到货主代码', + // field: 'toOwnerCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // hiddenInMain:true, + // isTableForm: false, + // isForm: false + // }, { label: '操作', hiddenInMain:true, From 4f577780862a0a9abd19c2d416248749f7599d6d Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 15 Jul 2024 19:53:32 +0800 Subject: [PATCH 43/51] =?UTF-8?q?=E9=87=87=E8=B4=AD=E6=94=B6=E8=B4=A7?= =?UTF-8?q?=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 39 ++++++++++++++----- .../purchasereceiptRequestMain.data.ts | 11 +++++- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index c36b73763..74928cee4 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -134,8 +134,7 @@ :showSearchTableQueryFields="showSearchTableQueryFields" @searchTableSuccess="searchTableSuccess" > - -