|
@@ -1711,8 +1711,11 @@
|
1711
|
1711
|
}
|
1712
|
1712
|
this.curStatus = 1
|
1713
|
1713
|
}
|
|
1714
|
+ console.log("~~~~222222~~~~~~~")
|
|
1715
|
+ console.log(temp2)
|
1714
|
1716
|
|
1715
|
1717
|
if (temp2.length > 0) {
|
|
1718
|
+ console.log("~~~~11111~~~~~~~")
|
1716
|
1719
|
for (let b = 0; b < temp2.length; b++) {
|
1717
|
1720
|
let obj = {
|
1718
|
1721
|
id: 0,
|
|
@@ -1765,7 +1768,7 @@
|
1765
|
1768
|
this.teamList = row
|
1766
|
1769
|
},
|
1767
|
1770
|
selectChange(selection, row) {
|
1768
|
|
- if ( this.org_id == 10206 && row.zuobiao_stock_num <= 0) {
|
|
1771
|
+ if (this.org_id == 10206 && row.zuobiao_stock_num <= 0) {
|
1769
|
1772
|
if (row.type == 3) {
|
1770
|
1773
|
if (selection) {
|
1771
|
1774
|
selection.forEach(row => {
|
|
@@ -1776,15 +1779,11 @@
|
1776
|
1779
|
} else {
|
1777
|
1780
|
this.$refs.tables.clearSelection()
|
1778
|
1781
|
}
|
1779
|
|
-
|
1780
|
1782
|
this.$message.error(row.project_name + '库存不足')
|
1781
|
1783
|
return
|
1782
|
|
- }else{
|
1783
|
|
- this.teamList = row
|
1784
|
1784
|
}
|
1785
|
|
- }else{
|
1786
|
|
- this.teamList = row
|
1787
|
1785
|
}
|
|
1786
|
+ this.teamList = selection
|
1788
|
1787
|
}, getPrescriptionTemplateInfo() {
|
1789
|
1788
|
let params = {
|
1790
|
1789
|
id: this.$route.query.id
|