|
@@ -219,7 +219,7 @@
|
219
|
219
|
<template slot-scope="scope">{{ scope.row.type == 3?scope.row.zuobiao_stock_num :""}}</template>
|
220
|
220
|
</el-table-column>
|
221
|
221
|
|
222
|
|
-
|
|
222
|
+
|
223
|
223
|
|
224
|
224
|
|
225
|
225
|
<el-table-column label="规格" width="60">
|
|
@@ -228,13 +228,13 @@
|
228
|
228
|
<el-table-column label="单价" width="40">
|
229
|
229
|
<template slot-scope="scope">{{ scope.row.price }}</template>
|
230
|
230
|
</el-table-column>
|
231
|
|
-
|
|
231
|
+
|
232
|
232
|
<el-table-column label="库存" width="60" v-if="org_id != 10206" >
|
233
|
233
|
<template slot-scope="scope">
|
234
|
|
- <span v-if="scope.row.type == 3">{{scope.row.sum_count}}</span>
|
|
234
|
+ <span v-if="scope.row.type == 3">{{scope.row.sum_count}}</span>
|
235
|
235
|
</template>
|
236
|
236
|
</el-table-column>
|
237
|
|
-
|
|
237
|
+
|
238
|
238
|
</el-table>
|
239
|
239
|
</div>
|
240
|
240
|
</el-tab-pane>
|
|
@@ -1627,8 +1627,8 @@
|
1627
|
1627
|
for (let i = 0; i < this.teamList.length; i++) {
|
1628
|
1628
|
for (let a = 0; a < this.curPrescriptions.project.length; a++) {
|
1629
|
1629
|
if (this.teamList[i].id == this.curPrescriptions.project[a].project_id) {
|
1630
|
|
- this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
|
1631
|
|
- return
|
|
1630
|
+ // this.$message.error('当前处方存在相同的药品,无法添加相同的项目')
|
|
1631
|
+ // return
|
1632
|
1632
|
}
|
1633
|
1633
|
}
|
1634
|
1634
|
}
|
|
@@ -1636,8 +1636,8 @@
|
1636
|
1636
|
for (let i = 0; i < this.curDrugs.length; i++) {
|
1637
|
1637
|
for (let a = 0; a < this.curPrescriptions.advices.length; a++) {
|
1638
|
1638
|
if (this.curDrugs[i].id == this.curPrescriptions.advices[a].id) {
|
1639
|
|
- this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
|
1640
|
|
- return
|
|
1639
|
+ // this.$message.error('当前处方存在相同的药品,无法添加相同的药品')
|
|
1640
|
+ // return
|
1641
|
1641
|
|
1642
|
1642
|
}
|
1643
|
1643
|
}
|
|
@@ -1882,7 +1882,7 @@
|
1882
|
1882
|
tempAdvice.push(obj)
|
1883
|
1883
|
}
|
1884
|
1884
|
}
|
1885
|
|
-
|
|
1885
|
+
|
1886
|
1886
|
}
|
1887
|
1887
|
//项目
|
1888
|
1888
|
for (let b = 0; b < prescription.project.length; b++) {
|
|
@@ -2134,7 +2134,7 @@
|
2134
|
2134
|
}
|
2135
|
2135
|
|
2136
|
2136
|
|
2137
|
|
-
|
|
2137
|
+
|
2138
|
2138
|
}
|
2139
|
2139
|
}
|
2140
|
2140
|
// var preTime = nowTime
|
|
@@ -2198,7 +2198,7 @@
|
2198
|
2198
|
getHisProject().then(response => {
|
2199
|
2199
|
if (response.data.state == 1) {
|
2200
|
2200
|
var project = response.data.data.project
|
2201
|
|
-
|
|
2201
|
+
|
2202
|
2202
|
for (let i = 0; i < project.length; i++) {
|
2203
|
2203
|
let obj = {
|
2204
|
2204
|
id: project[i].id,
|
|
@@ -2594,7 +2594,7 @@
|
2594
|
2594
|
min_str = (total % min_number) + min_unit;
|
2595
|
2595
|
}
|
2596
|
2596
|
}
|
2597
|
|
-
|
|
2597
|
+
|
2598
|
2598
|
if(max_str == "" && min_str == ""){
|
2599
|
2599
|
return "0"
|
2600
|
2600
|
}else{
|