sale-client 3.6.523 → 3.6.525

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.
@@ -1,2 +1,2 @@
1
- #Thu Apr 10 10:42:44 CST 2025
1
+ #Fri Apr 18 15:04:23 CST 2025
2
2
  gradle.version=5.2.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.523",
3
+ "version": "3.6.525",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -36,6 +36,7 @@
36
36
  </v-select>
37
37
  </div>
38
38
  <div style="float: right">
39
+ <button class="button_search" @click="$parent.$parent.resetStatus()">认证重置</button>
39
40
  <button class="button_search" @click="search()">查 询</button>
40
41
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
41
42
  <export-excel :data="$parent.$parent.getCondition"
@@ -59,7 +60,7 @@
59
60
  <datepicker id="f_operate_datestarthate" placeholder="开始日期"
60
61
  v-model="model.f_operate_datestarthate"
61
62
  :value.sync="model.f_operate_datestarthate"
62
- format="yyyy-MM-dd HH:mm:ss"
63
+ format="yyyy-MM-dd 00:00:00"
63
64
  condition="f_operate_date >= '{}'"
64
65
  style="width:60%">
65
66
  </datepicker>
@@ -69,7 +70,7 @@
69
70
  <datepicker id="f_operate_dateendDate" placeholder="结束日期"
70
71
  v-model="model.f_operate_dateendDate"
71
72
  :value.sync="model.f_operate_dateendDate"
72
- format="yyyy-MM-dd HH:mm:ss"
73
+ format="yyyy-MM-dd 23:59:59"
73
74
  condition=" f_operate_date <= '{}'"
74
75
  style="width:60%">
75
76
  </datepicker>
@@ -263,6 +264,7 @@
263
264
  <script>
264
265
 
265
266
  import {PagedList} from 'vue-client'
267
+ import axios from "axios";
266
268
 
267
269
  export default {
268
270
  title: '发票管理',
@@ -326,6 +328,8 @@ export default {
326
328
  },
327
329
  ready () {
328
330
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
331
+ this.$refs.paged.$refs.cri.model.f_operate_datestarthate = this.$login.toStandardDateString() + ' 00:00:00'
332
+ this.$refs.paged.$refs.cri.model.f_operate_dateendDate = this.$login.toStandardDateString() + ' 23:59:59'
329
333
  },
330
334
  methods: {
331
335
  getotherfooter () {
@@ -351,6 +355,17 @@ export default {
351
355
  search () {
352
356
  this.$refs.paged.$refs.cri.search()
353
357
  },
358
+ resetStatus () {
359
+ axios.post('/invoice/rs/logic/resetStatus', {}, {
360
+ resolveMsg: null,
361
+ rejectMsg: '发票状态重置失败!'
362
+ }).then(res => {
363
+ this.$showAlert('2日内因未认证导致开票失败的记录状态已重置!', 'success', 5000)
364
+ }).catch(error => {
365
+ this.$showAlert('操作失败!', 'error', 5000)
366
+ console.error('>>> 发票状态重置失败:', error)
367
+ })
368
+ },
354
369
  selfSearch (args) {
355
370
  if (!this.orgCondtionStr) {
356
371
  args.condition = `${args.condition}` + ` and s.f_orgid = '${this.$login.f.orgid}'`
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  <div class="col-sm-6 form-group" style="padding-right: 5px;">
17
17
  <label class=" font_normal_body">厂&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;家&nbsp;</label>
18
- <input type="text" class="input_search" style="width:60%" v-model="row.f_manufactor"
18
+ <input type="text" class="input_search" style="width:60%" v-model="row.f_brand"
19
19
  placeholder='厂家' v-next-el="{id: $index+'brand'}">
20
20
  </div>
21
21
  </div>
@@ -37,8 +37,8 @@
37
37
  <div class="row auto" style="margin-left: 10px;">
38
38
  <div class="col-sm-6 form-group" style="padding-right: 5px;">
39
39
  <label class="font_normal_body">&nbsp;安&nbsp;装&nbsp;人&nbsp;</label>
40
- <input type="text" class="input_search" style="width:60%" v-model="row.f_instaler_person"
41
- placeholder='安装人' v-next-el="{id: $index+'f_instaler_person'}" :id="$index+'brand'">
40
+ <input type="text" class="input_search" style="width:60%" v-model="row.f_input_person"
41
+ placeholder='安装人' v-next-el="{id: $index+'f_input_person'}" :id="$index+'brand'">
42
42
  </div>
43
43
  <div class="col-sm-6 form-group" style="padding-right: 5px;">
44
44
  <label class="font_normal_body">生产日期</label>
@@ -25,7 +25,7 @@
25
25
  </div>
26
26
  <div class="col-sm-6 form-group" style="padding-right: 5px;">
27
27
  <label class="font_normal_body">安装人&nbsp;&nbsp;&nbsp;</label>
28
- <input type="text" class="input_search" style="width:60%" v-model="row.f_instaler_person" placeholder='安装人' v-next-el="{id: $index+'devicesmodel'}" :id="$index+'brand'">
28
+ <input type="text" class="input_search" style="width:60%" v-model="row.f_input_person" placeholder='安装人' v-next-el="{id: $index+'devicesmodel'}" :id="$index+'brand'">
29
29
  </div>
30
30
 
31
31
  </div>