|
|
@ -92,6 +92,12 @@ Scene({ |
|
|
util.showToast('请输入纸品价格') |
|
|
util.showToast('请输入纸品价格') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
if(!util.isEmpty(this.data.form.highestUnitPrice)){ |
|
|
|
|
|
if(Number(this.data.form.defaultUnitPrice) >= Number(this.data.form.highestUnitPrice)){ |
|
|
|
|
|
util.showToast('最高收货价格必须高于一般收货价格') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
wx.showLoading({ title: '正在处理', mask: true }) |
|
|
wx.showLoading({ title: '正在处理', mask: true }) |
|
|
if(util.isEmpty(this.data.form.id)){ |
|
|
if(util.isEmpty(this.data.form.id)){ |
|
|
savePaperPrice(this.data.form).then(result => { |
|
|
savePaperPrice(this.data.form).then(result => { |
|
|
|