Browse Source

8月15日

XMLWAN 2 years ago
parent
commit
f55c8e631a

+ 8 - 0
src/api/config.js View File

217
     params: params
217
     params: params
218
   })
218
   })
219
 }
219
 }
220
+
221
+export function changeGoodOutOpen(params) {
222
+  return request({
223
+    url: '/api/changegoodoutopen',
224
+    method: 'Get',
225
+    params: params
226
+  })
227
+}

+ 30 - 1
src/xt_pages/data/basicConfig.vue View File

42
             <p style="margin-top:20px;">药品在保存处方时出库:
42
             <p style="margin-top:20px;">药品在保存处方时出库:
43
                 <el-switch v-model="drug_out_open" @change="changeDrugOpen"></el-switch>
43
                 <el-switch v-model="drug_out_open" @change="changeDrugOpen"></el-switch>
44
             </p>
44
             </p>
45
+             <p style="margin-top:20px;">耗材在保存处方时出库:
46
+                <el-switch v-model="good_out_open" @change="changeGoodOutOpen"></el-switch>
47
+            </p>
45
 
48
 
46
             <p style="margin-top:20px;">药品耗材在结算时出库:
49
             <p style="margin-top:20px;">药品耗材在结算时出库:
47
                 <el-switch v-model="drug_settle_open" @change="changeSettleOpen"></el-switch>
50
                 <el-switch v-model="drug_settle_open" @change="changeSettleOpen"></el-switch>
101
 
104
 
102
 <script>
105
 <script>
103
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
106
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
104
-import { getAllIsOpenInit,postXtHisIsOpen,postMonitorIsOpen,changeFuncPrint,getDataPrintList,postXtHisProjectIsOpen,changeStockSetting,changeAdviceConfig,changePrescriptionConfig,changeDrugOpenConfig,changeSettleOpenConfig} from '@/api/config'
107
+import { getAllIsOpenInit,postXtHisIsOpen,postMonitorIsOpen,changeFuncPrint,getDataPrintList,postXtHisProjectIsOpen,changeStockSetting,changeAdviceConfig,changePrescriptionConfig,changeDrugOpenConfig,changeSettleOpenConfig,changeGoodOutOpen} from '@/api/config'
105
 
108
 
106
 export default {
109
 export default {
107
   name: "printTemplate",
110
   name: "printTemplate",
124
       is_open_prescription_xt_his:false,
127
       is_open_prescription_xt_his:false,
125
       drug_out_open:false,
128
       drug_out_open:false,
126
       drug_settle_open:false,
129
       drug_settle_open:false,
130
+      good_out_open:false,
127
     };
131
     };
128
   },
132
   },
129
   methods: {
133
   methods: {
175
               this.drug_settle_open = false
179
               this.drug_settle_open = false
176
             }
180
             }
177
 
181
 
182
+            if(response.data.data.is_out_open == 1){
183
+              this.good_out_open = true
184
+            }else{
185
+              this.good_out_open = false
186
+            }
187
+
178
           } else {
188
           } else {
179
             this.$message.error(response.data.msg)
189
             this.$message.error(response.data.msg)
180
           }
190
           }
435
             this.getInitIsOpenConfig()
445
             this.getInitIsOpenConfig()
436
           }
446
           }
437
       })
447
       })
448
+    },
449
+    
450
+    changeGoodOutOpen(){
451
+      var good_open = 0
452
+      if(this.good_out_open == false){
453
+        good_open = 2
454
+      }
455
+      if(this.good_out_open == true){
456
+         good_open = 1
457
+      }
458
+      var params= {
459
+        good_open:good_open,
460
+      }
461
+      changeGoodOutOpen(params).then(response=>{
462
+        if(response.data.state == 1){
463
+          this.$message.success("保存成功!")
464
+        }
465
+      })
438
     }
466
     }
467
+    
439
 
468
 
440
   },
469
   },
441
   created() {
470
   created() {

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

142
           <label>目标超滤量 : </label>
142
           <label>目标超滤量 : </label>
143
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
143
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
144
           
144
           
145
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
146
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
145
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10441"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
146
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id==10441" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
147
         </li>
147
         </li>
148
 
148
 
149
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
149
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue View File

17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18
             actual_ultrafiltration
18
             actual_ultrafiltration
19
           }}</span>
19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432"  >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441"  >L</span>
22
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">
24
           <label>导管 : </label>
24
           <label>导管 : </label>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432"  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441"  >
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

95
                     </el-col>
95
                     </el-col>
96
 
96
 
97
                     <el-col :span="8"
97
                     <el-col :span="8"
98
-                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432)">
98
+                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441)">
99
                         <el-form-item label="目标超滤量(ml):">
99
                         <el-form-item label="目标超滤量(ml):">
100
                             <el-input
100
                             <el-input
101
                                     type="number"
101
                                     type="number"
106
 
106
 
107
 
107
 
108
                     <el-col :span="8"
108
                     <el-col :span="8"
109
-                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432">
109
+                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id!=10441">
110
                         <el-form-item label="目标超滤量(L):">
110
                         <el-form-item label="目标超滤量(L):">
111
                             <el-input
111
                             <el-input
112
                                     type="number"
112
                                     type="number"

+ 21 - 12
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

292
 
292
 
293
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
293
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
294
                   <td style="border-right: none; border-inline-end:none;text-align: center">
294
                   <td style="border-right: none; border-inline-end:none;text-align: center">
295
-                    <span v-if="is_sys==1">{{getOutCountSix(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)}}</span>
295
+                    <span v-if="is_sys==1 || is_sys == 5">{{getOutCountSix(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)}}</span>
296
                     <!-- <span v-if="is_sys == 1"> {{getOutCount(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> -->
296
                     <!-- <span v-if="is_sys == 1"> {{getOutCount(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> -->
297
                     <span v-if="is_sys == 0"> {{getOutCountOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
297
                     <span v-if="is_sys == 0"> {{getOutCountOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
298
                   </td>
298
                   </td>
303
             <template slot-scope="scope">
303
             <template slot-scope="scope">
304
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
304
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
305
                   <td style="border-right: none; border-inline-end:none;text-align: center">
305
                   <td style="border-right: none; border-inline-end:none;text-align: center">
306
-                    <span v-if="is_sys == 1">{{getBatchNumber(item.warehousing_detail_id)}}</span> 
306
+                    <span v-if="is_sys == 1 || is_sys == 5">{{getBatchNumber(item.warehousing_detail_id)}}</span> 
307
                     <span v-if="is_sys == 0">{{getBatchNumberOne(item.batch_number)}}</span>
307
                     <span v-if="is_sys == 0">{{getBatchNumberOne(item.batch_number)}}</span>
308
                   </td>
308
                   </td>
309
                </tr>
309
                </tr>
322
             <template slot-scope="scope">
322
             <template slot-scope="scope">
323
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
323
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
324
                   <td style="border-right: none; border-inline-end: none;text-align: center">
324
                   <td style="border-right: none; border-inline-end: none;text-align: center">
325
-                    <span v-if="is_sys == 1">{{getPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
325
+                    <span v-if="is_sys == 1 || is_sys == 5">{{getPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
326
                     <span v-if="is_sys == 0">
326
                     <span v-if="is_sys == 0">
327
                       <span v-if="scope.row.child.length == 1">
327
                       <span v-if="scope.row.child.length == 1">
328
                          {{getPriceTwo(item.warehouse_out_id,item.drug_id)}}
328
                          {{getPriceTwo(item.warehouse_out_id,item.drug_id)}}
341
             <template slot-scope="scope">
341
             <template slot-scope="scope">
342
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
342
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
343
                   <td style="border-right: none; border-inline-end: none;text-align: center">
343
                   <td style="border-right: none; border-inline-end: none;text-align: center">
344
-                    <span v-if="is_sys == 1">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
344
+                    <span v-if="is_sys == 1 || is_sys == 5">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
345
                     <span v-if="is_sys == 0">
345
                     <span v-if="is_sys == 0">
346
                       <span v-if="scope.row.child.length == 1">{{item.retail_price}}</span> 
346
                       <span v-if="scope.row.child.length == 1">{{item.retail_price}}</span> 
347
                       <span v-if="scope.row.child.length > 1">{{item.count * item.price}}</span> 
347
                       <span v-if="scope.row.child.length > 1">{{item.count * item.price}}</span> 
355
             <template slot-scope="scope">
355
             <template slot-scope="scope">
356
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
356
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
357
                   <td style="border-right: none; border-inline-end: none;text-align: center">
357
                   <td style="border-right: none; border-inline-end: none;text-align: center">
358
-                    <span v-if="is_sys == 1"> {{getAllManufacturerName(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
358
+                    <span v-if="is_sys == 1 || is_sys == 5"> {{getAllManufacturerName(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
359
                     <span v-if="is_sys == 0"> {{getManufacturerName(scope.row.manufacturer)}}</span>
359
                     <span v-if="is_sys == 0"> {{getManufacturerName(scope.row.manufacturer)}}</span>
360
                   </td>
360
                   </td>
361
                </tr>
361
                </tr>
365
             <template slot-scope="scope">
365
             <template slot-scope="scope">
366
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
366
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
367
                   <td style="border-right: none; border-inline-end: none;text-align: center">
367
                   <td style="border-right: none; border-inline-end: none;text-align: center">
368
-                    <span v-if="is_sys == 1"> {{getProductDate(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
368
+                    <span v-if="is_sys == 1 || is_sys == 5"> {{getProductDate(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
369
                     <span v-if="is_sys == 0"> {{getTime(scope.row.product_date)}}</span>
369
                     <span v-if="is_sys == 0"> {{getTime(scope.row.product_date)}}</span>
370
                   </td>
370
                   </td>
371
                </tr>
371
                </tr>
375
             <template slot-scope="scope">
375
             <template slot-scope="scope">
376
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
376
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
377
                   <td style="border-right: none; border-inline-end: none;text-align: center">
377
                   <td style="border-right: none; border-inline-end: none;text-align: center">
378
-                   <span v-if="is_sys == 1"> {{getExpiryDate(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
378
+                   <span v-if="is_sys == 1 || is_sys == 5"> {{getExpiryDate(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
379
                    <span v-if="is_sys == 0"> {{getTime(scope.row.expiry_date)}}</span>
379
                    <span v-if="is_sys == 0"> {{getTime(scope.row.expiry_date)}}</span>
380
                   </td>
380
                   </td>
381
                </tr>
381
                </tr>
385
             <template slot-scope="scope">
385
             <template slot-scope="scope">
386
                 <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
386
                 <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
387
                   <td style="border-right: none; border-inline-end: none;text-align: center">
387
                   <td style="border-right: none; border-inline-end: none;text-align: center">
388
-                    <span v-if="is_sys ==1">{{getDealer(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
388
+                    <span v-if="is_sys ==1 || is_sys ==5">{{getDealer(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
389
                     <span v-if="is_sys ==0">{{getDealerName(scope.row.dealer)}}</span>  
389
                     <span v-if="is_sys ==0">{{getDealerName(scope.row.dealer)}}</span>  
390
                   </td>
390
                   </td>
391
                </tr>
391
                </tr>
395
             <template slot-scope="scope">
395
             <template slot-scope="scope">
396
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
396
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
397
                   <td style="border-right: none; border-inline-end: none;text-align: center">
397
                   <td style="border-right: none; border-inline-end: none;text-align: center">
398
-                    <span v-if="is_sys == 1">{{getNumber(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
398
+                    <span v-if="is_sys == 1 || is_sys == 5">{{getNumber(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
399
                     <span v-if="is_sys == 0">{{scope.row.number}}</span> 
399
                     <span v-if="is_sys == 0">{{scope.row.number}}</span> 
400
                   </td>
400
                   </td>
401
                </tr>
401
                </tr>
405
             <template slot-scope="scope">
405
             <template slot-scope="scope">
406
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
406
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
407
                   <td style="border-right: none; border-inline-end: none;text-align: center">
407
                   <td style="border-right: none; border-inline-end: none;text-align: center">
408
-                    <span v-if="is_sys == 1">{{getRemark(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
408
+                    <span v-if="is_sys == 1 || is_sys == 5">{{getRemark(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
409
                     <span v-if="is_sys == 0">{{scope.row.remark}}</span>
409
                     <span v-if="is_sys == 0">{{scope.row.remark}}</span>
410
                   </td>
410
                   </td>
411
                </tr>
411
                </tr>
878
     },
878
     },
879
 
879
 
880
     handleDelete: function (index, row) {
880
     handleDelete: function (index, row) {
881
+      if (row.is_sys == 5) {
882
+        this.$message.error("结算出库数据不能删除!");
883
+        return;
884
+      }
881
       if (row.is_sys == 12) {
885
       if (row.is_sys == 12) {
882
         this.$message.error("调拨出库数据不能删除!");
886
         this.$message.error("调拨出库数据不能删除!");
883
         return;
887
         return;
965
           this.$message.error("调拨出库数据不能删除!");
969
           this.$message.error("调拨出库数据不能删除!");
966
           return false;
970
           return false;
967
         }
971
         }
972
+        if (this.selectedTableData[i].is_sys == 5) {
973
+          this.$message.error("结算出库数据不能删除!");
974
+          return false;
975
+        }
976
+      
968
         if (this.selectedTableData[i].is_sys == 0) {
977
         if (this.selectedTableData[i].is_sys == 0) {
969
           ids.push(this.selectedTableData[i].id);
978
           ids.push(this.selectedTableData[i].id);
970
           if(this.selectedTableData[i].supply_cancel_out_id >0){
979
           if(this.selectedTableData[i].supply_cancel_out_id >0){
1227
             this.drugFlowList = drugFlowList;
1236
             this.drugFlowList = drugFlowList;
1228
           }
1237
           }
1229
 
1238
 
1230
-          if (is_sys == 0 || is_sys == 12) {
1239
+          if (is_sys == 0 || is_sys == 12 || is_sys == 5) {
1231
             var flowlist = response.data.data.flowlist;
1240
             var flowlist = response.data.data.flowlist;
1232
             this.drugFlowList = [];
1241
             this.drugFlowList = [];
1233
             for (let i = 0; i < flowlist.length; i++) {
1242
             for (let i = 0; i < flowlist.length; i++) {
1305
           if (val.is_sys == 1) {
1314
           if (val.is_sys == 1) {
1306
             this.drugDialogVisible = true;
1315
             this.drugDialogVisible = true;
1307
           }
1316
           }
1308
-          if (val.is_sys == 0 || val.is_sys == 12) {
1317
+          if (val.is_sys == 0 || val.is_sys == 12 || val.is_sys == 5) {
1309
             this.drugDialogVisibleTwo = true;
1318
             this.drugDialogVisibleTwo = true;
1310
           }
1319
           }
1311
           var userListOne = response.data.data.outList;
1320
           var userListOne = response.data.data.outList;

+ 9 - 1
src/xt_pages/stock/drugs/drugStockOutOrderEdit.vue View File

626
         this.$message.error("调拨出库数据不能新增!");
626
         this.$message.error("调拨出库数据不能新增!");
627
         return;
627
         return;
628
       }
628
       }
629
+      if (parseInt(this.$route.query.is_sys) == 5) {
630
+        this.$message.error("结算出库数据不能新增!");
631
+        return;
632
+      }
629
       if (row.supply_cancel_out_id > 0) {
633
       if (row.supply_cancel_out_id > 0) {
630
         this.$message.error("采购出库数据不能新增!");
634
         this.$message.error("采购出库数据不能新增!");
631
         return;
635
         return;
667
         this.$message.error("调拨出库数据不能删除!");
671
         this.$message.error("调拨出库数据不能删除!");
668
         return;
672
         return;
669
       }
673
       }
674
+      if (parseInt(this.$route.query.is_sys) == 5) {
675
+        this.$message.error("结算出库数据不能删除!");
676
+        return;
677
+      }
670
      if(parseInt(this.$route.query.is_check) == 1){
678
      if(parseInt(this.$route.query.is_check) == 1){
671
         this.$message.error("已审核的单据不能删除!")
679
         this.$message.error("已审核的单据不能删除!")
672
         return false
680
         return false
1294
     if (sys == 1) {
1302
     if (sys == 1) {
1295
       this.drug_show = true;
1303
       this.drug_show = true;
1296
     }
1304
     }
1297
-    if (sys == 12) {
1305
+    if (sys == 12 || sys==5) {
1298
       this.drug_show = true;
1306
       this.drug_show = true;
1299
     }
1307
     }
1300
     if (parseInt(this.$route.query.supply_cancel_out_id) > 0 || parseInt(this.$route.query.is_check) == 1) {
1308
     if (parseInt(this.$route.query.supply_cancel_out_id) > 0 || parseInt(this.$route.query.is_check) == 1) {

+ 17 - 4
src/xt_pages/stock/stockOutOrder.vue View File

177
             <span v-if="scope.row.is_sys == 1">自动出库</span>
177
             <span v-if="scope.row.is_sys == 1">自动出库</span>
178
             <span v-if="scope.row.is_sys == 0">手动出库</span>
178
             <span v-if="scope.row.is_sys == 0">手动出库</span>
179
             <span v-if="scope.row.is_sys == 12">调拨出库</span>
179
             <span v-if="scope.row.is_sys == 12">调拨出库</span>
180
+            <span v-if="scope.row.is_sys == 5">结算出库</span>
180
           </template>
181
           </template>
181
         </el-table-column>
182
         </el-table-column>
182
 
183
 
232
         :total="total"
233
         :total="total"
233
       >
234
       >
234
       </el-pagination>
235
       </el-pagination>
236
+
237
+
235
       <!--  详情 -->
238
       <!--  详情 -->
236
       <div v-show="tableShow" style="margin-top: 10px">
239
       <div v-show="tableShow" style="margin-top: 10px">
237
         <el-table
240
         <el-table
412
               <span
415
               <span
413
                 style="color: #589ff8"
416
                 style="color: #589ff8"
414
                 @click="GetOrderDetailById(scope.row)"
417
                 @click="GetOrderDetailById(scope.row)"
415
-                >使用明细</span
418
+                >使用明细222</span
416
               >
419
               >
417
             </template>
420
             </template>
418
           </el-table-column>
421
           </el-table-column>
1043
         { id: 1, name: "手动出库" },
1046
         { id: 1, name: "手动出库" },
1044
         { id: 2, name: "自动出库" },
1047
         { id: 2, name: "自动出库" },
1045
         { id: 3, name: "调拨出库" },
1048
         { id: 3, name: "调拨出库" },
1049
+        { id: 5, name:"结算出库"  }
1046
       ],
1050
       ],
1047
       check_type:0,
1051
       check_type:0,
1048
       checkList:[
1052
       checkList:[
1265
         this.$message.error("调拨出库数据不能删除!");
1269
         this.$message.error("调拨出库数据不能删除!");
1266
         return false;
1270
         return false;
1267
       }
1271
       }
1272
+     if (row.is_sys == 5) {
1273
+        this.$message.error("结算出库数据不能删除!");
1274
+        return false;
1275
+      }
1268
       if (row.supply_cancel_out_id > 0) {
1276
       if (row.supply_cancel_out_id > 0) {
1269
         this.$message.error("采购出库数据不能删除!");
1277
         this.$message.error("采购出库数据不能删除!");
1270
         return false;
1278
         return false;
1339
       const ids = [];
1347
       const ids = [];
1340
       const idOne = [];
1348
       const idOne = [];
1341
       for (let i = 0; i < this.selectedTableData.length; i++) {
1349
       for (let i = 0; i < this.selectedTableData.length; i++) {
1350
+         
1342
         if(this.selectedTableData[i].is_check == 1){
1351
         if(this.selectedTableData[i].is_check == 1){
1343
           this.$message.error("已审核单据不能删除!")
1352
           this.$message.error("已审核单据不能删除!")
1344
           return false
1353
           return false
1347
           this.$message.error("自动出库数据不能删除!");
1356
           this.$message.error("自动出库数据不能删除!");
1348
           return false;
1357
           return false;
1349
         }
1358
         }
1359
+        if (this.selectedTableData[i].is_sys == 5) {
1360
+          this.$message.error("结算出库数据不能删除!");
1361
+          return false;
1362
+        }
1350
         if (this.selectedTableData[i].is_sys == 12) {
1363
         if (this.selectedTableData[i].is_sys == 12) {
1351
           this.$message.error("调拨出库数据不能删除!");
1364
           this.$message.error("调拨出库数据不能删除!");
1352
           return false;
1365
           return false;
1399
     },
1412
     },
1400
 
1413
 
1401
     handleSearch(val) {
1414
     handleSearch(val) {
1402
-      console.log("val322332232332i",val)
1415
+    
1403
       this.is_sys = val.is_sys;
1416
       this.is_sys = val.is_sys;
1404
       this.tableList = [];
1417
       this.tableList = [];
1405
       this.editdialogVisibleThree = false;
1418
       this.editdialogVisibleThree = false;
1963
             }
1976
             }
1964
             
1977
             
1965
           }
1978
           }
1966
-          console.log("user_list23322323232323",this.userList)
1979
+         
1967
           this.userList.push({
1980
           this.userList.push({
1968
             is_total: 1,
1981
             is_total: 1,
1969
             total: total,
1982
             total: total,
1971
           if (val.is_sys == 1) {
1984
           if (val.is_sys == 1) {
1972
             this.editdialogVisibleThree = true;
1985
             this.editdialogVisibleThree = true;
1973
           }
1986
           }
1974
-          if (val.is_sys == 0) {
1987
+          if (val.is_sys == 0 || val.is_sys == 5) {
1975
             this.editdialogVisibleTwo = true;
1988
             this.editdialogVisibleTwo = true;
1976
           }
1989
           }
1977
           }
1990
           }

+ 8 - 0
src/xt_pages/stock/stockOutOrderEdit.vue View File

481
         return name;
481
         return name;
482
       },
482
       },
483
       handleEdit: function(index, row) {
483
       handleEdit: function(index, row) {
484
+      if(parseInt(this.$route.query.is_sys) == 5){
485
+         this.$message.error("结算出库数据不能新增!")
486
+          return
487
+       }
484
        if(parseInt(this.$route.query.is_sys) == 12){
488
        if(parseInt(this.$route.query.is_sys) == 12){
485
          this.$message.error("调拨出库数据不能新增!")
489
          this.$message.error("调拨出库数据不能新增!")
486
           return
490
           return
519
        if(parseInt(this.$route.query.is_sys) == 12){
523
        if(parseInt(this.$route.query.is_sys) == 12){
520
          this.$message.error("调拨出库数据不能删除!")
524
          this.$message.error("调拨出库数据不能删除!")
521
           return
525
           return
526
+       }
527
+       if(parseInt(this.$route.query.is_sys) == 5){
528
+         this.$message.error("结算出库数据不能删除!")
529
+          return
522
        }
530
        }
523
         if(row.supply_cancel_out_id >0){
531
         if(row.supply_cancel_out_id >0){
524
           this.$message.error("采购出库数据不能删除!")
532
           this.$message.error("采购出库数据不能删除!")