diff --git a/src/api/wms/productputawayRecordDetail/index.ts b/src/api/wms/productputawayRecordDetail/index.ts index 4464c5c7e..5b46db206 100644 --- a/src/api/wms/productputawayRecordDetail/index.ts +++ b/src/api/wms/productputawayRecordDetail/index.ts @@ -54,7 +54,7 @@ export const getProductputawayRecordDetailPage = async (params) => { // 查询制品上架记录子列表 export const getProductputawayRecordDetailPageAssemble = async (params) => { -   params.type = 'assemble' + params.type = 'assemble' if (params.isSearch) { const cmd = { 'column':'type', diff --git a/src/api/wms/productputawayRecordMain/index.ts b/src/api/wms/productputawayRecordMain/index.ts index 897de3153..f411cfb30 100644 --- a/src/api/wms/productputawayRecordMain/index.ts +++ b/src/api/wms/productputawayRecordMain/index.ts @@ -74,8 +74,14 @@ export const deleteProductputawayRecordMain = async (id: number) => { // 导出制品上架记录主 Excel export const exportProductputawayRecordMain = async (params) => { - params.type = 'predict' + params.type = 'assemble' if (params.isSearch) { + const cmd = { + 'column':'type', + 'action':'==', + 'value':'assemble' + } + params.filters.push(cmd) delete params.isSearch const data = {...params} return await request.downloadPost({ url: '/wms/productputaway-record-main/export-excel-senior', data }) diff --git a/src/views/login/components/LoginForm.vue b/src/views/login/components/LoginForm.vue index 7751297e1..661c0c0eb 100644 --- a/src/views/login/components/LoginForm.vue +++ b/src/views/login/components/LoginForm.vue @@ -33,7 +33,7 @@ :prefix-icon="iconLock" show-password type="password" @keyup.enter="getCode()" style="height: 42px;" /> - +
{ @@ -234,7 +234,7 @@ return } let res = null - if(needCode.value=='false'){ + if(!needCode.value){ res = await LoginApi.loginNoCode(loginData.loginForm) }else{ res = await LoginApi.login(loginData.loginForm) diff --git a/src/views/qms/inspectionQ2/inspectionQ2.data.ts b/src/views/qms/inspectionQ2/inspectionQ2.data.ts index f62948b2a..2e2f6a883 100644 --- a/src/views/qms/inspectionQ2/inspectionQ2.data.ts +++ b/src/views/qms/inspectionQ2/inspectionQ2.data.ts @@ -49,50 +49,7 @@ export const Q2 = useCrudSchemas( fixed: 'left' } }, - { - label: 'Q1通知单号', - field: 'q1Number', - sort: 'custom', - table: { - width: 150 - }, - form: { - // labelMessage: '信息提示说明!!!', - componentProps: { - enterSearch: true, - multiple: true, - isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择Q1通知单', // 输入框占位文本 - searchField: 'number', // 查询弹窗赋值字段 - searchTitle: 'Q1通知单', // 查询弹窗标题 - searchAllSchemas: Q1.allSchemas, // 查询弹窗所需类 - searchPage: InspectionQ1Api.getQ1Page, // 查询弹窗所需分页方法 - searchCondition: [ - { - key: 'available', - value: 'TRUE', - isMainValue: false - }, - { - key: 'status', - value: '0', - isMainValue: false - } - ], - verificationParams: [ - { - key: 'number', - action: '==', - value: '', - isMainValue: false, - isSearch: true, - isFormModel: true - } - ] // 失去焦点校验参数 - } - }, - isSearch: true - }, + { label: '状态', field: 'status', @@ -380,6 +337,7 @@ export const Q2 = useCrudSchemas( } } }, + { label: '索赔日期', field: 'claimTime', @@ -422,6 +380,50 @@ export const Q2 = useCrudSchemas( } } }, + { + label: 'Q1通知单号', + field: 'q1Number', + sort: 'custom', + table: { + width: 150 + }, + form: { + // labelMessage: '信息提示说明!!!', + componentProps: { + enterSearch: true, + multiple: true, + isSearchList: true, // 开启查询弹窗 + searchListPlaceholder: '请选择Q1通知单', // 输入框占位文本 + searchField: 'number', // 查询弹窗赋值字段 + searchTitle: 'Q1通知单', // 查询弹窗标题 + searchAllSchemas: Q1.allSchemas, // 查询弹窗所需类 + searchPage: InspectionQ1Api.getQ1Page, // 查询弹窗所需分页方法 + searchCondition: [ + { + key: 'available', + value: 'TRUE', + isMainValue: false + }, + { + key: 'status', + value: '0', + isMainValue: false + } + ], + verificationParams: [ + { + key: 'number', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true + } + ] // 失去焦点校验参数 + } + }, + isSearch: true + }, { label: '描述', field: 'desc', @@ -473,8 +475,8 @@ export const Q2 = useCrudSchemas( valueFormat: 'YYYY-MM-DD HH:mm:ss', type: 'daterange', defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - }, - }, + } + } }, { label: '操作', diff --git a/src/views/qms/inspectionQ3/inspectionQ3.data.ts b/src/views/qms/inspectionQ3/inspectionQ3.data.ts index 7a466a93c..3a3bea419 100644 --- a/src/views/qms/inspectionQ3/inspectionQ3.data.ts +++ b/src/views/qms/inspectionQ3/inspectionQ3.data.ts @@ -48,50 +48,7 @@ export const InspectionQ3Main = useCrudSchemas( fixed: 'left' } }, - { - label: 'Q1通知单号', - field: 'q1Number', - sort: 'custom', - isSearch: true, - table: { - width: 150 - }, - form: { - // labelMessage: '信息提示说明!!!', - componentProps: { - enterSearch: true, - multiple: true, - isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择Q1通知单', // 输入框占位文本 - searchField: 'number', // 查询弹窗赋值字段 - searchTitle: 'Q1通知单', // 查询弹窗标题 - searchAllSchemas: Q1.allSchemas, // 查询弹窗所需类 - searchPage: InspectionQ1Api.getQ1Page, // 查询弹窗所需分页方法 - searchCondition: [ - { - key: 'available', - value: 'TRUE', - isMainValue: false - }, - { - key: 'status', - value: '0', - isMainValue: false - } - ], - verificationParams: [ - { - key: 'number', - action: '==', - value: '', - isMainValue: false, - isSearch: true, - isFormModel: true - } - ] // 失去焦点校验参数 - } - } - }, + { label: '负责用户', field: 'responUser', @@ -157,6 +114,50 @@ export const InspectionQ3Main = useCrudSchemas( } } }, + { + label: 'Q1通知单号', + field: 'q1Number', + sort: 'custom', + isSearch: true, + table: { + width: 150 + }, + form: { + // labelMessage: '信息提示说明!!!', + componentProps: { + enterSearch: true, + multiple: true, + isSearchList: true, // 开启查询弹窗 + searchListPlaceholder: '请选择Q1通知单', // 输入框占位文本 + searchField: 'number', // 查询弹窗赋值字段 + searchTitle: 'Q1通知单', // 查询弹窗标题 + searchAllSchemas: Q1.allSchemas, // 查询弹窗所需类 + searchPage: InspectionQ1Api.getQ1Page, // 查询弹窗所需分页方法 + searchCondition: [ + { + key: 'available', + value: 'TRUE', + isMainValue: false + }, + { + key: 'status', + value: '0', + isMainValue: false + } + ], + verificationParams: [ + { + key: 'number', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true + } + ] // 失去焦点校验参数 + } + } + }, { label: '描述', field: 'desc', diff --git a/src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts b/src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts index df0380761..98b205c6f 100644 --- a/src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts @@ -446,8 +446,14 @@ export const Itemarea = useCrudSchemas(reactive([ label: '超过高储是否允许叫料', field: 'allowIssueRequest', sort: 'custom', + isSearch: false, dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', + // colorType: 'danger', + isTable: true, + table: { + width: 150 + }, form: { component: 'Switch', value: 'TRUE', @@ -456,7 +462,6 @@ export const Itemarea = useCrudSchemas(reactive([ activeValue: 'TRUE' } }, - isTable: false }, // { // label: '优先空库位', @@ -771,7 +776,7 @@ export const ItemareaDetail = useCrudSchemas(reactive([ isFormModel: true, }], verificationPage: LocationApi.getLocationByCodes, // 校验数去焦点输入是否正确的方法 - isShowTableFormSearch: true, // + isShowTableFormSearch: true, // }, form: { // labelMessage: '信息提示说明!!!', diff --git a/src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue b/src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue index 1184dbc18..486c73b79 100644 --- a/src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue +++ b/src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue @@ -77,14 +77,14 @@ const route = useRoute() //路由信息 const routeName = ref() routeName.value = route.name const tableColumns = ref(Supplieritem.allSchemas.tableColumns) -if(routeName.value.includes('SCP')){ - tableColumns.value = tableColumns.value.filter(item=>item.field!='action') -} +// if(routeName.value.includes('SCP')){ +// tableColumns.value = tableColumns.value.filter(item=>item.field!='action') +// } //字段设置 更新主列表字段 const updataTableColumns = (val) => { - if(routeName.value.includes('SCP')){ - val = val.filter(item=>item.field!='action') - } + // if(routeName.value.includes('SCP')){ + // val = val.filter(item=>item.field!='action') + // } tableColumns.value = val } const { tableObject, tableMethods } = useTable({ diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue index 92a3e9db4..1551887fb 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue @@ -142,7 +142,7 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultExportBtn({hasPermi:'wms:stockup-job-main:export'}), // 导出 + defaultButtons.defaultExportBtn({hasPermi:'wms:stockup-main-job:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue index c68de58d5..542698de4 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue @@ -305,6 +305,15 @@ const handleExport = async () => { // 筛选提交 const searchFormClick = (searchData) => { + const cmd = { + 'column':'type', + 'action':'==', + 'value':'predict' + } + if (!Array.isArray(searchData.filters)) { + searchData.filters = []; + } + searchData.filters.push(cmd) tableObject.params = { isSearch: true, filters: searchData.filters diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts index 89fd1cf7c..d9341133d 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts @@ -48,6 +48,16 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive([ isSearch: false, sortTableDefault:3 }, + { + label: '明细备注', + field: 'remark', + sort: 'custom', + table: { + width: 180 + }, + isSearch: false, + sortTableDefault:3 + }, { label: '发货单号', field: 'asnNumber', diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue index dd8f6193d..b89d456ce 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/index.vue @@ -83,7 +83,7 @@ - +