|
@@ -281,14 +281,14 @@ export default {
|
|
|
// 提交审批
|
|
|
clickSubmitForm(val) {
|
|
|
for(let i=0; i<this.goodsList.length; i++) {
|
|
|
- if(!this.goodsList[i].approvalNumber) {
|
|
|
+ if(this.goodsList[i].approvalNumber === '') {
|
|
|
this.$errorMsg('请填写审批数量');
|
|
|
return;
|
|
|
}
|
|
|
- if(this.goodsList[i].approvalNumber > this.goodsList[i].invoiceNum) {
|
|
|
- this.$errorMsg('审批数量不可大于申请数量');
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if(this.goodsList[i].approvalNumber > this.goodsList[i].invoiceNum) {
|
|
|
+ // this.$errorMsg('审批数量不可大于申请数量');
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
this.$confirm('此操作将审批订单, 是否继续?', '提示', {
|