sale-client 3.4.160 → 3.4.162

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 (52) hide show
  1. package/package.json +1 -1
  2. package/src/filiale/fugu/revenue/base/leftview/MixPriceInfo.vue +60 -0
  3. package/src/filiale/fugu/{HandManager.vue → revenue/machineHandManage/machineHand.vue} +434 -383
  4. package/src/filiale/fugu/sale.js +1 -1
  5. package/src/sale.js +1075 -1075
  6. package/examples/CalculateGasUsage/App.vue +0 -43
  7. package/examples/CalculateGasUsage/TestData.js +0 -448
  8. package/examples/CalculateGasUsage/comp.js +0 -376
  9. package/examples/CalculateGasUsage/index.html +0 -17
  10. package/examples/CalculateGasUsage/main.js +0 -12
  11. package/examples/ParamSet/App.vue +0 -39
  12. package/examples/ParamSet/comp.js +0 -100
  13. package/examples/ParamSet/index.html +0 -18
  14. package/examples/ParamSet/main.js +0 -12
  15. package/examples/ReadCard/App.vue +0 -19
  16. package/examples/ReadCard/index.html +0 -11
  17. package/examples/ReadCard/main.js +0 -11
  18. package/examples/deduction/App.vue +0 -42
  19. package/examples/deduction/TestData.js +0 -448
  20. package/examples/deduction/comp.js +0 -58
  21. package/examples/deduction/index.html +0 -17
  22. package/examples/deduction/main.js +0 -12
  23. package/examples/mergeUser/App.vue +0 -61
  24. package/examples/mergeUser/TestData.js +0 -448
  25. package/examples/mergeUser/comp.js +0 -206
  26. package/examples/mergeUser/index.html +0 -17
  27. package/examples/mergeUser/main.js +0 -12
  28. package/examples/meterBook/App.vue +0 -78
  29. package/examples/meterBook/TestData.js +0 -448
  30. package/examples/meterBook/comp.js +0 -450
  31. package/examples/meterBook/index.html +0 -18
  32. package/examples/meterBook/main.js +0 -12
  33. package/examples/meterBook(filesBox)/App.vue +0 -78
  34. package/examples/meterBook(filesBox)/TestData.js +0 -448
  35. package/examples/meterBook(filesBox)/comp.js +0 -402
  36. package/examples/meterBook(filesBox)/index.html +0 -18
  37. package/examples/meterBook(filesBox)/main.js +0 -12
  38. package/examples/showAdd/App.vue +0 -40
  39. package/examples/showAdd/TestData.js +0 -448
  40. package/examples/showAdd/comp.js +0 -263
  41. package/examples/showAdd/index.html +0 -17
  42. package/examples/showAdd/main.js +0 -12
  43. package/examples/showAddHtml/App.vue +0 -40
  44. package/examples/showAddHtml/comp.js +0 -108
  45. package/examples/showAddHtml/index.html +0 -33
  46. package/examples/showAddHtml/main.js +0 -13
  47. package/examples/showAddPrint/App.vue +0 -45
  48. package/examples/showAddPrint/comp.js +0 -106
  49. package/examples/showAddPrint/index.html +0 -33
  50. package/examples/showAddPrint/main.js +0 -13
  51. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  52. package/gradle/wrapper/gradle-wrapper.properties +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.160",
3
+ "version": "3.4.162",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,60 @@
1
+ <template>
2
+ <!--<partial-view v-ref:pv>-->
3
+ <div class="auto">
4
+ <div id="stair" class="panel panel-info auto;" style="height:auto">
5
+ <div class="panel-heading" style="height: 35px">
6
+ <h4 style="margin-top: auto">气价信息</h4>
7
+ </div>
8
+ <div class="auto info-content" style="height:auto">
9
+ <div class="row">
10
+ <label class = "col-sm-5 ">当前价格:</label>
11
+ <span class = "col-sm-7">{{model.f_price}}</span>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </div>
16
+
17
+ <!--</partial-view>-->
18
+ </template>
19
+
20
+ <script>
21
+ import co from 'co'
22
+ import Vue from 'vue'
23
+ import {HttpResetClass} from 'vue-client'
24
+
25
+ let getPriceGen = function * (self) {
26
+ console.log('看看拿到的data', self.data.f_user_id)
27
+
28
+ let http = new HttpResetClass()
29
+ let getPrice = yield http.load('POST', 'rs/sql/singleTable_OrderBy', {data: {items: '*',
30
+ tablename: 't_detailprice',
31
+ condition: `f_stairprice_id = (select id from t_stairprice where f_price_id = '${self.data.f_price_id}' and
32
+ f_filialeid = '${Vue.$login.f.orgid}' and getdate()>=f_perform_date and getdate()<=f_end_date)`,
33
+ orderitem: 'id'}}, {resolveMsg: null, rejectMsg: null})
34
+ self.model.f_price = getPrice.data[0].f_price
35
+ }
36
+
37
+ export default {
38
+ title: '表具使用情况',
39
+ props: ['data'],
40
+ data () {
41
+ return {
42
+ model: {
43
+ f_price: 0
44
+ }
45
+ }
46
+ },
47
+ ready () {
48
+ co(getPriceGen(this))
49
+ },
50
+ watch: {
51
+ 'data' () {
52
+ co(getPriceGen(this))
53
+ }
54
+ }
55
+ }
56
+ </script>
57
+
58
+ <style scoped>
59
+
60
+ </style>