diff --git a/src/types/descriptions.d.ts b/src/types/descriptions.d.ts
index 70be082d8..62810c7ef 100644
--- a/src/types/descriptions.d.ts
+++ b/src/types/descriptions.d.ts
@@ -10,5 +10,6 @@ export interface DescriptionsSchema {
labelClassName?: string
dateFormat?: string // add by 星语:支持时间的格式化
valueFilter?: function // 展示的过滤函数
+ slotFilter?:boolean // 插槽自定义内容
dictType?: string // add by 星语:支持 dict 字典数据
}
From f63133b34107133cb6a88c9d04389ea7e6dc7c52 Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Fri, 6 Sep 2024 14:28:53 +0800
Subject: [PATCH 11/66] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91?=
=?UTF-8?q?=E7=A5=A8=E7=94=A8=E5=88=B0=E7=9A=84=E5=85=AC=E7=94=A8=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Detail/src/Detail.vue | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue
index 6b485a7fe..53b17e764 100644
--- a/src/components/Detail/src/Detail.vue
+++ b/src/components/Detail/src/Detail.vue
@@ -23,7 +23,11 @@
:schema="allSchemas.detailSchema"
:columns="2"
width="200px"
- />
+ >
+
+
+
+
From 2bc871eefda8fb9ac2acfd5648fec17cf2f66556 Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Fri, 6 Sep 2024 15:04:00 +0800
Subject: [PATCH 12/66] =?UTF-8?q?HL-5785=E5=88=B6=E5=93=81=E5=AD=90?=
=?UTF-8?q?=E4=BB=B6=E6=8A=A5=E5=BA=9F=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productscrap/productscrapRequestMain/index.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
index 2fbbba948..7b8c16871 100644
--- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
+++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
@@ -80,6 +80,7 @@
:buttondataTable="buttondataTable"
@tableFormButton="tableFormButton"
:detailValidate="detailValidate"
+ :detailButtonIsShowAdd="false"
/>
From 11a0f32756ce83b17c0268ceb8ad26a312457151 Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Fri, 6 Sep 2024 15:07:11 +0800
Subject: [PATCH 13/66] =?UTF-8?q?=E6=B6=88=E8=80=97QAD=E5=9B=9E=E4=BC=A0?=
=?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=AE=A1=E7=90=86=E6=B2=A1=E6=9C=89=E5=88=A0?=
=?UTF-8?q?=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/wms/agvManage/backflushDetailbQad/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/agvManage/backflushDetailbQad/index.vue b/src/views/wms/agvManage/backflushDetailbQad/index.vue
index 748ff3607..305625f07 100644
--- a/src/views/wms/agvManage/backflushDetailbQad/index.vue
+++ b/src/views/wms/agvManage/backflushDetailbQad/index.vue
@@ -137,7 +137,7 @@ const buttonBaseClick = (val, item) => {
// 列表-操作按钮
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:backflush-detailb-qad:update'}), // 编辑
- defaultButtons.mainListDeleteBtn({hasPermi:'wms:backflush-detailb-qad:delete'}), // 删除
+ // defaultButtons.mainListDeleteBtn({hasPermi:'wms:backflush-detailb-qad:delete'}), // 删除
]
// 列表-操作按钮事件
From 2a1ae4b9687bd934438214b328f113aeebf4f5ef Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Fri, 6 Sep 2024 15:07:22 +0800
Subject: [PATCH 14/66] =?UTF-8?q?=E6=B3=A8=E9=87=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/wms/agvManage/backflushDetailbQad/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/agvManage/backflushDetailbQad/index.vue b/src/views/wms/agvManage/backflushDetailbQad/index.vue
index 305625f07..eb4b971fd 100644
--- a/src/views/wms/agvManage/backflushDetailbQad/index.vue
+++ b/src/views/wms/agvManage/backflushDetailbQad/index.vue
@@ -68,7 +68,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
-
+// 消耗QAD回传接口管理
defineOptions({ name: 'BackflushDetailbQad' })
const message = useMessage() // 消息弹窗
From dece466f89a869d14692339b7255993fcfa4cf07 Mon Sep 17 00:00:00 2001
From: "YEJIAXING-PC\\lenovo" <591141169@qq.com>
Date: Fri, 6 Sep 2024 15:09:16 +0800
Subject: [PATCH 15/66] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E4=BB=BB=E5=8A=A1?=
=?UTF-8?q?=EF=BC=8C=E6=9A=82=E5=AD=98=E5=90=8E=E5=86=8D=E5=8F=91=E5=B8=83?=
=?UTF-8?q?=EF=BC=8C=E6=8F=90=E7=A4=BA=E4=BB=BB=E5=8A=A1=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=E9=94=99=E8=AF=AF=20=20HL-5848?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/qms/inspectionJob/index.vue | 13 +++++++++++++
src/views/qms/inspectionQ2/inspectionQ2.data.ts | 6 +++---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/views/qms/inspectionJob/index.vue b/src/views/qms/inspectionJob/index.vue
index 0cecf6f33..7be97e488 100644
--- a/src/views/qms/inspectionJob/index.vue
+++ b/src/views/qms/inspectionJob/index.vue
@@ -238,6 +238,15 @@ const isShowMainButton3 = (row) => {
}
}
+// 根据状态返回该按钮是否显示
+const isShowMainButton2 = (row, val) => {
+ if (val.indexOf(row.isStaging) > -1) {
+ return false
+ } else {
+ return true
+ }
+}
+
// 根据状态返回该按钮是否显示
const isShowMainButton1 = (row, val) => {
if (val.indexOf(row.status) > -1) {
@@ -269,6 +278,10 @@ const butttondata = (row) => {
hide: isShowMainButton(row, ['1', '2']),
hasPermi: 'qms:inspection-job-main:execute'
}), // 执行
+ defaultButtons.mainListOrderPubBtn({
+ hide: isShowMainButton2(row, ['TRUE']),
+ hasPermi: 'qms:inspection-job-main:execute'
+ }), // 发布
defaultButtons.mainListPackageBtn(null), // 包装
defaultButtons.mainListPlanCheckQualityReportBtn({
hide: isShowMainButton3(row)
diff --git a/src/views/qms/inspectionQ2/inspectionQ2.data.ts b/src/views/qms/inspectionQ2/inspectionQ2.data.ts
index 898bb7f94..91802924c 100644
--- a/src/views/qms/inspectionQ2/inspectionQ2.data.ts
+++ b/src/views/qms/inspectionQ2/inspectionQ2.data.ts
@@ -329,7 +329,7 @@ export const Q2 = useCrudSchemas(
}
},
{
- label: '整灯物料代码',
+ label: '整灯/分总成物料代码',
field: 'lightItemCode',
sort: 'custom',
table: {
@@ -372,7 +372,7 @@ export const Q2 = useCrudSchemas(
}
},
{
- label: '整灯物料名称',
+ label: '整灯/分总成物料名称',
field: 'lightItemName',
sort: 'custom',
dictClass: 'string',
@@ -454,7 +454,7 @@ export const Q2 = useCrudSchemas(
}
},
{
- label: '标准成本价格',
+ label: '销售价格',
field: 'standardCostPrice',
sort: 'custom',
isSearch: false,
From 9c3c2f300a972d3ec5bbeb051baf165ee5737a7e Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Fri, 6 Sep 2024 15:28:15 +0800
Subject: [PATCH 16/66] =?UTF-8?q?HL-5891=E5=9F=BA=E7=A1=80=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=EF=BC=8C=E4=BE=9B=E5=BA=94=E5=95=86=E7=89=A9=E6=96=99?=
=?UTF-8?q?=EF=BC=8C=E5=88=97=E8=A1=A8=E5=8F=8A=E7=BB=B4=E6=8A=A4=E7=95=8C?=
=?UTF-8?q?=E9=9D=A2=E5=A2=9E=E5=8A=A0=E4=BE=9B=E5=BA=94=E5=95=86=E5=90=8D?=
=?UTF-8?q?=E7=A7=B0=E5=92=8C=E7=89=A9=E6=96=99=E5=90=8D=E7=A7=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../supplierManage/supplieritem/index.vue | 6 +++++
.../supplieritem/supplieritem.data.ts | 26 +++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue b/src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue
index 38854bac7..b15b79a46 100644
--- a/src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue
+++ b/src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue
@@ -69,6 +69,7 @@ import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading()
+// 供应商物料
defineOptions({ name: 'Supplieritem' })
const message = useMessage() // 消息弹窗
@@ -224,6 +225,11 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
nextTick(() => {
const setV = {}
setV[formField] = val[0][searchField]
+ if(formField == 'supplierCode'){
+ setV['supplierName'] = val[0]['name']
+ }else if(formField == 'itemCode'){
+ setV['itemName'] = val[0]['name']
+ }
formRef.setValues(setV)
})
}
diff --git a/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts b/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts
index 200a5484d..d1c0fe5b7 100644
--- a/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts
+++ b/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts
@@ -56,6 +56,19 @@ export const Supplieritem = useCrudSchemas(reactive([
}
}
},
+ {
+ label: '供应商名称',
+ field: 'supplierName',
+ isForm:true,
+ form:{
+ componentProps:{
+ disabled: true
+ }
+ },
+ table: {
+ width: 180
+ }
+ },
{
label: '物料代码',
field: 'itemCode',
@@ -90,6 +103,19 @@ export const Supplieritem = useCrudSchemas(reactive([
}
}
},
+ {
+ label: '物料名称',
+ field: 'itemName',
+ isForm:true,
+ form:{
+ componentProps:{
+ disabled: true
+ }
+ },
+ table: {
+ width: 180
+ }
+ },
{
label: '供应商物料代码',
field: 'supplierItemCode',
From b121c2f1e38564cfad3b44713d8e747472fc11bf Mon Sep 17 00:00:00 2001
From: "YEJIAXING-PC\\lenovo" <591141169@qq.com>
Date: Fri, 6 Sep 2024 15:44:49 +0800
Subject: [PATCH 17/66] =?UTF-8?q?=E4=BF=AE=E6=94=B9Q2=E9=80=9A=E7=9F=A5?=
=?UTF-8?q?=E5=8D=95=E7=9A=84=E9=94=80=E5=94=AE=E4=BB=B7=E6=A0=BC=E5=8F=96?=
=?UTF-8?q?=E5=80=BC=E6=96=B9=E5=BC=8F=20=20=20HL-5882?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/qms/inspectionQ2/index.vue | 60 +++++++++++++++++--
.../qms/inspectionQ2/inspectionQ2.data.ts | 2 +-
2 files changed, 57 insertions(+), 5 deletions(-)
diff --git a/src/views/qms/inspectionQ2/index.vue b/src/views/qms/inspectionQ2/index.vue
index 2f06c656f..5e88f8696 100644
--- a/src/views/qms/inspectionQ2/index.vue
+++ b/src/views/qms/inspectionQ2/index.vue
@@ -108,6 +108,7 @@ import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import * as StdcostpriceApi from '@/api/wms/stdcostprice'
+import * as SalepriceApi from '@/api/wms/saleprice'
import { formatDate } from '@/utils/formatTime'
import * as SupplieritemApi from '@/api/wms/supplieritem'
import * as SupplierApi from '@/api/wms/supplier'
@@ -171,6 +172,29 @@ const clearSearchInput = (formField) => {
})
}
})
+ SalepriceApi.getSalepricePage(params2).then((res) => {
+ if (res.list?.length > 0) {
+ priceObj.value = res.list[0]
+
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: priceObj.value.price
+ })
+ } else {
+ StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
+ if (res.list?.length > 0) {
+ priceObj.value = res.list[0]
+
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: priceObj.value.price
+ })
+ } else {
+ formRef.setValues({
+ standardCostPrice: 0
+ })
+ }
+ })
+ }
+ })
}
}
// 查询页面返回
@@ -230,12 +254,25 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
sort: ''
}
params2.isSearch = true
- StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
+ SalepriceApi.getSalepricePage(params2).then((res) => {
if (res.list?.length > 0) {
priceObj.value = res.list[0]
formRef.setValues({
standardCostPrice: priceObj.value.price
})
+ } else {
+ StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
+ if (res.list?.length > 0) {
+ priceObj.value = res.list[0]
+ formRef.setValues({
+ standardCostPrice: priceObj.value.price
+ })
+ } else {
+ formRef.setValues({
+ standardCostPrice: 0
+ })
+ }
+ })
}
})
setV[formField] = val[0][searchField]
@@ -304,8 +341,9 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
})
}
})
- if (basicFormRef.value.formRef.formModel.lightItemCode == null||
- basicFormRef.value.formRef.formModel.lightItemCode == ''
+ if (
+ basicFormRef.value.formRef.formModel.lightItemCode == null ||
+ basicFormRef.value.formRef.formModel.lightItemCode == ''
) {
setV['standardCostPrice'] = ''
setV['lightQty'] = 0
@@ -322,12 +360,26 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
sort: ''
}
params2.isSearch = true
- StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
+
+ SalepriceApi.getSalepricePage(params2).then((res) => {
if (res.list?.length > 0) {
priceObj.value = res.list[0]
formRef.setValues({
standardCostPrice: priceObj.value.price
})
+ } else {
+ StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
+ if (res.list?.length > 0) {
+ priceObj.value = res.list[0]
+ formRef.setValues({
+ standardCostPrice: priceObj.value.price
+ })
+ } else {
+ formRef.setValues({
+ standardCostPrice: 0
+ })
+ }
+ })
}
})
}
diff --git a/src/views/qms/inspectionQ2/inspectionQ2.data.ts b/src/views/qms/inspectionQ2/inspectionQ2.data.ts
index 91802924c..4112c30fd 100644
--- a/src/views/qms/inspectionQ2/inspectionQ2.data.ts
+++ b/src/views/qms/inspectionQ2/inspectionQ2.data.ts
@@ -341,7 +341,7 @@ export const Q2 = useCrudSchemas(
componentProps: {
enterSearch: true,
isSearchList: true, // 开启查询弹窗
- searchListPlaceholder: '请选择物料代码', // 输入框占位文本
+ searchListPlaceholder: '请选择整灯/分总成物料代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物料基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
From 986d7c477ad42a1b9210920f2124d46f2427e87b Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Fri, 6 Sep 2024 15:53:49 +0800
Subject: [PATCH 18/66] =?UTF-8?q?HL-5888=E7=AD=96=E7=95=A5=E8=A7=84?=
=?UTF-8?q?=E5=88=99=E9=85=8D=E7=BD=AE=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../strategySetting/strategy/upShelfStrategy/AddForm.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
index 76c190d5d..f05604bbd 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
@@ -1097,7 +1097,7 @@ const open = async (type: string, strategyCode: string, id?: number) => {
}
if (data.configuration) {
formData.value.configuration = JSON.parse(data.configuration)
- if(!Array.isArray(formData.value.configuration.overflowLocationCode)&&formData.value.configuration.overflowLocationCode.length>0){
+ if(formData.value.configuration.overflowLocationCode&&!Array.isArray(formData.value.configuration.overflowLocationCode)&&formData.value.configuration.overflowLocationCode.length>0){
formData.value.configuration.overflowLocationCode = formData.value.configuration.overflowLocationCode.split(',')
}
}
@@ -1202,7 +1202,7 @@ const submitForm = async () => {
}
})
let configuration = {...formData.value.configuration}
- if(Array.isArray(configuration.overflowLocationCode)){
+ if(configuration.overflowLocationCode&&Array.isArray(configuration.overflowLocationCode)){
configuration.overflowLocationCode = configuration.overflowLocationCode.join(',')
}
let data = {
From ef5c3d5ac3a31743dca3a7ddb4b72f7caa0b91de Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Fri, 6 Sep 2024 16:08:30 +0800
Subject: [PATCH 19/66] =?UTF-8?q?WMS=20bug=EF=BC=9AHL-5847=20=E7=89=A9?=
=?UTF-8?q?=E6=96=99=E9=9A=94=E7=A6=BB=E7=9B=B8=E5=85=B3=E6=93=8D=E4=BD=9C?=
=?UTF-8?q?=E4=B8=AD=E5=A2=9E=E5=8A=A0=E4=BE=9B=E5=BA=94=E5=95=86=E6=89=B9?=
=?UTF-8?q?=E6=AC=A1=E7=9A=84=E9=80=89=E6=8B=A9=E5=92=8C=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../inventorymoveJobMain.data.ts | 8 ++++++++
.../inventorymoveRecordMain.data.ts | 8 ++++++++
.../inventorymoveRequestMain.data.ts | 20 +++++++++----------
3 files changed, 26 insertions(+), 10 deletions(-)
diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts
index eef4d6bb0..0ad508ced 100644
--- a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts
+++ b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts
@@ -680,6 +680,14 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([
width: 150
},
},
+ {
+ label: '供应商批次',
+ field: 'altBatch',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
{
label: '包装号',
field: 'packingNumber',
diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts
index 6c3323a0a..a8ec0a04d 100644
--- a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts
+++ b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts
@@ -473,6 +473,14 @@ export const InventorymoveRecordDetail = useCrudSchemas(reactive([
width: 150
},
},
+ {
+ label: '供应商批次',
+ field: 'altBatch',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ },
{
label: '从包装号',
field: 'fromPackingNumber',
diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts
index 6ac9dab6d..a3c76a5c5 100644
--- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts
+++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/inventorymoveRequestMain.data.ts
@@ -606,6 +606,16 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive(
}
}
},
+ {
+ label: '到批次',
+ field: 'toBatch',
+ sort: 'custom',
+ table: {
+ width: 150
+ },
+ isTableForm: false,
+ isForm: false,
+ },
{
label: '供应商批次',
field: 'altBatch',
@@ -624,16 +634,6 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive(
disabled: true
}
},
- {
- label: '到批次',
- field: 'toBatch',
- sort: 'custom',
- table: {
- width: 150
- },
- isTableForm: false,
- isForm: false,
- },
{
label: '从包装号',
field: 'fromPackingNumber',
From 4fa5609a71a04f829c470634fa4338ab71e60891 Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Fri, 6 Sep 2024 16:38:11 +0800
Subject: [PATCH 20/66] =?UTF-8?q?HL-5861=E4=BE=9B=E5=BA=94=E5=95=86?=
=?UTF-8?q?=E5=8F=91=E7=A5=A8=E7=94=B3=E8=AF=B7=E5=8F=8A=E5=8F=91=E7=A5=A8?=
=?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=92=8C=E4=BB=B7=E5=B7=AE=E6=9F=A5=E7=9C=8B?=
=?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=9A=84=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../supplierinvoiceRecordMain.data.ts | 2 +-
.../supplierinvoice/supplierinvoiceRequestMain/index.vue | 4 +++-
.../supplierinvoiceRequestMain.data.ts | 2 +-
.../supplierinvoiceRequestMainDifference.data.ts | 4 ++--
4 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
index 459b0be99..bdd554d54 100644
--- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
+++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts
@@ -1234,7 +1234,7 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive(
// }
// },
{
- label: '折扣金额',
+ label: '返利未税金额',
field: 'discountAmount1',
formatter: accountantFormart,
table: {
@@ -1505,7 +1505,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive
Date: Fri, 6 Sep 2024 16:53:23 +0800
Subject: [PATCH 21/66] =?UTF-8?q?HL-5785=E5=88=B6=E5=93=81=E5=AD=90?=
=?UTF-8?q?=E4=BB=B6=E6=8A=A5=E5=BA=9F=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productscrapRequestMain/index.vue | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
index 7b8c16871..e84101374 100644
--- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
+++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
@@ -81,6 +81,8 @@
@tableFormButton="tableFormButton"
:detailValidate="detailValidate"
:detailButtonIsShowAdd="false"
+ :detailButtonIsShowEdit="false"
+ :detailButtonIsShowDelete="false"
/>
@@ -689,6 +691,11 @@ const openForm =async (type: string, row?: number) => {
if (item.field == 'scrappingReason'){
item.value = ''
}
+ if(item.field == 'productionLineCode'){
+ item.componentProps.disabled = false
+ item.componentProps.enterSearch = true
+ item.componentProps.isSearchList = true
+ }
})
}
if(type == 'update'){
@@ -697,6 +704,15 @@ const openForm =async (type: string, row?: number) => {
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
+ if(item.field == 'productionLineCode'){
+ item.componentProps.enterSearch = true
+ item.componentProps.isSearchList = true
+ }
+ if(item.field == 'productionLineCode'){
+ item.componentProps.disabled = true
+ item.componentProps.enterSearch = false
+ item.componentProps.isSearchList = false
+ }
})
}
formRef.value.open(type, row)
From 1539bb7d4af93486b001dda3a7cfdd1fcc079919 Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Fri, 6 Sep 2024 17:24:13 +0800
Subject: [PATCH 22/66] =?UTF-8?q?WMS=20bug=EF=BC=9AHL-5847=20=E9=9A=94?=
=?UTF-8?q?=E7=A6=BB=E8=BD=AC=E5=90=88=E6=A0=BC=E3=80=81=E7=89=A9=E6=96=99?=
=?UTF-8?q?=E9=9A=94=E7=A6=BB=EF=BC=8C=E5=AF=BC=E5=85=A5=E6=8F=90=E7=A4=BA?=
=?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=A4=B1=E8=B4=A5=EF=BC=8C=E5=BA=94=E5=BC=B9?=
=?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84excel?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wms/inventorymoveRequestMain/index.ts | 4 +-
.../inventorymoveRequestMain/index.vue | 24 +++---
.../inventorymoveRequestMainMOVE/index.vue | 24 +++---
.../inventorymoveRequestMainOKHOLD/index.vue | 77 +++++++++++++++++--
4 files changed, 95 insertions(+), 34 deletions(-)
diff --git a/src/api/wms/inventorymoveRequestMain/index.ts b/src/api/wms/inventorymoveRequestMain/index.ts
index 68784d189..72e91ea6c 100644
--- a/src/api/wms/inventorymoveRequestMain/index.ts
+++ b/src/api/wms/inventorymoveRequestMain/index.ts
@@ -129,11 +129,11 @@ export const exportScrapToHoldRequestMain = async (params) => {
}
// 下载用户导入模板
+// 下载用户导入模板(除库存移动外)
+
export const importTemplate = () => {
return request.download({ url: '/wms/inventorymove-request-main/get-import-template' })
}
-
-// 下载用户导入模板(除库存移动外)
export const importTemplateExceptMove = () => {
return request.download({ url: '/wms/inventorymove-request-main/get-import-template-exceptMove' })
}
diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
index f6dff9ecf..20689e6b7 100644
--- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
+++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
@@ -122,8 +122,8 @@ if ( routeName.value == 'OktoholdRequestMain') {
// toInventoryStatus:'HOLD',
businessType :'OkToHold'
}
- // fromInventoryStatus.value = 'OK'
- // toInventoryStatus.value = "HOLD"
+ fromInventoryStatus.value = 'OK'
+ toInventoryStatus.value = "HOLD"
businessType.value = 'OkToHold'
importFileName.value = '物料转隔离申请'
}
@@ -133,8 +133,8 @@ else if ( routeName.value == 'NoktoholdRequestMain') {
// toInventoryStatus:'HOLD',
businessType :'NokToHold'
}
- // fromInventoryStatus.value = 'NOK'
- // toInventoryStatus.value = "HOLD"
+ fromInventoryStatus.value = 'NOK'
+ toInventoryStatus.value = "HOLD"
businessType.value = 'NokToHold'
importFileName.value = '不合格转隔离申请'
}
@@ -144,8 +144,8 @@ else if ( routeName.value == 'HoldtookRequestMain') {
// toInventoryStatus:'OK',
businessType :'HoldToOk'
}
- // fromInventoryStatus.value = 'HOLD'
- // toInventoryStatus.value = "OK"
+ fromInventoryStatus.value = 'HOLD'
+ toInventoryStatus.value = "OK"
businessType.value = 'HoldToOk'
importFileName.value = '隔离转合格申请'
} else if ( routeName.value == 'HoldtoscrapRequestMain') {
@@ -154,8 +154,8 @@ else if ( routeName.value == 'HoldtookRequestMain') {
// toInventoryStatus:'SCRAP',
businessType:'HoldToScrap'
}
- // fromInventoryStatus.value = 'HOLD'
- // toInventoryStatus.value = "SCRAP"
+ fromInventoryStatus.value = 'HOLD'
+ toInventoryStatus.value = "SCRAP"
businessType.value = 'HoldToScrap'
importFileName.value = '隔离转报废申请'
} else if ( routeName.value == 'OktoscrapRequestMain') {
@@ -164,8 +164,8 @@ else if ( routeName.value == 'HoldtookRequestMain') {
// toInventoryStatus:'SCRAP',
businessType :'OkToScrap'
}
- // fromInventoryStatus.value = 'OK'
- // toInventoryStatus.value = "SCRAP"
+ fromInventoryStatus.value = 'OK'
+ toInventoryStatus.value = "SCRAP"
businessType.value = 'OkToScrap'
importFileName.value = '合格转报废申请'
}
@@ -175,8 +175,8 @@ else if ( routeName.value == 'ScraptoholdRequestMain') {
// toInventoryStatus:'HOLD',
businessType :'ScrapToHold'
}
- // fromInventoryStatus.value = 'SCRAP'
- // toInventoryStatus.value = "HOLD"
+ fromInventoryStatus.value = 'SCRAP'
+ toInventoryStatus.value = "HOLD"
businessType.value = 'ScrapToHold'
importFileName.value = '报废转隔离申请'
} else {
diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue
index 06788711b..f52cd62b5 100644
--- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue
+++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainMOVE/index.vue
@@ -123,8 +123,8 @@ if ( routeName.value == 'OktoholdRequestMain') {
// toInventoryStatus:'HOLD',
businessType :'OkToHold'
}
- // fromInventoryStatus.value = 'OK'
- // toInventoryStatus.value = "HOLD"
+ fromInventoryStatus.value = 'OK'
+ toInventoryStatus.value = "HOLD"
businessType.value = 'OkToHold'
importFileName.value = '物料转隔离申请'
}
@@ -134,8 +134,8 @@ else if ( routeName.value == 'NoktoholdRequestMain') {
// toInventoryStatus:'HOLD',
businessType :'NokToHold'
}
- // fromInventoryStatus.value = 'NOK'
- // toInventoryStatus.value = "HOLD"
+ fromInventoryStatus.value = 'NOK'
+ toInventoryStatus.value = "HOLD"
businessType.value = 'NokToHold'
importFileName.value = '不合格转隔离申请'
}
@@ -145,8 +145,8 @@ else if ( routeName.value == 'HoldtookRequestMain') {
// toInventoryStatus:'OK',
businessType :'HoldToOk'
}
- // fromInventoryStatus.value = 'HOLD'
- // toInventoryStatus.value = "OK"
+ fromInventoryStatus.value = 'HOLD'
+ toInventoryStatus.value = "OK"
businessType.value = 'HoldToOk'
importFileName.value = '隔离转合格申请'
} else if ( routeName.value == 'HoldtoscrapRequestMain') {
@@ -155,8 +155,8 @@ else if ( routeName.value == 'HoldtookRequestMain') {
// toInventoryStatus:'SCRAP',
businessType:'HoldToScrap'
}
- // fromInventoryStatus.value = 'HOLD'
- // toInventoryStatus.value = "SCRAP"
+ fromInventoryStatus.value = 'HOLD'
+ toInventoryStatus.value = "SCRAP"
businessType.value = 'HoldToScrap'
importFileName.value = '隔离转报废申请'
} else if ( routeName.value == 'OktoscrapRequestMain') {
@@ -165,8 +165,8 @@ else if ( routeName.value == 'HoldtookRequestMain') {
// toInventoryStatus:'SCRAP',
businessType :'OkToScrap'
}
- // fromInventoryStatus.value = 'OK'
- // toInventoryStatus.value = "SCRAP"
+ fromInventoryStatus.value = 'OK'
+ toInventoryStatus.value = "SCRAP"
businessType.value = 'OkToScrap'
importFileName.value = '合格转报废申请'
}
@@ -176,8 +176,8 @@ else if ( routeName.value == 'ScraptoholdRequestMain') {
// toInventoryStatus:'HOLD',
businessType :'ScrapToHold'
}
- // fromInventoryStatus.value = 'SCRAP'
- // toInventoryStatus.value = "HOLD"
+ fromInventoryStatus.value = 'SCRAP'
+ toInventoryStatus.value = "HOLD"
businessType.value = 'ScrapToHold'
importFileName.value = '报废转隔离申请'
} else {
diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue
index 003fa48bc..0be2f9677 100644
--- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue
+++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue
@@ -116,15 +116,76 @@ const { tableObject, tableMethods } = useTable({
getListApi: InventorymoveRequestDetailApi.getInventorymoveRequestDetailPage // 分页接口
})
-tableObject.params = {
- // fromInventoryStatus: 'OK',
- // toInventoryStatus:'HOLD',
- businessType :'OkToHold'
+if ( routeName.value == 'OktoholdRequestMain') {
+ tableObject.params = {
+ // fromInventoryStatus: 'OK',
+ // toInventoryStatus:'HOLD',
+ businessType :'OkToHold'
+ }
+ fromInventoryStatus.value = 'OK'
+ toInventoryStatus.value = "HOLD"
+ businessType.value = 'OkToHold'
+ importFileName.value = '物料转隔离申请'
+}
+else if ( routeName.value == 'NoktoholdRequestMain') {
+ tableObject.params = {
+ // fromInventoryStatus: 'NOK',
+ // toInventoryStatus:'HOLD',
+ businessType :'NokToHold'
+ }
+ fromInventoryStatus.value = 'NOK'
+ toInventoryStatus.value = "HOLD"
+ businessType.value = 'NokToHold'
+ importFileName.value = '不合格转隔离申请'
+}
+else if ( routeName.value == 'HoldtookRequestMain') {
+ tableObject.params = {
+ // fromInventoryStatus: 'HOLD',
+ // toInventoryStatus:'OK',
+ businessType :'HoldToOk'
+ }
+ fromInventoryStatus.value = 'HOLD'
+ toInventoryStatus.value = "OK"
+ businessType.value = 'HoldToOk'
+ importFileName.value = '隔离转合格申请'
+} else if ( routeName.value == 'HoldtoscrapRequestMain') {
+ tableObject.params = {
+ // fromInventoryStatus: 'HOLD',
+ // toInventoryStatus:'SCRAP',
+ businessType:'HoldToScrap'
+ }
+ fromInventoryStatus.value = 'HOLD'
+ toInventoryStatus.value = "SCRAP"
+ businessType.value = 'HoldToScrap'
+ importFileName.value = '隔离转报废申请'
+} else if ( routeName.value == 'OktoscrapRequestMain') {
+ tableObject.params = {
+ // fromInventoryStatus: 'OK',
+ // toInventoryStatus:'SCRAP',
+ businessType :'OkToScrap'
+ }
+ fromInventoryStatus.value = 'OK'
+ toInventoryStatus.value = "SCRAP"
+ businessType.value = 'OkToScrap'
+ importFileName.value = '合格转报废申请'
+}
+else if ( routeName.value == 'ScraptoholdRequestMain') {
+ tableObject.params = {
+ // fromInventoryStatus: 'SCRAP',
+ // toInventoryStatus:'HOLD',
+ businessType :'ScrapToHold'
+ }
+ fromInventoryStatus.value = 'SCRAP'
+ toInventoryStatus.value = "HOLD"
+ businessType.value = 'ScrapToHold'
+ importFileName.value = '报废转隔离申请'
+} else {
+ tableObject.params = {
+ businessType :'Move'
+ }
+ businessType.value = 'Move'
+ importFileName.value = '库存移动申请'
}
-// fromInventoryStatus.value = 'OK'
-// toInventoryStatus.value = "HOLD"
-businessType.value = 'OkToHold'
-importFileName.value = '物料转隔离申请'
InventorymoveRequestMain.allSchemas.tableFormColumns.map(item =>{
if(item.field == 'fromWarehouseCode') {
From 8be363477ccd8a9ebbfbf4dcc7d7e52f91dbe6b1 Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Fri, 6 Sep 2024 17:51:56 +0800
Subject: [PATCH 23/66] =?UTF-8?q?HL-5887SCP=E4=B8=AD=E6=89=93=E5=BC=80?=
=?UTF-8?q?=E6=9F=90=E4=B8=AA=E6=9F=A5=E8=AF=A2=E8=8F=9C=E5=8D=95=EF=BC=8C?=
=?UTF-8?q?=E5=B9=B6=E8=BE=93=E5=85=A5=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?=
=?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E6=9F=A5=E8=AF=A2=E7=AD=9B?=
=?UTF-8?q?=E9=80=89=E6=95=B0=E6=8D=AE=E6=B2=A1=E6=9C=89=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=EF=BC=9B=E5=86=8D=E5=8E=BB=E6=89=93=E5=BC=80=E5=8F=A6=E4=B8=80?=
=?UTF-8?q?=E4=B8=AA=E6=9F=A5=E8=AF=A2=E8=8F=9C=E5=8D=95=EF=BC=8C=E8=BF=94?=
=?UTF-8?q?=E5=9B=9E=E5=88=9A=E6=89=8D=E8=8F=9C=E5=8D=95=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=EF=BC=8C=E4=B9=8B=E5=89=8D=E8=BE=93=E5=85=A5=E7=9A=84=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6=E8=A2=AB=E6=B8=85=E7=A9=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereceipt/purchasereceiptRecordMain/index.vue | 3 +++
.../purchasereturn/purchasereturnRecordMain/index.vue | 3 +++
.../supplierdeliver/supplierdeliverRecordMain/index.vue | 3 +++
3 files changed, 9 insertions(+)
diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue
index bf3d77e54..f1ac5f3da 100644
--- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue
@@ -363,4 +363,7 @@ const changeTabs = (data) =>{
onMounted(async () => {
getList()
})
+onActivated(() => {
+ getList()
+})
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue
index b32e4d42e..48e60e3f1 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/index.vue
@@ -197,4 +197,7 @@ const searchFormClick = (searchData) => {
onMounted(async () => {
getList()
})
+onActivated(() => {
+ getList()
+})
diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue
index b8e88cc6f..cb270d6c0 100644
--- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue
+++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue
@@ -306,4 +306,7 @@ const searchFormClick = (searchData) => {
onMounted(async () => {
getList()
})
+onActivated(() => {
+ getList()
+})
From 1d58a4f622f57dfd317d4cf1d7127ae2415f3282 Mon Sep 17 00:00:00 2001
From: "YEJIAXING-PC\\lenovo" <591141169@qq.com>
Date: Fri, 6 Sep 2024 23:54:43 +0800
Subject: [PATCH 24/66] =?UTF-8?q?=E4=BF=AE=E6=94=B9Q2=E9=80=9A=E7=9F=A5?=
=?UTF-8?q?=E5=8D=95=E7=9A=84=E9=94=80=E5=94=AE=E4=BB=B7=E6=A0=BC=E5=8F=96?=
=?UTF-8?q?=E5=80=BC=E6=96=B9=E5=BC=8F=20HL-5882?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/qms/inspectionQ2/index.vue | 135 ++++++++++++------
src/views/qms/inspectionQ3/index.vue | 4 +-
.../qms/inspectionQ3/inspectionQ3.data.ts | 8 +-
3 files changed, 101 insertions(+), 46 deletions(-)
diff --git a/src/views/qms/inspectionQ2/index.vue b/src/views/qms/inspectionQ2/index.vue
index 5e88f8696..48af18b0f 100644
--- a/src/views/qms/inspectionQ2/index.vue
+++ b/src/views/qms/inspectionQ2/index.vue
@@ -142,10 +142,62 @@ const clearSearchInput = (formField) => {
item.componentProps.options = []
}
})
+ if (basicFormRef.value.formRef.formModel.lightItemCode) {
+ basicFormRef.value.formRef.setValues({
+ lightQty: 0,
+ claimAmount: '',
+ otherClaimAmount: 0,
+ summaryAmount: 0,
+ disbursementAmount: 0,
+ remainingAmount: 0
+ })
+
+ const params2 = {
+ by: 'ASC',
+ filters: [
+ {
+ column: 'itemCode',
+ action: '==',
+ value: basicFormRef.value.formRef.formModel.lightItemCode
+ }
+ ],
+ pageNo: 1,
+ pageSize: 500,
+ sort: ''
+ }
+ params2.isSearch = true
+ SalepriceApi.getSalepricePage(params2).then((res) => {
+ if (res.list?.length > 0) {
+ priceObj.value = res.list[0]
+
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: priceObj.value.price
+ })
+ } else {
+ params2.isSearch = true
+ StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
+ if (res.list?.length > 0) {
+ priceObj.value = res.list[0]
+
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: priceObj.value.price
+ })
+ } else {
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: 0
+ })
+ }
+ })
+ }
+ })
+ } else {
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: ''
+ })
+ }
}
if (formField == 'lightItemCode') {
basicFormRef.value.formRef.setValues({
- standardCostPrice: '',
lightItemName: '',
lightQty: 0,
claimAmount: '',
@@ -154,47 +206,47 @@ const clearSearchInput = (formField) => {
disbursementAmount: 0,
remainingAmount: 0
})
- const params2 = {
- by: 'ASC',
- filters: [
- { column: 'itemCode', action: '==', value: basicFormRef.value.formRef.formModel.itemCode }
- ],
- pageNo: 1,
- pageSize: 500,
- sort: ''
- }
- params2.isSearch = true
- StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
- if (res.list?.length > 0) {
- priceObj.value = res.list[0]
- basicFormRef.value.formRef.setValues({
- standardCostPrice: priceObj.value.price
- })
+
+ if (basicFormRef.value.formRef.formModel.itemCode) {
+ const params2 = {
+ by: 'ASC',
+ filters: [
+ { column: 'itemCode', action: '==', value: basicFormRef.value.formRef.formModel.itemCode }
+ ],
+ pageNo: 1,
+ pageSize: 500,
+ sort: ''
}
- })
- SalepriceApi.getSalepricePage(params2).then((res) => {
- if (res.list?.length > 0) {
- priceObj.value = res.list[0]
+ params2.isSearch = true
+ SalepriceApi.getSalepricePage(params2).then((res) => {
+ if (res.list?.length > 0) {
+ priceObj.value = res.list[0]
- basicFormRef.value.formRef.setValues({
- standardCostPrice: priceObj.value.price
- })
- } else {
- StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
- if (res.list?.length > 0) {
- priceObj.value = res.list[0]
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: priceObj.value.price
+ })
+ } else {
+ params2.isSearch = true
+ StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
+ if (res.list?.length > 0) {
+ priceObj.value = res.list[0]
- basicFormRef.value.formRef.setValues({
- standardCostPrice: priceObj.value.price
- })
- } else {
- formRef.setValues({
- standardCostPrice: 0
- })
- }
- })
- }
- })
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: priceObj.value.price
+ })
+ } else {
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: 0
+ })
+ }
+ })
+ }
+ })
+ } else {
+ basicFormRef.value.formRef.setValues({
+ standardCostPrice: ''
+ })
+ }
}
}
// 查询页面返回
@@ -261,6 +313,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
standardCostPrice: priceObj.value.price
})
} else {
+ params2.isSearch = true
StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
if (res.list?.length > 0) {
priceObj.value = res.list[0]
@@ -360,14 +413,16 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
sort: ''
}
params2.isSearch = true
-
+ console.log(123)
SalepriceApi.getSalepricePage(params2).then((res) => {
+ console.log(456)
if (res.list?.length > 0) {
priceObj.value = res.list[0]
formRef.setValues({
standardCostPrice: priceObj.value.price
})
} else {
+ params2.isSearch = true
StdcostpriceApi.getStdcostpricePage(params2).then((res) => {
if (res.list?.length > 0) {
priceObj.value = res.list[0]
diff --git a/src/views/qms/inspectionQ3/index.vue b/src/views/qms/inspectionQ3/index.vue
index a061d7ab9..a444cafdf 100644
--- a/src/views/qms/inspectionQ3/index.vue
+++ b/src/views/qms/inspectionQ3/index.vue
@@ -106,6 +106,7 @@ import * as InspectionQ3MainApi from '@/api/qms/inspectionQ3/inspectionQ3Main'
import * as InspectionQ3DetailApi from '@/api/qms/inspectionQ3/inspectionQ3Detail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as ProductionlineitemApi from '@/api/wms/productionlineitem'
+import * as ProductionlineApi from '@/api/wms/productionline'
import * as StdcostpriceApi from '@/api/wms/stdcostprice'
import { formatDate } from '@/utils/formatTime'
import { async } from '@antv/x6/lib/registry/marker/async'
@@ -173,7 +174,7 @@ const setTableFormsValues = async (val, index1) => {
newRow['uom'] = val[index1]['uom']
newRow['qty'] = 0
newRow.defectLocation = val[index1]['productionLineCode']
- await ProductionlineitemApi.selectItemCodeToProductionLineCode(val[index1].itemCode).then(
+ await ProductionlineApi.getProductionlineNoPage({}).then(
(res) => {
console.log(res)
if (res?.length > 0) {
@@ -419,7 +420,6 @@ const submitForm = async (formType, submitData) => {
return;
}
let flag = false;
- console.log(1111)
data.subList.forEach((item) => {
if(item.qty == 0){
message.warning("数量不能为0")
diff --git a/src/views/qms/inspectionQ3/inspectionQ3.data.ts b/src/views/qms/inspectionQ3/inspectionQ3.data.ts
index dd059b76e..8fbdeb017 100644
--- a/src/views/qms/inspectionQ3/inspectionQ3.data.ts
+++ b/src/views/qms/inspectionQ3/inspectionQ3.data.ts
@@ -485,16 +485,16 @@ export const InspectionQ3Detail = useCrudSchemas(
filterable: true,
options: [],
optionsAlias: {
- labelField: 'productionLineName',
- valueField: 'productionLineCode'
+ labelField: 'name',
+ valueField: 'code'
}
}
},
tableForm: {
type: 'Select',
filterable: true,
- valueField: 'productionLineName',
- labelField: 'productionLineCode'
+ valueField: 'name',
+ labelField: 'code'
}
},
{
From a6d2489cf69da819eadc40613156a78fdc02c1d7 Mon Sep 17 00:00:00 2001
From: zhaoxuebing <1291173720@qq.com>
Date: Sat, 7 Sep 2024 09:01:58 +0800
Subject: [PATCH 25/66] =?UTF-8?q?=E7=BC=BA=E9=99=B7:HL-5884=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchasereturnJobMain/purchasereturnJobMain.data.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts
index b68f7d8cb..af7e7444e 100644
--- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts
@@ -1008,7 +1008,7 @@ export const PurchasereturnJobDetail = useCrudSchemas(reactive([
field: 'reason',
dictType: DICT_TYPE.PURCHASE_RETURN_REASON,
dictClass: 'string',
- isTable: true,
+ isTable: false,
sort: 'custom',
table: {
width: 150
From e795034da869673bff43cfd9c723a981e8e64a75 Mon Sep 17 00:00:00 2001
From: "YEJIAXING-PC\\lenovo" <591141169@qq.com>
Date: Sat, 7 Sep 2024 10:13:10 +0800
Subject: [PATCH 26/66] =?UTF-8?q?Q3=E6=98=8E=E7=BB=86=E4=B8=AD=E7=BC=BA?=
=?UTF-8?q?=E9=99=B7=E4=BD=8D=E7=BD=AE=E5=B8=A6=E5=87=BA=E9=94=99=E8=AF=AF?=
=?UTF-8?q?=EF=BC=8C=E7=BC=BA=E9=99=B7=E4=BD=8D=E7=BD=AE=E9=9C=80=E8=A6=81?=
=?UTF-8?q?=E6=94=AF=E6=8C=81=E6=89=8B=E5=8A=A8=E8=BE=93=E5=85=A5=20=20HL-?=
=?UTF-8?q?5894?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../qms/inspectionQ3/inspectionQ3.data.ts | 26 ++++++++++---------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/src/views/qms/inspectionQ3/inspectionQ3.data.ts b/src/views/qms/inspectionQ3/inspectionQ3.data.ts
index 8fbdeb017..23d415a91 100644
--- a/src/views/qms/inspectionQ3/inspectionQ3.data.ts
+++ b/src/views/qms/inspectionQ3/inspectionQ3.data.ts
@@ -323,16 +323,18 @@ export const InspectionQ3Detail = useCrudSchemas(
],
verificationPage: ProductionlineitemApi.getProductionLineCodelistByCodes, // tableForm下方输入框校验失去焦点之后是否正确的方法
isShowTableFormSearch: true, //tableForm下方是否出现输入框
- isRepeat: true,//tableForm下方输入框是否可以重复添加该条数据
+ isRepeat: true, //tableForm下方输入框是否可以重复添加该条数据
// 失去焦点校验参数
- verificationParams: [{
- key: 'itemCode',
- action: '==',
- value: '',
- isMainValue: false,
- isSearch: 'true',
- isFormModel: true,
- }]
+ verificationParams: [
+ {
+ key: 'itemCode',
+ action: '==',
+ value: '',
+ isMainValue: false,
+ isSearch: 'true',
+ isFormModel: true
+ }
+ ]
},
form: {
// labelMessage: '信息提示说明!!!',
@@ -485,7 +487,7 @@ export const InspectionQ3Detail = useCrudSchemas(
filterable: true,
options: [],
optionsAlias: {
- labelField: 'name',
+ labelField: 'code',
valueField: 'code'
}
}
@@ -493,8 +495,8 @@ export const InspectionQ3Detail = useCrudSchemas(
tableForm: {
type: 'Select',
filterable: true,
- valueField: 'name',
- labelField: 'code'
+ labelField: 'code',
+ valueField: 'code'
}
},
{
From 743aeeb5fbed229cbe0f2f8c1c25942bdf3bfa00 Mon Sep 17 00:00:00 2001
From: "YEJIAXING-PC\\lenovo" <591141169@qq.com>
Date: Sat, 7 Sep 2024 10:35:21 +0800
Subject: [PATCH 27/66] =?UTF-8?q?Q3=E6=98=8E=E7=BB=86=E4=B8=AD=E7=BC=BA?=
=?UTF-8?q?=E9=99=B7=E4=BD=8D=E7=BD=AE=E5=B8=A6=E5=87=BA=E9=94=99=E8=AF=AF?=
=?UTF-8?q?=EF=BC=8C=E7=BC=BA=E9=99=B7=E4=BD=8D=E7=BD=AE=E9=9C=80=E8=A6=81?=
=?UTF-8?q?=E6=94=AF=E6=8C=81=E6=89=8B=E5=8A=A8=E8=BE=93=E5=85=A5=20=20HL-?=
=?UTF-8?q?5894?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/qms/inspectionQ2/index.vue | 76 ++++++++++++++++++++++++----
1 file changed, 65 insertions(+), 11 deletions(-)
diff --git a/src/views/qms/inspectionQ2/index.vue b/src/views/qms/inspectionQ2/index.vue
index 48af18b0f..e8f0bebc9 100644
--- a/src/views/qms/inspectionQ2/index.vue
+++ b/src/views/qms/inspectionQ2/index.vue
@@ -159,6 +159,11 @@ const clearSearchInput = (formField) => {
column: 'itemCode',
action: '==',
value: basicFormRef.value.formRef.formModel.lightItemCode
+ },
+ {
+ column: 'available',
+ action: '==',
+ value: 'TRUE'
}
],
pageNo: 1,
@@ -211,7 +216,16 @@ const clearSearchInput = (formField) => {
const params2 = {
by: 'ASC',
filters: [
- { column: 'itemCode', action: '==', value: basicFormRef.value.formRef.formModel.itemCode }
+ {
+ column: 'itemCode',
+ action: '==',
+ value: basicFormRef.value.formRef.formModel.itemCode
+ },
+ {
+ column: 'available',
+ action: '==',
+ value: 'TRUE'
+ }
],
pageNo: 1,
pageSize: 500,
@@ -258,7 +272,14 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
setV['purchaseReceiptNumber'] = ''
const supplierParams = {
by: 'ASC',
- filters: [{ column: 'code', action: '==', value: val[0].supplierCode }],
+ filters: [
+ { column: 'code', action: '==', value: val[0].supplierCode },
+ {
+ column: 'available',
+ action: '==',
+ value: 'TRUE'
+ }
+ ],
pageNo: 1,
pageSize: 500,
sort: ''
@@ -300,7 +321,14 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
setV['remainingAmount'] = 0
const params2 = {
by: 'ASC',
- filters: [{ column: 'itemCode', action: '==', value: val[0].code }],
+ filters: [
+ { column: 'itemCode', action: '==', value: val[0].code },
+ {
+ column: 'available',
+ action: '==',
+ value: 'TRUE'
+ }
+ ],
pageNo: 1,
pageSize: 500,
sort: ''
@@ -361,7 +389,14 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
const supplieritemParams = {
by: 'ASC',
- filters: [{ column: 'itemCode', action: '==', value: val[0].itemCode }],
+ filters: [
+ { column: 'itemCode', action: '==', value: val[0].itemCode },
+ {
+ column: 'available',
+ action: '==',
+ value: 'TRUE'
+ }
+ ],
pageNo: 1,
pageSize: 500,
sort: ''
@@ -380,7 +415,14 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
})
const itembasicParams = {
by: 'ASC',
- filters: [{ column: 'code', action: '==', value: val[0].itemCode }],
+ filters: [
+ { column: 'code', action: '==', value: val[0].itemCode },
+ {
+ column: 'available',
+ action: '==',
+ value: 'TRUE'
+ }
+ ],
pageNo: 1,
pageSize: 500,
sort: ''
@@ -407,7 +449,14 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
setV['remainingAmount'] = 0
const params2 = {
by: 'ASC',
- filters: [{ column: 'itemCode', action: '==', value: val[0].itemCode }],
+ filters: [
+ { column: 'itemCode', action: '==', value: val[0].itemCode },
+ {
+ column: 'available',
+ action: '==',
+ value: 'TRUE'
+ }
+ ],
pageNo: 1,
pageSize: 500,
sort: ''
@@ -509,7 +558,12 @@ const onChange = (field, e) => {
const paramsCustomer = {
by: 'ASC',
filters: [
- { column: 'code', action: '==', value: basicFormRef.value.formRef.formModel.supplierCode }
+ { column: 'code', action: '==', value: basicFormRef.value.formRef.formModel.supplierCode },
+ {
+ column: 'available',
+ action: '==',
+ value: 'TRUE'
+ }
],
pageNo: 1,
pageSize: 500,
@@ -690,10 +744,10 @@ const formsSuccess = async (formType, data) => {
// message.error('数量不能为0')
// return
// }
- if (!data.standardCostPrice) {
- message.error('标准成本价格不能为0或空')
- return
- }
+ // if (!data.standardCostPrice) {
+ // message.error('标准成本价格不能为0或空')
+ // return
+ // }
if (data.activeTime == 0) data.activeTime = null
if (data.expireTime == 0) data.expireTime = null
From 69377d6cd1fb3e61c41e0503a3c2d4b3c10ea08a Mon Sep 17 00:00:00 2001
From: bjang03 <259278618@qq.com>
Date: Sat, 7 Sep 2024 12:54:03 +0800
Subject: [PATCH 28/66] =?UTF-8?q?1=E3=80=81=E5=AF=86=E7=A0=81=E8=BF=87?=
=?UTF-8?q?=E6=9C=9F=E6=8F=90=E7=A4=BA=E4=B8=8D=E5=BC=BA=E5=88=B6=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/password/index.ts | 4 ++
src/views/login/components/LoginForm.vue | 70 ++++++++++++------------
2 files changed, 38 insertions(+), 36 deletions(-)
diff --git a/src/api/system/password/index.ts b/src/api/system/password/index.ts
index cc2495169..9f07574cc 100644
--- a/src/api/system/password/index.ts
+++ b/src/api/system/password/index.ts
@@ -23,3 +23,7 @@ export const setConfig = (data: PassWordConfigVO) => {
export const getRuleList = () => {
return request.get({ url: '/system/password/getRuleList'})
}
+// 验证密码是否过期
+export const validateResetTime = (userId:number) => {
+ return request.get({ url: '/system/password/validateResetTime?userId=' + userId})
+}
diff --git a/src/views/login/components/LoginForm.vue b/src/views/login/components/LoginForm.vue
index f9b31784c..a6f47e85c 100644
--- a/src/views/login/components/LoginForm.vue
+++ b/src/views/login/components/LoginForm.vue
@@ -34,11 +34,6 @@
-
-
-
-
-
+
@@ -75,6 +70,13 @@
@click="handleLogin()" />
+
@@ -82,13 +84,13 @@
import { ElLoading } from 'element-plus'
import LoginFormTitle from './LoginFormTitle.vue'
import type { RouteLocationNormalizedLoaded } from 'vue-router'
- import { Verify } from '@/components/Verifition'
import { useIcon } from '@/hooks/web/useIcon'
import * as authUtil from '@/utils/auth'
import { usePermissionStore } from '@/store/modules/permission'
import * as LoginApi from '@/api/login'
+ import * as PassWordApi from '@/api/system/password'
import { LoginStateEnum, useFormValid, useLoginState } from './useLogin'
import { getCodeImg } from "@/api/login";
import router from "@/router";
@@ -96,6 +98,7 @@
import * as DeptApi from '@/api/system/dept'
import { getTenant } from '@/utils/systemParam'
import { getSystermUpdateAlert,getSystermUpdateUrl,getNeedCode } from '@/utils/systemParam'
+ import {validateResetTime} from "@/api/system/password";
const needCode = ref(getNeedCode()==true||getNeedCode()=='true')
defineOptions({ name: 'LoginForm' })
@@ -112,7 +115,8 @@
const permissionStore = usePermissionStore()
const redirect = ref('')
const loginLoading = ref(false)
- const VerifySlide = ref()
+ const verify = ref()
+ const captchaType = ref('blockPuzzle') // blockPuzzle 滑块 clickWord 点击文字
const getShow = computed(() => unref(getLoginState) === LoginStateEnum.LOGIN)
@@ -183,14 +187,13 @@
if(!needCode.value){
return
}
- VerifySlide.value.refresh()
- // getCodeImg().then(res => {
- // captchaEnabled.value = res.captchaEnabled === undefined ? true : res.captchaEnabled;
- // if (captchaEnabled.value) {
- // codeUrl.value = "data:image/gif;base64," + res.img;
- // loginData.loginForm.uuid = res.uuid;
- // }
- // });
+ getCodeImg().then(res => {
+ captchaEnabled.value = res.captchaEnabled === undefined ? true : res.captchaEnabled;
+ if (captchaEnabled.value) {
+ codeUrl.value = "data:image/gif;base64," + res.img;
+ loginData.loginForm.uuid = res.uuid;
+ }
+ });
}
//获取租户ID
const getTenantId = async () => {
@@ -219,20 +222,9 @@
})
};
- // 滑块校验成功
- const capctchaCheckSuccess = ({captchaVerification})=>{
- console.log('capctchaCheckSuccess',captchaVerification)
- loginData.loginForm.code = captchaVerification
- handleLogin()
- }
- // 滑块校验失败
- const capctchaCheckError = ()=>{
- VerifySlide.value.refresh()
- }
-
const loading = ref() // ElLoading.service 返回的实例
// 登录
- const handleLogin = async () => {
+ const handleLogin = async (params) => {
console.log('登录-185')
if(getSystermUpdateAlert()=='true'||getSystermUpdateAlert()===true){
await ElMessageBox.alert(
@@ -257,6 +249,19 @@
}else{
res = await LoginApi.login(loginData.loginForm)
}
+ try{
+ await PassWordApi.validateResetTime(res.userId)
+ }catch (e) {
+ if (e.code === 1002000010) {
+ await ElMessageBox.alert(
+ '密码长时间未修改,存在安全隐患,请及时修改',
+ '重要提示',
+ {
+ dangerouslyUseHTMLString: true,
+ }
+ )
+ }
+ }
if (!res) {
console.log('登录-195')
getCode()
@@ -286,20 +291,13 @@
// 存储 部门信息
const { wsCache } = useCache()
wsCache.set(CACHE_KEY.DEPT, await DeptApi.getSimpleDeptList())
- }catch (e) {
- if(e.code === 1002000010){
- setTimeout(function (){
- router.push({path:"/updatePasswordNewTips",query:{username:loginData.loginForm.username}})
- },3000)
- }
- } finally {
+ }finally {
console.log('登录-224')
getCode()
loginLoading.value = false
loading?.value?.close()
}
}
-
// 社交登录
const doSocialLogin = async (type : number) => {
if (type === 0) {
From 2c776567964c1c9c4f772a8cb1cc89afc769fa3a Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Sat, 7 Sep 2024 13:37:46 +0800
Subject: [PATCH 29/66] =?UTF-8?q?WMS=20bug=EF=BC=9AHL-5893=20=E9=9A=94?=
=?UTF-8?q?=E7=A6=BB=E8=BD=AC=E5=90=88=E6=A0=BC=E3=80=81=E7=89=A9=E6=96=99?=
=?UTF-8?q?=E9=9A=94=E7=A6=BB=EF=BC=8C=E5=AF=BC=E5=85=A5=E6=8F=90=E7=A4=BA?=
=?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=A4=B1=E8=B4=A5=EF=BC=8C=E5=BA=94=E5=BC=B9?=
=?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84excel?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/wms/inventorymoveRequestMain/index.ts | 4 +++-
.../inventorymove/inventorymoveRequestMain/index.vue | 10 +++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/api/wms/inventorymoveRequestMain/index.ts b/src/api/wms/inventorymoveRequestMain/index.ts
index 72e91ea6c..f7bfa0704 100644
--- a/src/api/wms/inventorymoveRequestMain/index.ts
+++ b/src/api/wms/inventorymoveRequestMain/index.ts
@@ -130,10 +130,12 @@ export const exportScrapToHoldRequestMain = async (params) => {
// 下载用户导入模板
// 下载用户导入模板(除库存移动外)
-
export const importTemplate = () => {
return request.download({ url: '/wms/inventorymove-request-main/get-import-template' })
}
+export const importTemplateHoldOk = () => {
+ return request.download({ url: '/wms/inventorymove-request-main/get-import-template-hold-ok' })
+}
export const importTemplateExceptMove = () => {
return request.download({ url: '/wms/inventorymove-request-main/get-import-template-exceptMove' })
}
diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
index 20689e6b7..db8d9d37d 100644
--- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
+++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
@@ -90,6 +90,7 @@ import * as InventorymoveRequestDetailApi from '@/api/wms/inventorymoveRequestDe
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading'
+import {importTemplateHoldOk} from "@/api/wms/inventorymoveRequestMain";
const { loadStart, loadDone } = usePageLoading()
// 库存转移申请
defineOptions({ name: 'InventorymoveRequestMain' })
@@ -818,9 +819,16 @@ const searchList = (model)=>{
/** 初始化 **/
onMounted(async () => {
getList()
+ //库存移动
if(routeName.value == "InventorymoveRequestMain"){
importTemplateData.templateUrl = await InventorymoveRequestMainApi.importTemplate()
- }else {
+ }
+ //隔离转合格
+ else if(routeName.value == "HoldtookRequestMain"){
+ console.log("sssssssssssssssss");
+ importTemplateData.templateUrl = await InventorymoveRequestMainApi.importTemplateHoldOk()
+ }
+ else {
importTemplateData.templateUrl = await InventorymoveRequestMainApi.importTemplateExceptMove()
}
})
From e66f7726937b40524a726a4d2efdd026897a2b06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com>
Date: Mon, 9 Sep 2024 09:17:35 +0800
Subject: [PATCH 30/66] =?UTF-8?q?HL-5833=20=E8=A3=85=E9=85=8D=E6=8A=A5?=
=?UTF-8?q?=E5=B7=A5bom=E4=BF=A1=E6=81=AF=E6=B7=BB=E5=8A=A0=E5=AF=BC?=
=?UTF-8?q?=E5=85=A5=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../wms/rawMaterialConsumptionInfo/index.ts | 4 ++++
.../rawMaterialConsumptionInfo/index.vue | 24 +++++++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/src/api/wms/rawMaterialConsumptionInfo/index.ts b/src/api/wms/rawMaterialConsumptionInfo/index.ts
index 477158e1f..6acc4feef 100644
--- a/src/api/wms/rawMaterialConsumptionInfo/index.ts
+++ b/src/api/wms/rawMaterialConsumptionInfo/index.ts
@@ -54,4 +54,8 @@ export const exportAssemblyMaterialUsage = async (params) => {
}
+// 下载用户导入模板
+export const importTemplate = () => {
+ return request.download({ url: '/wms/backflush-record-detailb/get-import-template-error' })
+}
diff --git a/src/views/wms/productionManage/productreceiptAssemble/rawMaterialConsumptionInfo/index.vue b/src/views/wms/productionManage/productreceiptAssemble/rawMaterialConsumptionInfo/index.vue
index 7839573f2..1a98248be 100644
--- a/src/views/wms/productionManage/productreceiptAssemble/rawMaterialConsumptionInfo/index.vue
+++ b/src/views/wms/productionManage/productreceiptAssemble/rawMaterialConsumptionInfo/index.vue
@@ -33,6 +33,10 @@
+
+
+
From c8639ed2e197187d2b05621cbd6fe97d9758d285 Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Mon, 9 Sep 2024 09:42:13 +0800
Subject: [PATCH 31/66] HL-5269
---
src/views/login/components/LoginForm.vue | 57 ++++++++++++++++--------
1 file changed, 38 insertions(+), 19 deletions(-)
diff --git a/src/views/login/components/LoginForm.vue b/src/views/login/components/LoginForm.vue
index a6f47e85c..1cfff0c24 100644
--- a/src/views/login/components/LoginForm.vue
+++ b/src/views/login/components/LoginForm.vue
@@ -34,6 +34,11 @@
+
+
+
+
+
@@ -69,14 +74,8 @@
+
-
@@ -99,6 +98,8 @@
import { getTenant } from '@/utils/systemParam'
import { getSystermUpdateAlert,getSystermUpdateUrl,getNeedCode } from '@/utils/systemParam'
import {validateResetTime} from "@/api/system/password";
+ import { Verify } from '@/components/Verifition'
+
const needCode = ref(getNeedCode()==true||getNeedCode()=='true')
defineOptions({ name: 'LoginForm' })
@@ -115,8 +116,7 @@
const permissionStore = usePermissionStore()
const redirect = ref('')
const loginLoading = ref(false)
- const verify = ref()
- const captchaType = ref('blockPuzzle') // blockPuzzle 滑块 clickWord 点击文字
+ const VerifySlide = ref()
const getShow = computed(() => unref(getLoginState) === LoginStateEnum.LOGIN)
@@ -184,16 +184,18 @@
}
}
function getCode() {
+ console.log('getCode')
if(!needCode.value){
return
}
- getCodeImg().then(res => {
- captchaEnabled.value = res.captchaEnabled === undefined ? true : res.captchaEnabled;
- if (captchaEnabled.value) {
- codeUrl.value = "data:image/gif;base64," + res.img;
- loginData.loginForm.uuid = res.uuid;
- }
- });
+ VerifySlide.value.refresh()
+ // getCodeImg().then(res => {
+ // captchaEnabled.value = res.captchaEnabled === undefined ? true : res.captchaEnabled;
+ // if (captchaEnabled.value) {
+ // codeUrl.value = "data:image/gif;base64," + res.img;
+ // loginData.loginForm.uuid = res.uuid;
+ // }
+ // });
}
//获取租户ID
const getTenantId = async () => {
@@ -221,10 +223,23 @@
name: 'ForgetPassword',
})
};
+ // 滑块校验成功
+ const capctchaCheckSuccess = async ({captchaVerification})=>{
+ console.log('capctchaCheckSuccess',captchaVerification)
+ if(captchaVerification){
+ loginData.loginForm.code = captchaVerification
+ await handleLogin()
+ }
+ }
+ // 滑块校验失败
+ const capctchaCheckError = ()=>{
+ VerifySlide.value.refresh()
+ }
+
const loading = ref() // ElLoading.service 返回的实例
// 登录
- const handleLogin = async (params) => {
+ const handleLogin = async () => {
console.log('登录-185')
if(getSystermUpdateAlert()=='true'||getSystermUpdateAlert()===true){
await ElMessageBox.alert(
@@ -237,8 +252,10 @@
)
}
loginLoading.value = true
+
try {
await getTenantId()
+
const data = await validForm()
if (!data) {
return
@@ -249,6 +266,8 @@
}else{
res = await LoginApi.login(loginData.loginForm)
}
+
+ console.log('登陆res',res)
try{
await PassWordApi.validateResetTime(res.userId)
}catch (e) {
@@ -293,9 +312,9 @@
wsCache.set(CACHE_KEY.DEPT, await DeptApi.getSimpleDeptList())
}finally {
console.log('登录-224')
- getCode()
loginLoading.value = false
loading?.value?.close()
+ getCode()
}
}
// 社交登录
From 6352401bbf1e7e0abb27872dde3f21476d8506a9 Mon Sep 17 00:00:00 2001
From: yufei_wang <2267742828@qq.com>
Date: Mon, 9 Sep 2024 09:53:36 +0800
Subject: [PATCH 32/66] =?UTF-8?q?HL-5241=E5=9C=A8=E9=95=BF=E6=98=A5?=
=?UTF-8?q?=E5=92=8C=E6=88=90=E9=83=BD=E7=9A=84=E7=99=BB=E5=BD=95=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E5=90=84=E6=94=BE=E4=B8=80=E4=B8=AAPDA=E7=AB=AFAPK?=
=?UTF-8?q?=E7=A8=8B=E5=BA=8F=E4=B8=8B=E8=BD=BD=E7=9A=84=E4=BA=8C=E7=BB=B4?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.prod | 4 ++++
.env.test | 4 ++++
.env.test-scp | 3 +++
src/utils/systemParam.ts | 10 ++++++++++
src/views/login/components/QRCodePDA.vue | 6 +++++-
5 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/.env.prod b/.env.prod
index be6b9a31d..06f2aa7cc 100644
--- a/.env.prod
+++ b/.env.prod
@@ -48,3 +48,7 @@ VITE_SYSTERM_UPDATE_URL = 'https://scptest.faway-hella.com/'
# 是否需要验证码
VITE_NEED_CODE = true
+
+
+# 是否需要下载PDA链接
+VITE_PDA_URL = false
diff --git a/.env.test b/.env.test
index c58a58c21..cb687a764 100644
--- a/.env.test
+++ b/.env.test
@@ -44,3 +44,7 @@ VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400'
# 是否需要验证码
VITE_NEED_CODE = true
+
+
+# 是否需要下载PDA链接
+VITE_PDA_URL = true
\ No newline at end of file
diff --git a/.env.test-scp b/.env.test-scp
index 8bb0eb982..218728c32 100644
--- a/.env.test-scp
+++ b/.env.test-scp
@@ -45,3 +45,6 @@ VITE_REPORT_URL = 'http://dev.ccwin-in.com:25400'
# 是否需要验证码
VITE_NEED_CODE = false
+
+# 是否需要下载PDA链接
+VITE_PDA_URL = false
diff --git a/src/utils/systemParam.ts b/src/utils/systemParam.ts
index 3341cd539..9cb51bf51 100644
--- a/src/utils/systemParam.ts
+++ b/src/utils/systemParam.ts
@@ -7,6 +7,7 @@ const tenant = ref(import.meta.env.VITE_TENANT)
const systermUpdateAlert = ref(import.meta.env.VITE_SYSTERM_UPDATE_ALERT)
const systermUpdateUrl = ref(import.meta.env.VITE_SYSTERM_UPDATE_URL)
const needCode = ref(import.meta.env.VITE_NEED_CODE)
+const pdaUrl = ref(import.meta.env.VITE_PDA_URL)
const mode = ref(import.meta.env.MODE)
// 获取baseUrl
@@ -85,4 +86,13 @@ export const getNeedCode = () => {
}
}
+//是否需要PDA下载链接
+export const getPDAUrl = () => {
+ if(mode.value === 'prod') {
+ return systemConfig.pdaUrl
+ } else {
+ return pdaUrl.value
+ }
+}
+
diff --git a/src/views/login/components/QRCodePDA.vue b/src/views/login/components/QRCodePDA.vue
index 2b28194b0..d8d3b05fc 100644
--- a/src/views/login/components/QRCodePDA.vue
+++ b/src/views/login/components/QRCodePDA.vue
@@ -5,14 +5,18 @@
-
PDA安装程序下载链接
+
PDA安装程序下载链接