Pārlūkot izejas kodu

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

huangyw 3 gadus atpakaļ
vecāks
revīzija
dce706963a

+ 1 - 0
src/xt_pages/outpatientCharges/components/registerDialog.vue Parādīt failu

@@ -590,6 +590,7 @@
590 590
                   }).catch(() => {
591 591
                   })
592 592
                 } else {
593
+                  that.InsuplcAdmdvs = []
593 594
                   for(let i =0; i < response.data.data.info.output.insuinfo.length; i++){
594 595
                     that.InsuplcAdmdvs.push({
595 596
                       value:response.data.data.info.output.insuinfo[i].insuplc_admdvs,

+ 1 - 0
src/xt_pages/outpatientCharges/components/registerDialog9504.vue Parādīt failu

@@ -541,6 +541,7 @@
541 541
         let params = {
542 542
           'id_card_type': this.form.id_card_type,
543 543
           'admin_user_id':this.$store.getters.xt_user.user.id,
544
+          'certificates': this.form.certificates
544 545
 
545 546
         }
546 547
         this.read_loading = true

+ 2 - 0
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue Parādīt failu

@@ -1,6 +1,8 @@
1 1
 <template>
2 2
   <div id="statement-print" class="statement-print">
3 3
     <div class="statementTitle" v-if="info.fixmedins_code == 'H32092103007'">江苏省社会医疗保险医疗费用结算单</div>
4
+    <div class="statementTitle" v-if="info.fixmedins_code == 'H42138100547'">广水源生堂社会医疗保险医疗费用结算单</div>
5
+
4 6
     <div class="statementTitle" v-else>广东省社会医疗保险医疗费用结算单</div>
5 7
 
6 8
     <table class="statementTable" border="1">

+ 1 - 1
src/xt_pages/stock/detail/print.vue Parādīt failu

@@ -51,7 +51,7 @@
51 51
               <td style="line-height: 50px">
52 52
                 <span v-if="type == 1"> {{ item.warehousing_count }}</span>
53 53
                 <span v-if="type == 2"> 
54
-                  <span  v-if= "org_id == 3907 || org_id ==9919">{{getStockCount(item.good_id) }}</span>  
54
+                  <span  v-if= "org_id == 3907 || org_id == 9919 || org_id == 9583">{{getStockCount(item.good_id) }}</span>  
55 55
                   <span v-else>{{item.count}}</span>
56 56
                 </span>
57 57
                

+ 1 - 1
src/xt_pages/supply/components/addGoodOrder.vue Parādīt failu

@@ -187,7 +187,7 @@
187 187
     </el-table-column>
188 188
     <el-table-column label="生产厂家" align="center" width="200px">
189 189
         <template slot-scope="scope">
190
-         <el-select size="small" v-model="scope.row.supply_manufacturer" filterable placeholder="请选择厂家" :disabled="true">
190
+         <el-select size="small" v-model="scope.row.supply_manufacturer" filterable  :disabled="true">
191 191
                 <el-option
192 192
                   v-for="(option, index) in manufactuerList"
193 193
                   :key="index"

+ 9 - 3
src/xt_pages/supply/components/addPurchaseOrder.vue Parādīt failu

@@ -113,7 +113,7 @@
113 113
                   v-model="scope.row.name"
114 114
                   style="width: 160px"
115 115
                   filterable
116
-                  placeholder="请选择"
116
+                  placeholder="请选择商品"
117 117
                   @change="changeName"
118 118
                   @input="changeGoodName(scope.$index)"
119 119
                   :disabled="disabled"
@@ -138,6 +138,7 @@
138 138
                 v-model="scope.row.supply_type"
139 139
                 style="width: 120px"
140 140
                 :disabled="true"
141
+                 placeholder="商品类别"
141 142
               ></el-input>
142 143
               <div style="visibility: hidden">/</div>
143 144
             </template>
@@ -145,6 +146,7 @@
145 146
           <el-table-column label="规格&单位" align="center" width="200px">
146 147
             <template slot-scope="scope">
147 148
               <el-input
149
+                placeholder="规格&单位"
148 150
                 v-model="scope.row.supply_specification_name"
149 151
                 style="width: 150px"
150 152
                 :disabled="true"
@@ -197,6 +199,7 @@
197 199
               <el-form-item
198 200
                 :prop="'tableList.' + scope.$index + '.supply_count'"
199 201
                 :rules="tableRules.supply_count"
202
+                 placeholder="请输入数量"
200 203
               >
201 204
                 <el-input
202 205
                   v-model="scope.row.supply_count"
@@ -207,12 +210,13 @@
207 210
             </template>
208 211
           </el-table-column>
209 212
 
210
-          <el-table-column label="购货单价" align="center" width="120px">
213
+          <el-table-column label="购货单价" align="center" width="140px">
211 214
             <template slot-scope="scope">
212 215
               <el-input
213 216
                 v-model="scope.row.supply_price"
214 217
                 style="width: 80px"
215 218
                 :disabled="disabled"
219
+                 placeholder="请输入购货单价"
216 220
               ></el-input>
217 221
               <div style="visibility: hidden">/</div>
218 222
             </template>
@@ -230,7 +234,6 @@
230 234
                 size="small"
231 235
                 v-model="scope.row.supply_manufacturer"
232 236
                 filterable
233
-                placeholder="请选择生产厂家"
234 237
                 :disabled="true"
235 238
               >
236 239
                 <el-option
@@ -262,6 +265,7 @@
262 265
                 v-model="scope.row.supply_remake"
263 266
                 style="width: 160px"
264 267
                 :disabled="disabled"
268
+                placeholder="请输入备注"
265 269
               ></el-input>
266 270
               <div style="visibility: hidden">/</div>
267 271
             </template>
@@ -316,6 +320,7 @@
316 320
             style="width: 100px"
317 321
             v-model="rate_of_concession"
318 322
             @input="addressChange"
323
+            @placeholder="请输入优惠率"
319 324
           ></el-input
320 325
           >%</span
321 326
         >
@@ -324,6 +329,7 @@
324 329
           >优惠金额:<el-input
325 330
             style="width: 100px"
326 331
             v-model="discount_amount"
332
+            @placeholder="请输入优惠金额"
327 333
           ></el-input
328 334
         ></span>
329 335
       </div>

+ 3 - 2
src/xt_pages/supply/components/editGoodOrder.vue Parādīt failu

@@ -187,7 +187,7 @@
187 187
     </el-table-column>
188 188
     <el-table-column label="生产厂家" align="center" width="200px">
189 189
         <template slot-scope="scope">
190
-         <el-select size="small" v-model="scope.row.supply_manufacturer" filterable placeholder="请选择厂家" :disabled="true">
190
+         <el-select size="small" v-model="scope.row.supply_manufacturer" filterable  :disabled="true">
191 191
                 <el-option
192 192
                   v-for="(option, index) in manufactuerList"
193 193
                   :key="index"
@@ -837,7 +837,8 @@ getTimes(time) {
837 837
           this.$message.success("反审核成功!")
838 838
         }
839 839
         if(msg == 2){
840
-          this.$message.success("该单有自动出库或生成了退货单,反审核失败!")
840
+          this.$message.error("该单有自动出库或生成了退货单,反审核失败!")
841
+          
841 842
         }
842 843
 
843 844
         var purcaseOrder = response.data.data.purcaseOrder

+ 56 - 53
src/xt_pages/supply/components/editPurchaseOrder.vue Parādīt failu

@@ -137,36 +137,59 @@
137 137
                     v-for="(item, index) in tabList"
138 138
                     :key="index"
139 139
                     :label="item.supply_name"
140
-                    :value="item"
141
-                  >
142
-                                     
143
-                  </el-option>
144
-                                 
145
-                </el-select>
146
-                             
147
-              </el-form-item>
148
-                         
149
-            </template>
150
-                     
151
-          </el-table-column>
152
-           
153
-          <el-table-column align="center" width="150px">
154
-                       
155
-            <template slot="header" slot-scope="scope">
156
-                            <span>商品类别</span>            
157
-            </template>
158
-                       
159
-            <template slot-scope="scope">
160
-                           
161
-              <el-input
162
-                v-model="scope.row.supply_type"
163
-                style="width: 120px"
164
-                :disabled="true"
165
-              ></el-input>
166
-                         
167
-            </template>
168
-                     
169
-          </el-table-column>
140
+                    :value="item">
141
+                </el-option>
142
+             </el-select>
143
+           </el-form-item>
144
+        </template>
145
+    </el-table-column>
146
+    <el-table-column  align="center" width="150px">
147
+        <template slot="header" slot-scope="scope">
148
+            <span>商品类别</span>
149
+        </template>
150
+        <template slot-scope="scope">
151
+            <el-input v-model="scope.row.supply_type" style="width:120px" :disabled="true"></el-input>
152
+        </template>
153
+    </el-table-column>
154
+    <el-table-column label="规格&单位" align="center" width="200px">
155
+        <template slot-scope="scope">
156
+            <el-input v-model="scope.row.supply_specification_name" style="width:150px" :disabled="true"></el-input>
157
+        </template>
158
+    </el-table-column>
159
+     <el-table-column label="单位" align="center" width="120px">
160
+        <template slot="header" slot-scope="scope">
161
+            <span>单位<span style="color: red">*</span></span>
162
+        </template>
163
+        <template slot-scope="scope">
164
+          <el-form-item :prop="'tableList.' + scope.$index + '.supply_unit'" :rules='tableRules.supply_unit'>
165
+            <el-select v-model="scope.row.supply_unit" style="width:100px;" filterable placeholder="请选择"  :disabled="disabled">
166
+                    <el-option
167
+                        v-for="(item,index) in scope.row.unitList"
168
+                        :key="index"
169
+                        :label="item.name"
170
+                        :value="item.name">
171
+                    </el-option>
172
+             </el-select>
173
+          </el-form-item>  
174
+        </template>
175
+    </el-table-column>
176
+   
177
+  
178
+    <el-table-column label="可用库存" align="center" width="130px">
179
+        <template slot-scope="scope">
180
+            <el-input v-model="scope.row.supply_total" style="width:100px" :disabled="true"></el-input>
181
+        </template>
182
+    </el-table-column>
183
+    <el-table-column label="数量" align="center" width="120px">
184
+        <template slot="header" slot-scope="scope">
185
+            <span>数量<span style="color: red">*</span></span>
186
+        </template>
187
+        <template slot-scope="scope">
188
+          <el-form-item  :prop="'tableList.' + scope.$index + '.supply_count'" :rules='tableRules.supply_count'>
189
+             <el-input v-model="scope.row.supply_count" style="width:80px" :disabled="disabled" placeholder="请输入数量"></el-input>
190
+          </el-form-item>
191
+        </template>
192
+    </el-table-column>
170 193
 
171 194
           <el-table-column label="规格&单位" align="center" width="200px">
172 195
                        
@@ -275,29 +298,9 @@
275 298
                      
276 299
           </el-table-column>
277 300
 
278
-             <el-table-column label="购货金额" align="center" width="120px">
279
-                       
280
-            <template slot-scope="scope">
281
-                           
282
-              {{ calculate(scope.row.supply_count * scope.row.supply_price) }}  
283
-                       
284
-            </template>
285
-                     
286
-          </el-table-column>
287
-
288
-                   
289
-          <el-table-column label="生产厂家" align="center" width="200px">
290
-                       
291
-            <template slot-scope="scope">
292
-                           
293
-              <el-select
294
-                size="small"
295
-                v-model="scope.row.supply_manufacturer"
296
-                filterable
297
-                placeholder="请选择厂商"
298
-                :disabled="disabled"
299
-              >
300
-                               
301
+    <el-table-column label="生产厂家" align="center" width="200px">
302
+        <template slot-scope="scope">
303
+           <el-select size="small" v-model="scope.row.supply_manufacturer" filterable :disabled="true">
301 304
                 <el-option
302 305
                   v-for="(option, index) in manufactuerList"
303 306
                   :key="index"