From ff1a7a039f36b94cc980305e318a3eeb3f15339a Mon Sep 17 00:00:00 2001
From: TengXF <302828528@qq.com>
Date: Fri, 5 Jul 2024 13:41:41 +0800
Subject: [PATCH 01/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0type?=
=?UTF-8?q?=E4=BC=A0=E5=8F=82=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productreceiptscrap/productreceiptscrapJobMain/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
index 345042c99..ce5ab9968 100644
--- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
+++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
@@ -299,7 +299,7 @@ const searchFormClick = (searchData) => {
const cmd = {
'column':'type',
'action':'==',
- 'value':'predict'
+ 'value':'scrap'
}
searchData.filters.push(cmd)
tableObject.params = {
From 7187d0348eba2e215cb8c77d85ef11506d371287 Mon Sep 17 00:00:00 2001
From: TengXF <302828528@qq.com>
Date: Fri, 5 Jul 2024 13:45:05 +0800
Subject: [PATCH 02/13] =?UTF-8?q?=E9=AB=98=E7=BA=A7=E7=AD=9B=E9=80=89?=
=?UTF-8?q?=E6=B2=A1=E4=BC=A0type=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productreceiptscrapRecordMain/index.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue
index 84962d800..e5f369ecc 100644
--- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue
+++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue
@@ -208,6 +208,12 @@ const handleExport = async () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'scrap'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
From 592d773f69544168254a3e4166f9fa88d19844bb Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Fri, 5 Jul 2024 13:45:58 +0800
Subject: [PATCH 03/13] =?UTF-8?q?EAM=20=20=E2=80=94=E2=80=94>=20=E5=A4=87?=
=?UTF-8?q?=E4=BB=B6=E7=AE=A1=E7=90=86=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/disposition/defaultButtons.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts
index edb8b8d7e..7f637131d 100644
--- a/src/utils/disposition/defaultButtons.ts
+++ b/src/utils/disposition/defaultButtons.ts
@@ -1154,7 +1154,7 @@ export function mainCopyBtn(option: any) {
// 主列表-部件
export function componentBtn(option: any) {
return __defaultBtnOption(option, {
- label: '部件',
+ label: '关联部件',
name: 'component',
hide: false,
type: 'primary',
@@ -1166,7 +1166,7 @@ export function componentBtn(option: any) {
// 主列表-备件
export function sparePartBtn(option: any) {
return __defaultBtnOption(option, {
- label: '备件',
+ label: '关联备件',
name: 'sparePart',
hide: false,
type: 'primary',
From 3879353b0229401bfd676b8e8f1ca332184d7ac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com>
Date: Fri, 5 Jul 2024 13:57:36 +0800
Subject: [PATCH 04/13] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/eam/equipmentAccounts/index.vue | 368 ++++++++++++----------
src/views/eam/toolAccounts/index.vue | 350 +++++++++++---------
2 files changed, 413 insertions(+), 305 deletions(-)
diff --git a/src/views/eam/equipmentAccounts/index.vue b/src/views/eam/equipmentAccounts/index.vue
index e17ae39a8..7196e45b5 100644
--- a/src/views/eam/equipmentAccounts/index.vue
+++ b/src/views/eam/equipmentAccounts/index.vue
@@ -1,18 +1,22 @@
-
+
-
-
+
+
@@ -27,13 +31,13 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
-
+
{{ row.code }}
-
+
@@ -51,68 +55,105 @@
/>
-
+ />
-
+
diff --git a/src/views/eam/toolAccounts/index.vue b/src/views/eam/toolAccounts/index.vue
index 0442cbfe7..27ebebe3f 100644
--- a/src/views/eam/toolAccounts/index.vue
+++ b/src/views/eam/toolAccounts/index.vue
@@ -1,18 +1,22 @@
-
+
-
-
+
+
@@ -27,13 +31,13 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
-
+
{{ row.code }}
-
+
@@ -51,19 +55,19 @@
/>
-
@@ -71,40 +75,75 @@
-
+
From 7c56de3a2c9917375ef1d8926369609c1914df81 Mon Sep 17 00:00:00 2001
From: TengXF <302828528@qq.com>
Date: Fri, 5 Jul 2024 14:04:54 +0800
Subject: [PATCH 05/13] =?UTF-8?q?=E5=88=B6=E5=93=81=E4=B8=8A=E6=9E=B6?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7=E3=80=81=E9=AB=98=E7=BA=A7=E7=AD=9B=E9=80=89?=
=?UTF-8?q?=E6=B2=A1=E4=BC=A0type=E5=8F=82=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productputaway/productputawayJobMain/index.vue | 8 +++++++-
.../productputaway/productputawayRecordMain/index.vue | 6 ++++++
.../productputaway/productputawayRequestMain/index.vue | 6 ++++++
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
index b8f15698c..83e25ee9b 100644
--- a/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
+++ b/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
@@ -129,7 +129,7 @@ const getSwitchStatus = async ()=>{
console.log('getSwitchStatus',res)
if(res&&res.list){
switchproductPutawayJobPrint.value = res.list[0].effectiveSetValue == 'TRUE'
-
+
}
}
// 列表头部按钮
@@ -255,6 +255,12 @@ const handleExport = async () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'predict'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
diff --git a/src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
index bbe6e11a9..9778c239b 100644
--- a/src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
+++ b/src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
@@ -165,6 +165,12 @@ const handleExport = async () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'predict'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
index aa88d864f..9cfa44045 100644
--- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
+++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
@@ -421,6 +421,12 @@ const importSuccess = () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'predict'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
From d72fbd5e0ce714814b8de138e457969288350d53 Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Fri, 5 Jul 2024 14:09:45 +0800
Subject: [PATCH 06/13] =?UTF-8?q?=E8=A1=A5=E6=96=99=E7=94=B3=E8=AF=B7?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=93=8D=E4=BD=9C?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/TableForm/src/TableForm.vue | 4 +-
.../repleinsh/repleinshRequestMain/index.vue | 17 ++-
.../repleinshRequestMain.data.ts | 131 +++++++++---------
3 files changed, 84 insertions(+), 68 deletions(-)
diff --git a/src/components/TableForm/src/TableForm.vue b/src/components/TableForm/src/TableForm.vue
index 88439dd30..af8cab620 100644
--- a/src/components/TableForm/src/TableForm.vue
+++ b/src/components/TableForm/src/TableForm.vue
@@ -406,7 +406,9 @@
routeName == 'DeliverPlanMain' ||
routeName == 'DeliverRequestMain' ||
routeName == 'ZZBJDeliverRequestMain' ||
- routeName == 'UnplannedreceiptRequestMain'
+ routeName == 'UnplannedreceiptRequestMain'||
+ routeName == 'RepleinshRequestMain'
+
"
>
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
index b71d95777..a687f0e42 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
+++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
@@ -51,6 +51,8 @@
:apiUpdate="RepleinshRequestMainApi.updateRepleinshRequestMain"
:apiCreate="RepleinshRequestMainApi.createRepleinshRequestMain"
:isBusiness="true"
+ :isOpenSearchTable="true"
+ fieldTableColumn="itemCode"
@handleAddTable="handleAddTable"
@handleDeleteTable="handleDeleteTable"
:isShowReduceButtonSelection="true"
@@ -108,8 +110,16 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if (type == 'tableForm') {
// 明细查询页赋值
if (formField == 'itemCode') {
- row['itemCode'] = val[0]['code']
- row['uom'] = val[0]['uom']
+ // row['itemCode'] = val[0]['code']
+ // row['uom'] = val[0]['uom']
+ val.forEach(item=>{
+ if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])) return
+ const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
+ newRow['itemCode'] = item['code']
+ newRow['uom'] = item['uom']
+ newRow['id'] = item['id']
+ tableData.value.push(newRow)
+ })
} else {
row[formField] = val[0][searchField]
}
@@ -366,6 +376,9 @@ const submitForm = async (formType, submitData) => {
if(data.masterId){
data.id = data.masterId
}
+ tableData.value.forEach(item=>{
+ item.toLocationCode = data.toLocationCode
+ })
data.subList = tableData.value // 拼接子表数据参数
if(tableData.value.find(item => (item.qty <= 0))) {
message.warning('数量必须大于0')
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
index 80e5d6536..006c658d2 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
+++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
@@ -208,44 +208,86 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([
isTable: false,
},
{
- label: '从仓库代码',
- field: 'fromWarehouseCode',
+ label: '到库位代码',
+ field: 'toLocationCode',
sort: 'custom',
table: {
width: 150
},
- isTable: false,
+ hiddenInMain:true,
+ sortSearchDefault:1000,
+ isSearch: true,
+ sortTableDefault:1100,
+ // isTableForm: false,
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
- searchListPlaceholder: '请选择仓库代码', // 输入框占位文本
+ searchListPlaceholder: '请选择到库位代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
- searchTitle: '仓库信息', // 查询弹窗标题
- searchAllSchemas: Warehouse.allSchemas, // 查询弹窗所需类
- searchPage: WarehouseApi.getWarehousePage, // 查询弹窗所需分页方法
- searchCondition: [{
+ searchTitle: '库位信息', // 查询弹窗标题
+ searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
+ searchPage: LocationApi.getLocationPageRepleinsh, // 查询弹窗所需分页方法
+ searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}
- }
- },
- {
- label: '到仓库代码',
- field: 'toWarehouseCode',
- sort: 'custom',
- table: {
- width: 150
},
- isTable: false,
- form: {
- componentProps: {
- disabled: true
- }
- }
+ tableForm:{
+ isInpuFocusShow: true,
+ searchListPlaceholder: '请选择到库位代码', // 输入框占位文本
+ searchField: 'code', // 查询弹窗赋值字段
+ searchTitle: '库位信息', // 查询弹窗标题
+ searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
+ searchPage: LocationApi.getLocationPageRepleinsh, // 查询弹窗所需分页方法
+ searchCondition:[{
+ key: 'available',
+ value: 'TRUE',
+ isMainValue: false
+ }]
+ },
},
+ // {
+ // label: '从仓库代码',
+ // field: 'fromWarehouseCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // isTable: false,
+ // form: {
+ // // labelMessage: '信息提示说明!!!',
+ // componentProps: {
+ // isSearchList: true, // 开启查询弹窗
+ // searchListPlaceholder: '请选择仓库代码', // 输入框占位文本
+ // searchField: 'code', // 查询弹窗赋值字段
+ // searchTitle: '仓库信息', // 查询弹窗标题
+ // searchAllSchemas: Warehouse.allSchemas, // 查询弹窗所需类
+ // searchPage: WarehouseApi.getWarehousePage, // 查询弹窗所需分页方法
+ // searchCondition: [{
+ // key: 'available',
+ // value: 'TRUE',
+ // isMainValue: false
+ // }]
+ // }
+ // }
+ // },
+ // {
+ // label: '到仓库代码',
+ // field: 'toWarehouseCode',
+ // sort: 'custom',
+ // table: {
+ // width: 150
+ // },
+ // isTable: false,
+ // form: {
+ // componentProps: {
+ // disabled: true
+ // }
+ // }
+ // },
{
label: '自动提交',
field: 'autoCommit',
@@ -498,8 +540,8 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([
}
},
tableForm:{
- enterSearch:true,
isInpuFocusShow: true,
+ multiple:true,
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物料基础信息', // 查询弹窗标题
@@ -587,48 +629,7 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([
}
}
},
- {
- label: '到库位代码',
- field: 'toLocationCode',
- sort: 'custom',
- table: {
- width: 150
- },
- hiddenInMain:true,
- sortSearchDefault:1000,
- isSearch: true,
- sortTableDefault:1100,
- // isTableForm: false,
- form: {
- // labelMessage: '信息提示说明!!!',
- componentProps: {
- isSearchList: true, // 开启查询弹窗
- searchListPlaceholder: '请选择到库位代码', // 输入框占位文本
- searchField: 'code', // 查询弹窗赋值字段
- searchTitle: '库位信息', // 查询弹窗标题
- searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
- searchPage: LocationApi.getLocationPageRepleinsh, // 查询弹窗所需分页方法
- searchCondition:[{
- key: 'available',
- value: 'TRUE',
- isMainValue: false
- }]
- }
- },
- tableForm:{
- isInpuFocusShow: true,
- searchListPlaceholder: '请选择到库位代码', // 输入框占位文本
- searchField: 'code', // 查询弹窗赋值字段
- searchTitle: '库位信息', // 查询弹窗标题
- searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
- searchPage: LocationApi.getLocationPageRepleinsh, // 查询弹窗所需分页方法
- searchCondition:[{
- key: 'available',
- value: 'TRUE',
- isMainValue: false
- }]
- },
- },
+
// {
// label: '包装号',
// field: 'packingNumber',
From dc669936d6c2865bae6268a14aa80de87874e624 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Fri, 5 Jul 2024 14:22:26 +0800
Subject: [PATCH 07/13] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=B4=A8=E9=87=8F?=
=?UTF-8?q?=E6=8A=A5=E5=91=8A=E9=99=90=E5=88=B6=E6=95=B0=E9=87=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../supplierdeliverInspectionDetail.data.ts | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts
index 02ea8131c..3a5bb522d 100644
--- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts
+++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts
@@ -3,7 +3,7 @@ import { dateFormatter } from '@/utils/formatTime'
export const SupplierdeliverInspectionDetail = useCrudSchemas(reactive([
{
- label: '上传质检报告',
+ label: '上传质量报告',
field: 'uploadFile',
sort: 'custom',
isTable:false,
@@ -16,7 +16,8 @@ export const SupplierdeliverInspectionDetail = useCrudSchemas(reactive
Date: Fri, 5 Jul 2024 14:27:35 +0800
Subject: [PATCH 08/13] =?UTF-8?q?=E8=A1=A5=E6=96=99=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E4=B8=AD=E5=BA=94=E8=AF=A5=E5=8E=BB=E6=8E=89=E4=BB=8E=E6=89=B9?=
=?UTF-8?q?=E6=AC=A1=EF=BC=8C=E5=88=B0=E6=89=B9=E6=AC=A1=EF=BC=8C=E4=BB=8E?=
=?UTF-8?q?=E5=8C=85=E8=A3=85=E5=8F=B7=EF=BC=8C=E5=88=B0=E5=8C=85=E8=A3=85?=
=?UTF-8?q?=E5=8F=B7=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../repleinshRecordMain.data.ts | 14 ++++++++++----
.../repleinsh/repleinshRequestMain/index.vue | 4 ++--
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts
index 4bf9a8d6e..471a5f41b 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts
+++ b/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts
@@ -429,7 +429,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
table: {
width: 150
},
- isSearch: true,
+ isSearch: false,
hiddenInMain: true
},
{
@@ -439,7 +439,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
table: {
width: 150
},
- isSearch: true,
+ isSearch: false,
hiddenInMain: true
},
{
@@ -480,7 +480,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
width: 150
},
sortSearchDefault:3,
- isSearch: true,
+ isSearch: false,
hiddenInMain: true
},
{
@@ -491,7 +491,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
width: 150
},
sortSearchDefault:4,
- isSearch: true,
+ isSearch: false,
hiddenInMain: true
},
{
@@ -512,6 +512,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTable:false,
hiddenInMain:true,
sortTableDefault:2,
},
@@ -522,6 +523,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTable:false,
hiddenInMain:true,
sortTableDefault:3,
},
@@ -529,6 +531,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
label: '从货主代码',
field: 'fromOwnerCode',
sort: 'custom',
+ isTable:false,
table: {
width: 150
},
@@ -690,6 +693,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTable:false,
hiddenInMain:true,
},
{
@@ -740,6 +744,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTable:false,
hiddenInMain:true,
},
@@ -750,6 +755,7 @@ export const RepleinshRecordDetail = useCrudSchemas(reactive([
table: {
width: 150
},
+ isTable:false,
hiddenInMain:true,
},
diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
index a687f0e42..74040ff72 100644
--- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
+++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
@@ -377,8 +377,8 @@ const submitForm = async (formType, submitData) => {
data.id = data.masterId
}
tableData.value.forEach(item=>{
- item.toLocationCode = data.toLocationCode
- })
+ item.toLocationCode = data.toLocationCode
+ })
data.subList = tableData.value // 拼接子表数据参数
if(tableData.value.find(item => (item.qty <= 0))) {
message.warning('数量必须大于0')
From dfe78de358633b1c79b3f0639796041779d289bc Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Fri, 5 Jul 2024 16:07:34 +0800
Subject: [PATCH 09/13] =?UTF-8?q?EAM=20=E2=80=94=E2=80=94>=20=20=E8=AE=BE?=
=?UTF-8?q?=E5=A4=87=E5=8F=B0=E8=B4=A6=20=20=E5=A2=9E=E5=8A=A0=E6=AD=A3?=
=?UTF-8?q?=E5=B8=B8/=E5=81=9C=E5=BD=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/eam/equipmentAccounts/index.ts | 8 +-
.../equipmentAccounts.data.ts | 2 +-
src/views/eam/equipmentAccounts/index.vue | 412 +++++++++---------
3 files changed, 210 insertions(+), 212 deletions(-)
diff --git a/src/api/eam/equipmentAccounts/index.ts b/src/api/eam/equipmentAccounts/index.ts
index d1e9e401a..6f76580dc 100644
--- a/src/api/eam/equipmentAccounts/index.ts
+++ b/src/api/eam/equipmentAccounts/index.ts
@@ -15,6 +15,7 @@ export interface EquipmentAccountsVO {
principal: string
principalTelephone: string
status: string
+ changeReason: string
startDate: Date
supplierCode: string
purchaseTime: Date
@@ -81,4 +82,9 @@ export const importTemplate = () => {
// 查询设备台账列表
export const getEquipmentAccountsNoPage = async (params) => {
return await request.get({ url: `/eam/device/equipment-accounts/noPage`, params })
-}
\ No newline at end of file
+}
+
+//停用启用
+export const ableEquipmentAccountsMain = async (data: EquipmentAccountsVO) => {
+ return await request.post({ url: `/eam/device/equipment-accounts/ables`, data })
+}
diff --git a/src/views/eam/equipmentAccounts/equipmentAccounts.data.ts b/src/views/eam/equipmentAccounts/equipmentAccounts.data.ts
index 2c9115f5e..f22e6e5dc 100644
--- a/src/views/eam/equipmentAccounts/equipmentAccounts.data.ts
+++ b/src/views/eam/equipmentAccounts/equipmentAccounts.data.ts
@@ -631,7 +631,7 @@ export const EquipmentAccounts = useCrudSchemas(reactive([
field: 'action',
isForm: false,
table: {
- width: 200,
+ width: 250,
fixed: 'right'
}
}
diff --git a/src/views/eam/equipmentAccounts/index.vue b/src/views/eam/equipmentAccounts/index.vue
index 7196e45b5..fe388bea2 100644
--- a/src/views/eam/equipmentAccounts/index.vue
+++ b/src/views/eam/equipmentAccounts/index.vue
@@ -1,22 +1,18 @@
-
+
-
-
+
+
@@ -31,13 +27,13 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
-
+
{{ row.code }}
-
+
@@ -54,106 +50,70 @@
:isBusiness="false"
/>
+
+
-
+ />
-
+
From 16d9e59403aa47523ae8e3982526492ac7223a72 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Fri, 5 Jul 2024 16:45:25 +0800
Subject: [PATCH 10/13] =?UTF-8?q?=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/UploadFile/src/UploadFile.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue
index b74ee3325..c56f679cb 100644
--- a/src/components/UploadFile/src/UploadFile.vue
+++ b/src/components/UploadFile/src/UploadFile.vue
@@ -80,7 +80,7 @@ const uploadHeaders = ref({
// 文件上传之前判断
const beforeUpload: UploadProps['beforeUpload'] = (file: UploadRawFile) => {
if (fileList.value.length >= props.limit) {
- message.error(`${t('ts.上传文件数量不能超过')}${props.limit}!`)
+ message.error(`${t('ts.上传文件数量不能超过').replace('ts.','')}${props.limit}!`)
return false
}
let fileExtension = ''
From 459d11a321d9d490aa45558108caf0ddfa9c7d30 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Fri, 5 Jul 2024 16:53:59 +0800
Subject: [PATCH 11/13] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/wms/basicDataManage/itemManage/itempackage/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/basicDataManage/itemManage/itempackage/index.vue b/src/views/wms/basicDataManage/itemManage/itempackage/index.vue
index 729bc4b8b..4f25372ad 100644
--- a/src/views/wms/basicDataManage/itemManage/itempackage/index.vue
+++ b/src/views/wms/basicDataManage/itemManage/itempackage/index.vue
@@ -153,7 +153,7 @@ const buttonBaseClick = (val, item) => {
// 列表-操作按钮
const butttondata = [
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itempackage:update' }), // 编辑
- // defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itempackage:delete' }) // 删除
+ defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itempackage:delete' }) // 删除
]
// 列表-操作按钮事件
From 124b38ec0c423a785d4f50130ce6821bd39f0e25 Mon Sep 17 00:00:00 2001
From: TengXF <302828528@qq.com>
Date: Fri, 5 Jul 2024 16:54:45 +0800
Subject: [PATCH 12/13] =?UTF-8?q?=E9=AB=98=E7=BA=A7=E7=AD=9B=E9=80=89=20?=
=?UTF-8?q?=E5=99=A8=E5=85=B7=E5=88=9D=E5=A7=8B=E5=8C=96=E7=94=B3=E8=AF=B7?=
=?UTF-8?q?=E3=80=81=E8=AE=B0=E5=BD=95=E3=80=81=E6=B2=A1=E4=BC=A0type?=
=?UTF-8?q?=E5=8F=82=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../containerRecordMain/index.vue | 14 ++++++++++----
.../initialContainerMainRequest/index.vue | 16 +++++++++++-----
2 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue b/src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue
index f5b547605..edfe467ad 100644
--- a/src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue
+++ b/src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue
@@ -49,7 +49,7 @@
:tableFormRules="ContainerRecordDetailRules"
:isBusiness="true"
/>
-
+
{
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'INITIAL'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
diff --git a/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue b/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue
index 38af72a70..a8b9799b5 100644
--- a/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue
+++ b/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue
@@ -109,7 +109,7 @@ const { tableObject, tableMethods } = useTable({
})
// 判断 路由名称 进行条件过滤
/**
- *
+ *
*/
if ( routeName.value == 'InitialContainerManageRequest') {
tableObject.params = {
@@ -121,7 +121,7 @@ const { tableObject, tableMethods } = useTable({
}});
businessType.value = 'InitialContainerManage'
importFileName.value = '器具初始化申请'
-}
+}
//定义 展示子表数据时是否显示新增/修改/删除按钮
const trueFalse = ref(false)
@@ -397,19 +397,19 @@ const submitForm = async (formType,submitData) => {
if(data.masterId){
data.id = data.masterId
}
- data.subList = tableData.value // 拼接子表数据参数
+ data.subList = tableData.value // 拼接子表数据参数
data.subList.forEach(item => {
if(item.qty == 0){
message.error(`到数量不能为0!`)
flag.value = true
return;
- }
+ }
})
try {
if (formType === 'create') {
data.businessType = businessType.value
console.log(data.businessType,999);
-
+
await ContainerMainRequestApi.createContainerMainRequest(data)
message.success(t('common.createSuccess'))
} else {
@@ -475,6 +475,12 @@ const importSuccess = () => {
// 筛选提交
const searchFormClick = (searchData) => {
+ const cmd = {
+ 'column':'type',
+ 'action':'==',
+ 'value':'INITIAL'
+ }
+ searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters
From 910a29090a74ef9a0d583d0a8772380421bd4fef Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Fri, 5 Jul 2024 17:28:37 +0800
Subject: [PATCH 13/13] =?UTF-8?q?EAM=20=20=E2=80=94=E2=80=94>=20=E5=A4=87?=
=?UTF-8?q?=E4=BB=B6=E7=AE=A1=E7=90=86=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/eam/basicEamWorkshop/index.ts | 1 -
src/api/eam/documentTypeSelectSet/index.ts | 1 -
src/api/eam/inspectionItem/index.ts | 1 -
3 files changed, 3 deletions(-)
diff --git a/src/api/eam/basicEamWorkshop/index.ts b/src/api/eam/basicEamWorkshop/index.ts
index 09d83c2d9..729ea6dae 100644
--- a/src/api/eam/basicEamWorkshop/index.ts
+++ b/src/api/eam/basicEamWorkshop/index.ts
@@ -1,5 +1,4 @@
import request from '@/config/axios'
-import {EquipmentMainPartVO} from "@/api/eam/equipmentMainPart";
export interface BasicEamWorkshopVO {
id: number
diff --git a/src/api/eam/documentTypeSelectSet/index.ts b/src/api/eam/documentTypeSelectSet/index.ts
index 13b7164d6..c776a99dd 100644
--- a/src/api/eam/documentTypeSelectSet/index.ts
+++ b/src/api/eam/documentTypeSelectSet/index.ts
@@ -1,5 +1,4 @@
import request from '@/config/axios'
-import {BasicSpotCheckSelectSetVO} from "@/api/eam/spotCheckSelectSet";
export interface DocumentTypeSelectSetVO {
id: number
diff --git a/src/api/eam/inspectionItem/index.ts b/src/api/eam/inspectionItem/index.ts
index ddf8cf80f..98f14dc05 100644
--- a/src/api/eam/inspectionItem/index.ts
+++ b/src/api/eam/inspectionItem/index.ts
@@ -1,5 +1,4 @@
import request from '@/config/axios'
-import {InspectionItemSelectSetVO} from "@/api/eam/inspectionItemSelectSet";
export interface InspectionItemVO {
id: number