seimin месяцев назад: 6
Родитель
Сommit
5d28b9ab42

+ 1 - 3
src/app/components/incidentManagement/incident-handle-order/incident-handle-order.component.ts

@@ -171,13 +171,11 @@ export class IncidentHandleOrderComponent implements OnInit {
171 171
     let postData:any = {
172 172
       consumable: {
173 173
         name: keyword,
174
+        showZero: true,
174 175
       },
175 176
       idx: 0,
176 177
       sum: 20,
177 178
     };
178
-    if(this.itsmZeroStock.value == 1){
179
-      postData.consumable.showZero = true;
180
-		}
181 179
     if(this.itsmParentConsumable.value == 1){
182 180
       postData.consumable.upHosId = this.hosId;
183 181
 		}else{