Merge branch 'bonus-jyy-smart-canteen' of http://192.168.0.75:3000/bonus/bonus-ui into bonus-jyy-smart-canteen

This commit is contained in:
zzyuan 2025-07-21 13:19:26 +08:00
commit 0834234377
1 changed files with 9 additions and 0 deletions

View File

@ -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=>{