|
@@ -2339,28 +2339,28 @@ export default {
|
2339
|
2339
|
|
2340
|
2340
|
}
|
2341
|
2341
|
|
2342
|
|
- for (let b = 0; b < this.prescriptions[i].project.length; b++) {
|
2343
|
|
- if(this.prescriptions[i].project[b].delivery_way == "" ){
|
2344
|
|
- this.$message.error(`处方${i+1}的${this.prescriptions[i].project[b].project_name}用法未填写`)
|
2345
|
|
- this.$emit('editKeepLoad', false)
|
2346
|
|
- return
|
2347
|
|
- }
|
2348
|
|
- if(this.prescriptions[i].project[b].execution_frequency == "" ){
|
2349
|
|
- this.$message.error(`处方${i+1}的${this.prescriptions[i].project[b].project_name}频率未填写`)
|
2350
|
|
- this.$emit('editKeepLoad', false)
|
2351
|
|
- return
|
2352
|
|
- }
|
2353
|
|
- if(this.prescriptions[i].project[b].day == " "){
|
2354
|
|
- this.$message.error(`处方${i+1}的${this.prescriptions[i].project[b].number_days}天数未填写`)
|
2355
|
|
- this.$emit('editKeepLoad', false)
|
2356
|
|
- return
|
2357
|
|
- }
|
2358
|
|
- if(this.prescriptions[i].project[b].day == "0"){
|
2359
|
|
- this.$message.error(`处方${i+1}的${this.prescriptions[i].project[b].number_days}天数不能为0`)
|
2360
|
|
- this.$emit('editKeepLoad', false)
|
2361
|
|
- return
|
2362
|
|
- }
|
2363
|
|
- }
|
|
2342
|
+ // for (let b = 0; b < this.prescriptions[i].project.length; b++) {
|
|
2343
|
+ // if(this.prescriptions[i].project[b].delivery_way == "" ){
|
|
2344
|
+ // this.$message.error(`处方${i+1}的${this.prescriptions[i].project[b].project_name}用法未填写`)
|
|
2345
|
+ // this.$emit('editKeepLoad', false)
|
|
2346
|
+ // return
|
|
2347
|
+ // }
|
|
2348
|
+ // if(this.prescriptions[i].project[b].execution_frequency == "" ){
|
|
2349
|
+ // this.$message.error(`处方${i+1}的${this.prescriptions[i].project[b].project_name}频率未填写`)
|
|
2350
|
+ // this.$emit('editKeepLoad', false)
|
|
2351
|
+ // return
|
|
2352
|
+ // }
|
|
2353
|
+ // if(this.prescriptions[i].project[b].day == " "){
|
|
2354
|
+ // this.$message.error(`处方${i+1}的${this.prescriptions[i].project[b].number_days}天数未填写`)
|
|
2355
|
+ // this.$emit('editKeepLoad', false)
|
|
2356
|
+ // return
|
|
2357
|
+ // }
|
|
2358
|
+ // if(this.prescriptions[i].project[b].day == "0"){
|
|
2359
|
+ // this.$message.error(`处方${i+1}的${this.prescriptions[i].project[b].number_days}天数不能为0`)
|
|
2360
|
+ // this.$emit('editKeepLoad', false)
|
|
2361
|
+ // return
|
|
2362
|
+ // }
|
|
2363
|
+ // }
|
2364
|
2364
|
|
2365
|
2365
|
for (let b = 0; b < this.prescriptions[i].addition.length; b++) {
|
2366
|
2366
|
this.prescriptions[i].addition[b].id = prarseInt(this.prescriptions[i].addition[b].id)
|