|
|
@ -943,16 +943,17 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
//签收 |
|
|
|
//签收 |
|
|
|
handleSign(row, num) { |
|
|
|
handleSign(row, num) { |
|
|
|
if (this.selectionList.length == 0) { |
|
|
|
if(num === 2){ |
|
|
|
this.$message.warning('至少选择一条数据!!'); |
|
|
|
if (this.selectionList.length == 0) { |
|
|
|
return; |
|
|
|
this.$message.warning('至少选择一条数据!!'); |
|
|
|
} |
|
|
|
return; |
|
|
|
let a = this.selectionList.find(i => i.conditions > 6); |
|
|
|
} |
|
|
|
if (!!a) { |
|
|
|
let a = this.selectionList.find(i => i.conditions > 20); |
|
|
|
this.$message.warning('有已签收的数据,请勿重复签收!!'); |
|
|
|
if (!!a) { |
|
|
|
return; |
|
|
|
this.$message.warning('有已签收的数据,请勿重复签收!!'); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.$confirm('确定签收吗?', { |
|
|
|
this.$confirm('确定签收吗?', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
cancelButtonText: '取消', |
|
|
|