manage-client 3.3.53 → 3.3.54

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.53",
3
+ "version": "3.3.54",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -155,7 +155,7 @@
155
155
  <v-select :value.sync="model.f_price_name"
156
156
  v-model="model.f_price_name"
157
157
  multiple
158
- :options="$parent.$parent.getPricenames"
158
+ :options="$parent.$parent.pricenames"
159
159
  condition="f_price_name in {}"
160
160
  ></v-select>
161
161
  </div>
@@ -963,8 +963,36 @@
963
963
  })
964
964
  },
965
965
  methods: {
966
- pricetypechanged(){
966
+ async pricetypechanged(){
967
967
  this.$refs.paged.$refs.cri.model.f_price_name = []
968
+ this.pricenames = []
969
+ if (this.$refs.paged.$refs.cri.model.pricetype) {
970
+ let http = new HttpResetClass()
971
+ let param = {
972
+ items: 'f_price_name',
973
+ tablename: 't_stairprice',
974
+ condition: `f_price_type = '${this.$refs.paged.$refs.cri.model.pricetype[0]}' and f_orgid = '${this.$login.f.orgid}'`,
975
+ orderitem: 'id'
976
+ }
977
+ var res = await http.load('POST', 'rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
978
+ let uniqueMap = {}
979
+ let arr = []
980
+ for (var i = 0; i < res.data.length; i++) {
981
+ let item = res.data[i];
982
+ if (!uniqueMap[item.f_price_name]) {
983
+ arr.push(item);
984
+ uniqueMap[item.f_price_name] = true;
985
+ }
986
+ }
987
+ console.log('arr',arr)
988
+ if (arr.length > 0) {
989
+ arr.forEach(row => {
990
+ this.pricenames.push({label: row.f_price_name,value: row.f_price_name})
991
+ })
992
+ } else {
993
+ this.pricenames.push({label: '全部', value: ''})
994
+ }
995
+ }
968
996
  },
969
997
  // 获取设备下拉选
970
998
  async getEquipment () {
@@ -1244,39 +1272,6 @@
1244
1272
  }
1245
1273
  return aaa
1246
1274
  },
1247
- getPricenames() {
1248
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1249
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1250
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1251
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1252
- if(this.$refs.paged.$refs.cri.model !==null) {
1253
- let rs = []
1254
- let priceArr = []
1255
- if ( pricetype.length >0) {
1256
- let params = {
1257
- f_price_type: pricetype[0],
1258
- filter: this.f_filialeid,
1259
- prices: this.prices
1260
- }
1261
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1262
- let temp = {}
1263
- temp.label = item.label
1264
- temp.value = item.value.f_price_name
1265
- priceArr.push(temp)
1266
- })
1267
- if(priceArr.length == 0 ){
1268
- rs= [{label: '全部', value: ''}]
1269
- }else{
1270
- rs = [ ...priceArr]
1271
- }
1272
- }
1273
- if (rs.length === 0) {
1274
- console.log('rs读出来是空')
1275
- this.$refs.paged.$refs.cri.model.f_price_name = ''
1276
- }
1277
- return rs
1278
- }
1279
- },
1280
1275
  getCondition() {
1281
1276
  return {
1282
1277
  startDate: this.$refs.paged.$refs.cri.model.startDate,
@@ -133,6 +133,20 @@
133
133
  <th>
134
134
  <nobr>地址</nobr>
135
135
  </th>
136
+
137
+ <th>
138
+ <nobr>奥枫个性化金额</nobr>
139
+ </th>
140
+ <th>
141
+ <nobr>奥枫补贴项金额</nobr>
142
+ </th>
143
+ <th>
144
+ <nobr>宜达个性化金额</nobr>
145
+ </th>
146
+ <th>
147
+ <nobr>宜达补贴项金额</nobr>
148
+ </th>
149
+
136
150
  <th>
137
151
  <nobr>与收费比对结果</nobr>
138
152
  </th>
@@ -163,6 +177,20 @@
163
177
  <td style="text-align: center;">
164
178
  <nobr>{{row.textfield_li9rszuo}}</nobr>
165
179
  </td>
180
+
181
+ <td style="text-align: center;">
182
+ <nobr>{{row.afgxhje}}</nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr>{{row.afbtxjec}}</nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <nobr>{{row.afbtxje}}</nobr>
189
+ </td>
190
+ <td style="text-align: center;">
191
+ <nobr>{{row.ydbtxje}}</nobr>
192
+ </td>
193
+
166
194
  <td style="text-align: center;">
167
195
  <nobr>{{row.matchedaofeng}}</nobr>
168
196
  </td>
@@ -223,7 +223,7 @@ export default{
223
223
  qnAqzzYsmx:{
224
224
  'title':'标题','createtimegmt':'发起时间','originator':'发起人','modifiedtimegmt':'验收时间','modifyuser':'验收人',
225
225
  'textfield_li9rszui':'用户编号','textfield_li9rszuj':'用户姓名',
226
- 'textfield_li9rszuo':'地址','matchedaofeng':'与收费比对结果'
226
+ 'textfield_li9rszuo':'地址','afgxhje':'奥枫个性化金额','afbtxje':'奥枫补贴项金额','ydgxhje':'宜达个性化金额','ydbtxje':'宜达补贴项金额','matchedaofeng':'与收费比对结果'
227
227
  },
228
228
  }
229
229