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.
- package/package.json +1 -1
- package/src/filiale/fugu/revenue/base/leftview/MixPriceInfo.vue +60 -0
- package/src/filiale/fugu/{HandManager.vue → revenue/machineHandManage/machineHand.vue} +434 -383
- package/src/filiale/fugu/sale.js +1 -1
- package/src/sale.js +1075 -1075
- package/examples/CalculateGasUsage/App.vue +0 -43
- package/examples/CalculateGasUsage/TestData.js +0 -448
- package/examples/CalculateGasUsage/comp.js +0 -376
- package/examples/CalculateGasUsage/index.html +0 -17
- package/examples/CalculateGasUsage/main.js +0 -12
- package/examples/ParamSet/App.vue +0 -39
- package/examples/ParamSet/comp.js +0 -100
- package/examples/ParamSet/index.html +0 -18
- package/examples/ParamSet/main.js +0 -12
- package/examples/ReadCard/App.vue +0 -19
- package/examples/ReadCard/index.html +0 -11
- package/examples/ReadCard/main.js +0 -11
- package/examples/deduction/App.vue +0 -42
- package/examples/deduction/TestData.js +0 -448
- package/examples/deduction/comp.js +0 -58
- package/examples/deduction/index.html +0 -17
- package/examples/deduction/main.js +0 -12
- package/examples/mergeUser/App.vue +0 -61
- package/examples/mergeUser/TestData.js +0 -448
- package/examples/mergeUser/comp.js +0 -206
- package/examples/mergeUser/index.html +0 -17
- package/examples/mergeUser/main.js +0 -12
- package/examples/meterBook/App.vue +0 -78
- package/examples/meterBook/TestData.js +0 -448
- package/examples/meterBook/comp.js +0 -450
- package/examples/meterBook/index.html +0 -18
- package/examples/meterBook/main.js +0 -12
- package/examples/meterBook(filesBox)/App.vue +0 -78
- package/examples/meterBook(filesBox)/TestData.js +0 -448
- package/examples/meterBook(filesBox)/comp.js +0 -402
- package/examples/meterBook(filesBox)/index.html +0 -18
- package/examples/meterBook(filesBox)/main.js +0 -12
- package/examples/showAdd/App.vue +0 -40
- package/examples/showAdd/TestData.js +0 -448
- package/examples/showAdd/comp.js +0 -263
- package/examples/showAdd/index.html +0 -17
- package/examples/showAdd/main.js +0 -12
- package/examples/showAddHtml/App.vue +0 -40
- package/examples/showAddHtml/comp.js +0 -108
- package/examples/showAddHtml/index.html +0 -33
- package/examples/showAddHtml/main.js +0 -13
- package/examples/showAddPrint/App.vue +0 -45
- package/examples/showAddPrint/comp.js +0 -106
- package/examples/showAddPrint/index.html +0 -33
- package/examples/showAddPrint/main.js +0 -13
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +0 -5
package/package.json
CHANGED
|
@@ -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>
|