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:
commit
0834234377
|
|
@ -322,6 +322,11 @@ export default {
|
||||||
getGoodsInquiryDetailInfoApi(param).then((response) => {
|
getGoodsInquiryDetailInfoApi(param).then((response) => {
|
||||||
console.log('response',response);
|
console.log('response',response);
|
||||||
this.materialList = response.data;
|
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);
|
let param = Object.assign({},this.baseInfo);
|
||||||
param.arrivalTime = this.formatDateTime(this.baseInfo.arrivalTime)
|
param.arrivalTime = this.formatDateTime(this.baseInfo.arrivalTime)
|
||||||
param.detailList = []
|
param.detailList = []
|
||||||
|
if(param.arrivalTime.includes('1970')){
|
||||||
|
this.$modal.msgError("请选择交货时间!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.noMaterial = false;
|
this.noMaterial = false;
|
||||||
if(this.materialList.length>0){
|
if(this.materialList.length>0){
|
||||||
this.materialList.forEach(item=>{
|
this.materialList.forEach(item=>{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue