From 4cce4919332bea09d8b13398433444581069f1b0 Mon Sep 17 00:00:00 2001 From: skjia <106962133@qq.com> Date: Mon, 21 Jul 2025 13:17:51 +0800 Subject: [PATCH] jks --- .../supplierFunction/supplierQuotation/edit.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue b/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue index 3680f2e2..78ad44b2 100644 --- a/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue +++ b/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue @@ -322,6 +322,11 @@ export default { getGoodsInquiryDetailInfoApi(param).then((response) => { console.log('response',response); this.materialList = response.data; + console.log("this.materialList",this.materialList); + if(this.materialList==null||this.materialList.length==0||this.materialList==undefined){ + this.$modal.msgError("该供应商不在询价供应商之类!"); + } + this.baseInfo.arrivalTime=this.materialList[0].arrivalTime }); }, /** 查询货品类别下拉树结构 */ @@ -414,6 +419,10 @@ export default { let param = Object.assign({},this.baseInfo); param.arrivalTime = this.formatDateTime(this.baseInfo.arrivalTime) param.detailList = [] + if(param.arrivalTime.includes('1970')){ + this.$modal.msgError("请选择交货时间!"); + return; + } this.noMaterial = false; if(this.materialList.length>0){ this.materialList.forEach(item=>{