diff --git a/src/api/foodManage/purchaseManage.js b/src/api/foodManage/purchaseManage.js
index 0281092d..de93726c 100644
--- a/src/api/foodManage/purchaseManage.js
+++ b/src/api/foodManage/purchaseManage.js
@@ -166,6 +166,17 @@ export function getGoodsInquiryInfoApi(data) {
}
})
}
+//获取采购询价详情
+export function getGoodsInquiryInfoBySupplierIdApi(data) {
+ return request({
+ url: '/smart-canteen/ims_inquiry/getInfo',
+ method: 'post',
+ headers: {
+ //"merchant-id":"378915229716713472",
+ },
+ data: data
+ })
+}
//获取报价供应商详情列表-查看报价
export function getGoodsInquirySupplierInfoApi(data) {
return request({
diff --git a/src/views/foodManage/pickManage/materialPicking/edit.vue b/src/views/foodManage/pickManage/materialPicking/edit.vue
index 7c4676ad..7a223b8d 100644
--- a/src/views/foodManage/pickManage/materialPicking/edit.vue
+++ b/src/views/foodManage/pickManage/materialPicking/edit.vue
@@ -49,7 +49,7 @@
-
+
{
this.$refs.multipleTable1.clearSelection()
},300)
}else{
- this.$modal.msgError("请先选择区域,仓库");
+ this.$modal.msgError("请先选择区域、仓库");
}
},
/** 搜索按钮操作 */
@@ -647,14 +648,14 @@ export default {
},
//导入
importPurchasePlan(){
- if(this.baseInfo.areaId!=undefined||this.baseInfo.canteenId!=undefined||this.baseInfo.stallId!=undefined){
+ if(this.baseInfo.areaId!=undefined&&this.baseInfo.canteenId!=undefined&&this.baseInfo.stallId!=undefined&&this.baseInfo.warehouseId&&this.baseInfo.warehouseId!=undefined){
this.openImportDialog=true
this.resetQuery2()
// setTimeout(()=>{
// this.$refs.multipleTable2.clearSelection()
// },300)
}else{
- this.$modal.msgError("请先选择区域,食堂,档口");
+ this.$modal.msgError("请先选择区域、食堂、档口、仓库");
}
},
/** 搜索按钮操作 */
diff --git a/src/views/foodManage/purchaseManage/contractList/edit.vue b/src/views/foodManage/purchaseManage/contractList/edit.vue
index 70ac9474..84c05e55 100644
--- a/src/views/foodManage/purchaseManage/contractList/edit.vue
+++ b/src/views/foodManage/purchaseManage/contractList/edit.vue
@@ -737,14 +737,14 @@ export default {
},
//导入
importPurchaseOrder(){
- if(this.baseInfo.areaId!=undefined||this.baseInfo.deliveryWarehouseId!=undefined||this.baseInfo.supplierId!=undefined){
+ if(this.baseInfo.areaId!=undefined&&this.baseInfo.supplierId&&this.baseInfo.supplierId!=undefined){
this.openImportDialog=true
this.resetQuery2()
// setTimeout(()=>{
// this.$refs.multipleTable2.clearSelection()
// },300)
}else{
- this.$modal.msgError("请先选择区域,供应商");
+ this.$modal.msgError("请先选择区域、供应商");
}
},
/** 搜索按钮操作 */
@@ -770,8 +770,7 @@ export default {
"orderGoodsCode": this.queryParams2.orderGoodsCode,
"orderStatus":2,
"isContract":1,
- "areaId": this.baseInfo.areaId,
- // "warehouseId": this.baseInfo.deliveryWarehouseId,
+ "areaId": this.baseInfo.areaId,
"supplierId": this.baseInfo.supplierId,
}
purchaseOrderPageApi(param).then(response => {
diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue b/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
index 4923c386..0a7f86b1 100644
--- a/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
+++ b/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
@@ -231,7 +231,8 @@ export default {
console.log(row)
let param = {
"inquiryId": this.baseInfo.inquiryId,
- "supplierId":row.supplierId
+ "supplierId":row.supplierId,
+ "quoteAmount":row.quoteAmount
}
editInquirySupplierApi(param).then((response) => {
console.log('response',response);
diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/index.vue b/src/views/foodManage/purchaseManage/goodsInquiry/index.vue
index acc426e9..6c7b15d1 100644
--- a/src/views/foodManage/purchaseManage/goodsInquiry/index.vue
+++ b/src/views/foodManage/purchaseManage/goodsInquiry/index.vue
@@ -103,11 +103,11 @@
未中选
-->
-
-
-
+
+
+
+ {{ (scope.row.bidTotalPrice/100).toFixed(2) }}
+
diff --git a/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue b/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue
index 5f2edc68..78cc50e2 100644
--- a/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue
+++ b/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue
@@ -25,7 +25,7 @@
-
+
{
diff --git a/src/views/foodManage/purchaseManage/purchaseOrder/edit.vue b/src/views/foodManage/purchaseManage/purchaseOrder/edit.vue
index ce072e64..2f4c760e 100644
--- a/src/views/foodManage/purchaseManage/purchaseOrder/edit.vue
+++ b/src/views/foodManage/purchaseManage/purchaseOrder/edit.vue
@@ -799,14 +799,14 @@ export default {
//导入
importPurchasePlan(){
- if(this.baseInfo.areaId!=undefined||this.baseInfo.canteenId!=undefined||this.baseInfo.stallId!=undefined){
+ if(this.baseInfo.areaId!=undefined&&this.baseInfo.canteenId&&this.baseInfo.canteenId!=undefined){
this.openImportDialog=true
this.resetQuery2()
// setTimeout(()=>{
// this.$refs.multipleTable2.clearSelection()
// },300)
}else{
- this.$modal.msgError("请先选择区域,食堂,档口");
+ this.$modal.msgError("请先选择区域、食堂");
}
},
/** 搜索按钮操作 */
diff --git a/src/views/foodManage/purchaseManage/purchaseOrder/index.vue b/src/views/foodManage/purchaseManage/purchaseOrder/index.vue
index 40879cab..ea752c77 100644
--- a/src/views/foodManage/purchaseManage/purchaseOrder/index.vue
+++ b/src/views/foodManage/purchaseManage/purchaseOrder/index.vue
@@ -177,7 +177,7 @@
生成采购验货
-
+
(new Date().getTime() + 3600 * 1000 * 24 * 60);// - 86400000是否包括当天
+ return v.getTime() < (new Date().getTime() - 86400000) ||v.getTime() > (new Date().getTime() + 3600 * 1000 * 24 * 180);// - 86400000是否包括当天
}
},
pickerOptions3: {
@@ -462,7 +462,7 @@ export default {
this.$refs.multipleTable1.clearSelection()
},300)
}else{
- this.$modal.msgError("请先选择区域,仓库");
+ this.$modal.msgError("请先选择区域、仓库");
}
},
/** 搜索按钮操作 */
@@ -668,7 +668,7 @@ export default {
// this.$refs.multipleTable2.clearSelection()
// },300)
}else{
- this.$modal.msgError("请先选择区域,仓库");
+ this.$modal.msgError("请先选择区域、仓库");
}
},
/** 搜索按钮操作 */
diff --git a/src/views/foodManage/stockManage/warehouseOut/edit.vue b/src/views/foodManage/stockManage/warehouseOut/edit.vue
index de689704..b187bd27 100644
--- a/src/views/foodManage/stockManage/warehouseOut/edit.vue
+++ b/src/views/foodManage/stockManage/warehouseOut/edit.vue
@@ -17,7 +17,7 @@
-
+
{
this.$refs.multipleTable1.clearSelection()
},300)
}else{
- this.$modal.msgError("请先选择区域,仓库");
+ this.$modal.msgError("请先选择区域、仓库");
}
},
/** 搜索按钮操作 */
@@ -579,14 +579,14 @@ export default {
importMaterial(){
- if(this.baseInfo.areaId!=undefined||this.baseInfo.warehouseId!=undefined){
+ if(this.baseInfo.areaId!=undefined&&this.baseInfo.warehouseId&&this.baseInfo.warehouseId!=undefined){
this.openImportDialog=true
this.resetQuery2()
setTimeout(()=>{
this.$refs.multipleTable2.clearSelection()
},300)
}else{
- this.$modal.msgError("请先选择区域,仓库");
+ this.$modal.msgError("请先选择区域、仓库");
}
},
/** 搜索按钮操作 */
diff --git a/src/views/foodManage/stockManage/warehouseOut/index.vue b/src/views/foodManage/stockManage/warehouseOut/index.vue
index 41c0ee5c..4edb650e 100644
--- a/src/views/foodManage/stockManage/warehouseOut/index.vue
+++ b/src/views/foodManage/stockManage/warehouseOut/index.vue
@@ -49,6 +49,7 @@
+
@@ -92,6 +93,7 @@
报损出库
退货出库
调拨出库
+ 即入即出
diff --git a/vue.config.js b/vue.config.js
index 99209745..d6c814a7 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,7 +36,7 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.2.75:48380`,//旭
- target: `http://192.168.0.34:48380`,//测试
+ target: `http://192.168.20.241:48380`,//测试
// target: `http://192.168.2.108:48380`,//测试
// target: `http://192.168.0.34:48380`,//测试
// target: `http://192.168.0.176:48380`,//