apply-clients 3.5.4-8 → 3.5.4-80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/build/dev-server.js +6 -2
  2. package/package.json +2 -2
  3. package/src/App.vue +4 -4
  4. package/src/apply.js +2 -3
  5. package/src/applyAndroid.js +2 -0
  6. package/src/assets//344/270/213/350/275/275.png +0 -0
  7. package/src/components/android/AppCheckTakePic.vue +168 -0
  8. package/src/components/android/Process/AppServiceControl.vue +4 -0
  9. package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
  10. package/src/components/image/dxf.png +0 -0
  11. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -1
  12. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  13. package/src/components/product/MaterialsManage/MaterialsBase.vue +5 -1
  14. package/src/components/product/MaterialsManage/MaterialsManage.vue +2 -2
  15. package/src/components/product/PcZhihuanManagement.vue +160 -0
  16. package/src/components/product/Process/ExplorationSelect.vue +4 -1
  17. package/src/components/product/Process/ExplorationUser.vue +1 -0
  18. package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
  19. package/src/components/product/ServiceView.vue +22 -1
  20. package/src/components/product/Supervisory/SupervisoryControl.vue +1 -0
  21. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
  22. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +823 -0
  23. package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
  24. package/src/filiale/baiyin/android.js +8 -0
  25. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -0
  26. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
  27. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -625
  28. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
  29. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
  30. package/src/filiale/fugou/android/AppServiceControl.vue +38 -5
  31. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
  32. package/src/filiale/fugou/android.js +7 -1
  33. package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
  34. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -0
  35. package/src/filiale/fugou/pc/InstallationDetails.vue +54 -43
  36. package/src/filiale/fugou/pc/ServiceControl.vue +125 -379
  37. package/src/filiale/fugou/pc/ServiceView.vue +941 -0
  38. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -0
  39. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
  40. package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
  41. package/src/filiale/fugou/pc.js +13 -7
  42. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -481
  43. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
  44. package/src/filiale/gongyi/android/AppInstallationDetails.vue +15 -10
  45. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
  46. package/src/filiale/gongyi/android/AppSign.vue +16 -3
  47. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
  48. package/src/filiale/gongyi/android.js +3 -0
  49. package/src/filiale/gongyi/pc/ApplyUpload.vue +31 -39
  50. package/src/filiale/gongyi/pc/PcAddLogs.vue +12 -4
  51. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
  52. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
  53. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +1 -1
  54. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
  55. package/src/filiale/gongyi/pc/addMaterialScience.vue +43 -7
  56. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
  57. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
  58. package/src/filiale/gongyi/pc.js +6 -1
  59. package/src/filiale/hongda/pc/SupervisoryList.vue +13 -0
  60. package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
  61. package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
  62. package/src/filiale/jinhuang/pc.js +7 -0
  63. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
  64. package/src/filiale/qianneng/android/AppExplorationUser.vue +490 -490
  65. package/src/filiale/qianneng/android/AppInstallationDetails.vue +541 -541
  66. package/src/filiale/qianneng/android.js +15 -14
  67. package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
  68. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +704 -704
  69. package/src/filiale/qianneng/pc/Applydetail.vue +378 -383
  70. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  71. package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -587
  72. package/src/filiale/qianneng/pc/ServiceControl.vue +1384 -1384
  73. package/src/filiale/qianneng/pc/printactivatecard.vue +311 -311
  74. package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
  75. package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
  76. package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
  77. package/src/filiale/shexian/android/AppTakePic.vue +15 -55
  78. package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
  79. package/src/filiale/siyangRH/pc/ApplyUpload.vue +324 -324
  80. package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
  81. package/src/filiale/siyangRH/pc.js +1 -0
  82. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -511
  83. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -609
  84. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
  85. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +956 -961
  86. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1648
  87. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
  88. package/src/filiale/yangchunboneng/android/AppUpload.vue +78 -9
  89. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +31 -19
  90. package/src/filiale/yangchunboneng/android.js +1 -1
  91. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +235 -218
  92. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -508
  93. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
  94. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -1871
  95. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
  96. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +69 -14
  97. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
  98. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
  99. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
  100. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
  101. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -960
  102. package/src/filiale/yangchunboneng/pc.js +7 -1
  103. package/src/main.js +1 -1
@@ -14,12 +14,13 @@
14
14
  <th class="textNoLineBreak">序号</th>
15
15
  <th class="textNoLineBreak">材料名称</th>
16
16
  <th class="textNoLineBreak">材料型号</th>
17
+ <th class="textNoLineBreak">材料编码</th>
17
18
  <th class="textNoLineBreak">材料单位</th>
18
19
  <th class="textNoLineBreak">材料数量</th>
19
20
  <th class="textNoLineBreak">使用数量</th>
20
21
  <th class="textNoLineBreak">退库数量</th>
21
22
  <th class="textNoLineBreak">
22
- <button class="button_new button_spacing" type="button" @click="$parent.$parent.openMaterialModal()">添加</button>
23
+ <button v-if="$parent.$parent.mark === 0" class="button_new button_spacing" type="button" @click="$parent.$parent.openMaterialModal()">添加</button>
23
24
  <button type="button" class="btn btn-info head-but" v-if="$parent.$parent.mark === 0"
24
25
  @click="$parent.$parent.showFile = !$parent.$parent.showFile">导入</button>
25
26
  <a type="button" class="btn btn-info head-but" v-if="$parent.$parent.mark === 0"
@@ -38,6 +39,9 @@
38
39
  <td style="text-align: center;">
39
40
  <nobr>{{row.f_material_style}}</nobr>
40
41
  </td>
42
+ <td style="text-align: center;">
43
+ <nobr>{{row.f_material_code}}</nobr>
44
+ </td>
41
45
  <td style="text-align: center;">
42
46
  <nobr>{{row.f_material_unit}}</nobr>
43
47
  </td>
@@ -51,8 +55,8 @@
51
55
  <nobr>{{row. f_back_number}}</nobr>
52
56
  </td>
53
57
  <td style="text-align: center;">
54
- <button type="button" class="button_search button_spacing" @click="$parent.$parent.updateMaterial($index,row)">修改</button>
55
- <button type="button" class="button_delete button_spacing" @click="$parent.$parent.deleteMaterial(row)">删除</button>
58
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_search button_spacing" @click="$parent.$parent.updateMaterial($index,row)">修改</button>
59
+ <button v-if="$parent.$parent.mark === 0" type="button" class="button_delete button_spacing" @click="$parent.$parent.deleteMaterial(row)">删除</button>
56
60
  </td>
57
61
  </tr>
58
62
  </template>
@@ -93,7 +97,7 @@
93
97
  :value.sync="item.material"
94
98
  v-model="item.material"
95
99
  :options="meterialOptions"
96
- :disable="mark === 1"
100
+ :disable="mark===1"
97
101
  @change="modifyOtherValue(i)"
98
102
  :valueSingle="true"></input-select>
99
103
  </div>
@@ -103,6 +107,7 @@
103
107
  <div class="col-sm-8">
104
108
  <input class="form-control input_view" style="" type="text"
105
109
  placeholder="材料名称"
110
+ :readonly="enable"
106
111
  v-model="item.f_material_name"
107
112
  :value="item.f_material_name"
108
113
  />
@@ -113,16 +118,29 @@
113
118
  <div class="col-sm-8">
114
119
  <input class="form-control input_view" style="" type="text"
115
120
  placeholder="材料型号"
121
+ :readonly="enable"
116
122
  v-model="item.f_material_style"
117
123
  :value="item.f_material_style"
118
124
  />
119
125
  </div>
120
126
  </div>
127
+ <div class="form-group col-sm-6" :class="[item.f_material_code ? '' : 'has-error']">
128
+ <label class="col-sm-4 control-label">材料编码:</label>
129
+ <div class="col-sm-8">
130
+ <input class="form-control input_view" style="" type="text"
131
+ placeholder="材料编码"
132
+ :readonly="enable"
133
+ v-model="item.f_material_code"
134
+ :value="item.f_material_code"
135
+ />
136
+ </div>
137
+ </div>
121
138
  <div class="form-group col-sm-6" :class="[item.f_material_unit ? '' : 'has-error']">
122
139
  <label class="col-sm-4 control-label">材料单位:</label>
123
140
  <div class="col-sm-8">
124
141
  <input class="form-control input_view" style="" type="text"
125
142
  placeholder="材料单位"
143
+ :readonly="enable"
126
144
  v-model="item.f_material_unit"
127
145
  :value="item.f_material_unit"
128
146
  />
@@ -143,6 +161,7 @@
143
161
  <div class="col-sm-8">
144
162
  <input class="form-control input_view" style="" type="number"
145
163
  placeholder="使用数量"
164
+ :readonly="enable"
146
165
  v-model="item.f_use_number"
147
166
  :value="item.f_use_number"
148
167
  />
@@ -155,6 +174,7 @@
155
174
  <input class="form-control input_view" style="" type="number"
156
175
  placeholder="退库数量"
157
176
  v-model="item.f_back_number"
177
+ :readonly="enable"
158
178
  :value.sync="item.f_back_number"
159
179
  />
160
180
  </div>
@@ -165,6 +185,7 @@
165
185
  <input class="form-control input_view" style=""
166
186
  placeholder="材料标识"
167
187
  v-model="item.f_material_code"
188
+ :readonly="enable"
168
189
  :value.sync="item.f_material_code"
169
190
  />
170
191
  </div>
@@ -199,6 +220,7 @@
199
220
  },
200
221
  data () {
201
222
  return {
223
+ enable:false,
202
224
  showMaterial: false,
203
225
  showFile: false,
204
226
  Rematerials:[
@@ -248,6 +270,9 @@
248
270
  },
249
271
  ready(){
250
272
  this.getOnetoManyData()
273
+ if(this.selectdata.defname==="材料用量审核"){
274
+ this.enable = true
275
+ }
251
276
  },
252
277
  methods: {
253
278
  ReturnInventory(row) {
@@ -357,7 +382,7 @@
357
382
 
358
383
  this.meterialOptions = res.data.map(item => {
359
384
  return {
360
- 'label': `${item.f_material_name}--${item.f_material_style}--${item.f_material_unit}--${item.f_material_code}`,
385
+ 'label': `${item.parname}-${item.f_material_name}-${item.f_material_style}`,
361
386
  'value': item
362
387
  }
363
388
  })
@@ -379,6 +404,17 @@
379
404
  async addMaterial () {
380
405
  console.log("登录信息:",this.$login.f)
381
406
  this.title = '新增'
407
+ //自动计算退库数量
408
+ for (let i = 0; i < this.materials.length; i++) {
409
+ if(this.materials[i].f_material_number===''||this.materials[i].f_material_number==null){
410
+ this.$showAlert(`${this.materials[i].f_material_name}未填写数量`, 'warning', 3000)
411
+ return
412
+ }
413
+ if(this.materials[i].f_use_number===''||this.materials[i].f_use_number==null){
414
+ this.materials[i].f_use_number=0
415
+ }
416
+ this.materials[i].f_back_number =Number(this.materials[i].f_material_number)-Number(this.materials[i].f_use_number)
417
+ }
382
418
  let data = {
383
419
  f_process_id : this.selectdata.f_process_id,
384
420
  f_operator_id: this.$login.f.id,
@@ -438,8 +474,8 @@
438
474
  },
439
475
  async updateConfirm () {
440
476
  let data = this.row
441
- data.f_back_number = this.materials[0].f_back_number
442
- data.f_use_number = this.materials[0].f_use_number
477
+ data.f_use_number = this.materials[0].f_use_number==''?0:this.materials[0].f_use_number
478
+ data.f_back_number = Number(data.f_material_number)-Number(data.f_use_number)
443
479
  data.f_material_name = this.materials[0].f_material_name
444
480
  data.f_material_style = this.materials[0].f_material_style
445
481
  data.f_material_unit = this.materials[0].f_material_unit