From cac93fef29994184950e12b3ec0ee5c578cb9ccb Mon Sep 17 00:00:00 2001
From: zzyuan <781948537@qq.com>
Date: Thu, 30 Oct 2025 19:05:35 +0800
Subject: [PATCH] =?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
---
.../purchaseManage/contractList/detail.vue | 6 +++++-
.../goodsInquiry/checkPrice.vue | 2 +-
.../purchaseManage/goodsInquiry/detail.vue | 2 +-
.../purchaseInspection/detail.vue | 2 +-
.../purchaseManage/purchaseOrder/index.vue | 4 ++--
.../stockManage/depotManage/index.vue | 12 +++++------
.../supplierManage/goodsSupplier/index.vue | 20 +++++++++++++++----
src/views/ims/person_setting/index.vue | 2 +-
8 files changed, 32 insertions(+), 18 deletions(-)
diff --git a/src/views/foodManage/purchaseManage/contractList/detail.vue b/src/views/foodManage/purchaseManage/contractList/detail.vue
index f838f610..f4a6afc6 100644
--- a/src/views/foodManage/purchaseManage/contractList/detail.vue
+++ b/src/views/foodManage/purchaseManage/contractList/detail.vue
@@ -67,7 +67,11 @@
备注
{{ baseInfo.remark }}
-
+
+
+ 负责人
+ {{ baseInfo.contractPersonName }}
+
diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue b/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
index 82843ac5..4923c386 100644
--- a/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
+++ b/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
@@ -28,7 +28,7 @@
联系人
- {{ baseInfo.linkMan }}
+ {{ baseInfo.linkManName }}
联系电话
diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/detail.vue b/src/views/foodManage/purchaseManage/goodsInquiry/detail.vue
index 89005824..f3d5a470 100644
--- a/src/views/foodManage/purchaseManage/goodsInquiry/detail.vue
+++ b/src/views/foodManage/purchaseManage/goodsInquiry/detail.vue
@@ -28,7 +28,7 @@
联系人
- {{ baseInfo.linkMan }}
+ {{ baseInfo.linkManName }}
联系电话
diff --git a/src/views/foodManage/purchaseManage/purchaseInspection/detail.vue b/src/views/foodManage/purchaseManage/purchaseInspection/detail.vue
index 4f588901..207ba811 100644
--- a/src/views/foodManage/purchaseManage/purchaseInspection/detail.vue
+++ b/src/views/foodManage/purchaseManage/purchaseInspection/detail.vue
@@ -36,7 +36,7 @@
验货人
- {{ baseInfo.inspector }}
+ {{ baseInfo.inspectorName }}
备注
diff --git a/src/views/foodManage/purchaseManage/purchaseOrder/index.vue b/src/views/foodManage/purchaseManage/purchaseOrder/index.vue
index 668cec9f..40879cab 100644
--- a/src/views/foodManage/purchaseManage/purchaseOrder/index.vue
+++ b/src/views/foodManage/purchaseManage/purchaseOrder/index.vue
@@ -479,9 +479,9 @@ export default {
},
defaultDateRange() {
const end = new Date(new Date().toLocaleDateString());
- end.setTime(end.getTime() + 24 * 60 * 60 * 1000 -1);
+ end.setTime(end.getTime() + 16 * 24 * 60 * 60 * 1000 -1);
const start = new Date((new Date().toLocaleDateString()));
- start.setTime(start.getTime() - 30 * 24 * 60 * 60 * 1000);
+ start.setTime(start.getTime() - 15 * 24 * 60 * 60 * 1000);
this.start = parseInt(start.getTime() / 1000)
this.end = parseInt(end.getTime() / 1000)
return [start, end]
diff --git a/src/views/foodManage/stockManage/depotManage/index.vue b/src/views/foodManage/stockManage/depotManage/index.vue
index a1b5e1c3..cb0a5412 100644
--- a/src/views/foodManage/stockManage/depotManage/index.vue
+++ b/src/views/foodManage/stockManage/depotManage/index.vue
@@ -14,9 +14,9 @@
-
+
-
+
@@ -207,8 +207,7 @@ export default {
dicts: ['warehouse_category'],
data() {
return {
- contractPersonOptions: [], // 下拉框选项
- contractPerson: '', // 绑定的值
+ contractPersonOptions: [], // 下拉框选项
// 遮罩层
loading: true,
// 选中数组
@@ -341,8 +340,7 @@ export default {
this.title = "修改";
},
/** 提交按钮 */
- submitForm: function() {
- this.form.manager = this.contractPerson; // 将选择的负责人传给 form.manager
+ submitForm: function() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.warehouseId != undefined) {
diff --git a/src/views/foodManage/supplierManage/goodsSupplier/index.vue b/src/views/foodManage/supplierManage/goodsSupplier/index.vue
index 0a53a93c..cb579b9b 100644
--- a/src/views/foodManage/supplierManage/goodsSupplier/index.vue
+++ b/src/views/foodManage/supplierManage/goodsSupplier/index.vue
@@ -425,9 +425,11 @@ export default {
"ifSupply": row.ifSupply
}
if(!row.materialId){//类别
- param.categoryId = row.materialTypeId
+ param.categoryId = row.materialTypeId;
+ param.bingType = 2;
}else{//名称
param.materialId = row.materialId
+ param.bingType = 1;
}
supplierBindMaterialApi(param).then(response => {
this.$modal.msgSuccess("修改成功");
@@ -448,8 +450,10 @@ export default {
}
if(!row.materialId){//类别
param.categoryId = row.materialTypeId
+ param.bingType = 2;
}else{//名称
param.materialId = row.materialId
+ param.bingType = 1;
}
supplierBindMaterialApi(param).then(response => {
this.$modal.msgSuccess("修改成功");
@@ -472,8 +476,10 @@ export default {
}
if(!row.materialId){//类别
param.categoryId = row.materialTypeId
+ param.bingType = 1;
}else{//名称
param.materialId = row.materialId
+ param.bingType = 1;
}
if(row.supplierIdList&&row.supplierIdList.length>0){
row.supplierIdList.forEach(item => {
@@ -569,11 +575,13 @@ export default {
"ifSupply": "1"
}
this.batchRows.forEach(item=>{
- if(!item.materialId){
+ if(!item.materialId){//类别
param.categoryIds.push(item.materialTypeId)
+ param.bingType = 1;
param.materialIds=null
- }else{
+ }else{//名称
param.materialIds.push(item.materialId)
+ param.bingType = 2;
param.categoryIds=null
}
})
@@ -626,7 +634,7 @@ export default {
}
materialTypeBindSupplierPageApi(param).then(response => {
this.tableListData2 = response.rows;
- this.tableListData2.forEach(item=>{
+ this.tableListData2.forEach((item,index)=>{
let arr=[]
if(item.alternativeSuppliers&&item.alternativeSuppliers.length>0){
item.alternativeSuppliers.forEach(sub=>{
@@ -634,6 +642,10 @@ export default {
})
}
this.$set(item,"supplierIdList",arr)
+ if(item.parentId==-1){
+ // if(item.materialTypeName=='原料'){
+ this.tableListData2.splice(index,1)
+ }
})
this.total2 = Number(response.total);
this.loading = false;
diff --git a/src/views/ims/person_setting/index.vue b/src/views/ims/person_setting/index.vue
index 7af3a58d..5d248f3a 100644
--- a/src/views/ims/person_setting/index.vue
+++ b/src/views/ims/person_setting/index.vue
@@ -282,7 +282,7 @@ export default {
handleUpdate(row) {
console.log("row", row);
this.reset();
- getListApi(row.id).then(response => {
+ getListApi({id:row.id}).then(response => {
console.log("response",response);
this.form = response.rows[0];
if(response.rows[0].photoUrl){