|
@@ -2998,19 +2998,22 @@
|
2998
|
2998
|
this.teamList = row
|
2999
|
2999
|
},
|
3000
|
3000
|
selectChange(selection, row) {
|
3001
|
|
- if(row.sum_count <=0){
|
3002
|
|
- if(selection){
|
3003
|
|
- selection.forEach(row => {
|
3004
|
|
- if (row.sum_count <= 0) {
|
3005
|
|
- this.$refs.tables.toggleRowSelection(row)
|
3006
|
|
- }else{
|
3007
|
|
- this.$refs.tables.clearSelection()
|
3008
|
|
- }
|
3009
|
|
- this.$message.error(row.project_name + '库存不足')
|
3010
|
|
- return
|
3011
|
|
- })
|
|
3001
|
+ if(row.type == 3){
|
|
3002
|
+ if(row.sum_count <=0){
|
|
3003
|
+ if(selection){
|
|
3004
|
+ selection.forEach(row => {
|
|
3005
|
+ if (row.sum_count <= 0) {
|
|
3006
|
+ this.$refs.tables.toggleRowSelection(row)
|
|
3007
|
+ }else{
|
|
3008
|
+ this.$refs.tables.clearSelection()
|
|
3009
|
+ }
|
|
3010
|
+ this.$message.error(row.project_name + '库存不足')
|
|
3011
|
+ return
|
|
3012
|
+ })
|
|
3013
|
+ }
|
3012
|
3014
|
}
|
3013
|
3015
|
}
|
|
3016
|
+
|
3014
|
3017
|
// if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10188 || this.org_id ==10245 || this.org_id == 9919 || this.org_id == 10106 || this.org_id == 9504 || this.org_id ==10215 || this.org_id == 10188 || this.org_id == 10265 || this.org_id == 10164 || this.org_id == 9956 || this.org_id == 10188 || this.org_id == 10191 || this.org_id == 10278){
|
3015
|
3018
|
// if (row.stock_count <= 0) {
|
3016
|
3019
|
// if (row.type == 3) {
|