sale-client 4.2.70 → 4.2.72

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 (58) hide show
  1. package/package.json +1 -1
  2. package/src/components/FilesManage/FileUserFiles.vue +1 -1
  3. package/src/components/revenue/Common/EticketPrint.vue +2 -2
  4. package/src/components/revenue/HandManager/CardHand.vue +6 -6
  5. package/src/components/revenue/cardHandManage/cardDown.vue +6 -6
  6. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  7. package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -1
  8. package/src/filiale/alashan/FileUserFiles.vue +1 -1
  9. package/src/filiale/alashan/eticket/EticketPrint.vue +2 -2
  10. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -1
  11. package/src/filiale/bayan/FilesManage/FileUserFiles.vue +1 -1
  12. package/src/filiale/beifangshiye/FilesManage/FileUserFiles.vue +1 -1
  13. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -1
  14. package/src/filiale/dexin/FileUserFiles.vue +1 -1
  15. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -1
  16. package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +1 -1
  17. package/src/filiale/fugou/FileUserFiles.vue +1 -1
  18. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -1
  19. package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +1 -1
  20. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
  21. package/src/filiale/gehua/FileUserFiles.vue +1 -1
  22. package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +1 -1
  23. package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -1
  24. package/src/filiale/hantou/WebMeterBatchOperationValve.vue +1 -1
  25. package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1 -1
  26. package/src/filiale/huayin/FileUserFiles.vue +1 -1
  27. package/src/filiale/jingwei/FileUserFiles.vue +1 -1
  28. package/src/filiale/jingyang/EticketPrint.vue +2 -2
  29. package/src/filiale/jingyang/GovernmentSell.vue +1 -1
  30. package/src/filiale/jinhuang/WebHand.vue +10 -10
  31. package/src/filiale/jinhuang/cardsHand.vue +8 -8
  32. package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -1
  33. package/src/filiale/konggang/FileUserFiles.vue +1 -1
  34. package/src/filiale/macheng/EstimateManager.vue +1 -1
  35. package/src/filiale/macheng/FileUserFiles.vue +1 -1
  36. package/src/filiale/meihekou/FileUserFiles.vue +1 -1
  37. package/src/filiale/ningjin/FileUserFiles.vue +1 -1
  38. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
  39. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  40. package/src/filiale/qingjian/FileUserFiles.vue +1 -1
  41. package/src/filiale/rizhao/FileUserFiles.vue +1 -1
  42. package/src/filiale/rongcheng/FileUserFiles.vue +1 -1
  43. package/src/filiale/rongchuang/FilesManage/FileUserFiles.vue +1 -1
  44. package/src/filiale/shanggao/FileUserFiles.vue +1 -1
  45. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -1
  46. package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -1
  47. package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +1 -1
  48. package/src/filiale/shaoguan/Message/MessageList.vue +1 -1
  49. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -1
  50. package/src/filiale/wenxi/FileUserFiles.vue +1 -1
  51. package/src/filiale/wuan/FileUserFiles.vue +1 -1
  52. package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +1 -1
  53. package/src/filiale/yangchun/EticketPrint.vue +2 -2
  54. package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1 -1
  55. package/src/filiale/yuncheng/IndustryCommerceHand.vue +5 -0
  56. package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +38 -0
  57. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -1
  58. package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
@@ -1065,7 +1065,7 @@ let loadParamGem = async function (self) {
1065
1065
  }
1066
1066
  let self = this
1067
1067
  try {
1068
- await axios.post('api/af-revenue/logic/newSettleFileImport',
1068
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
1069
1069
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
1070
1070
  if (res.data) {
1071
1071
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -909,7 +909,7 @@ let loadParamGem = async function (self) {
909
909
  }
910
910
  let self = this
911
911
  try {
912
- await axios.post('api/af-revenue/logic/newSettleFileImport',
912
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
913
913
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
914
914
  if (res.data) {
915
915
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -815,7 +815,7 @@ let loadParamGem = async function (self) {
815
815
  }
816
816
  let self = this
817
817
  try {
818
- await axios.post('api/af-revenue/logic/newSettleFileImport',
818
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
819
819
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
820
820
  if (res.data) {
821
821
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -1029,7 +1029,7 @@ let loadParamGem = async function (self) {
1029
1029
  }
1030
1030
  let self = this
1031
1031
  try {
1032
- await axios.post('api/af-revenue/logic/newSettleFileImport',
1032
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
1033
1033
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
1034
1034
  if (res.data) {
1035
1035
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -920,7 +920,7 @@ let loadParamGem = async function (self) {
920
920
  }
921
921
  let self = this
922
922
  try {
923
- await axios.post('api/af-revenue/logic/newSettleFileImport',
923
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
924
924
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
925
925
  if (res.data) {
926
926
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -936,7 +936,7 @@ let loadParamGem = async function (self) {
936
936
  }
937
937
  let self = this
938
938
  try {
939
- await axios.post('api/af-revenue/logic/newSettleFileImport',
939
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
940
940
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
941
941
  if (res.data) {
942
942
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -443,7 +443,7 @@ import axios from 'axios'
443
443
  this.batchMeterShow = false
444
444
  let self = this
445
445
  try {
446
- await axios.post('api/af-revenue/logic/importData',
446
+ await this.$resetpost('api/af-revenue/logic/importData',
447
447
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
448
448
  if (res.data) {
449
449
  this.uploadCodeCondition = self.convertToIn(res.data.dataArr)
@@ -815,7 +815,7 @@ let loadParamGem = async function (self) {
815
815
  debugger
816
816
  let self = this
817
817
  try {
818
- await axios.post('api/af-revenue/logic/newSettleFileImport',
818
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
819
819
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
820
820
  if (res.data) {
821
821
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -472,7 +472,7 @@ export default {
472
472
  f_operator: this.$login.f.name
473
473
  }
474
474
  console.log('filepath=' + JSON.stringify(data))
475
- await axios.post('api/af-revenue/logic/importSms',
475
+ await this.$resetpost('api/af-revenue/logic/importSms',
476
476
  {data: data},
477
477
  // {onUploadProgress: (progressEvent)=> {
478
478
  // var percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total)
@@ -977,7 +977,7 @@ let loadParamGem = async function (self) {
977
977
  }
978
978
  let self = this
979
979
  try {
980
- await axios.post('api/af-revenue/logic/newSettleFileImport',
980
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
981
981
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
982
982
  if (res.data) {
983
983
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -964,7 +964,7 @@ let loadParamGem = async function (self) {
964
964
  }
965
965
  let self = this
966
966
  try {
967
- await axios.post('api/af-revenue/logic/newSettleFileImport',
967
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
968
968
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
969
969
  if (res.data) {
970
970
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -938,7 +938,7 @@ let loadParamGem = async function (self) {
938
938
  }
939
939
  let self = this
940
940
  try {
941
- await axios.post('api/af-revenue/logic/newSettleFileImport',
941
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
942
942
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
943
943
  if (res.data) {
944
944
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -442,7 +442,7 @@ import axios from 'axios'
442
442
  this.batchMeterShow = false
443
443
  let self = this
444
444
  try {
445
- await axios.post('api/af-revenue/logic/importData',
445
+ await this.$resetpost('api/af-revenue/logic/importData',
446
446
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
447
447
  if (res.data) {
448
448
  this.uploadCodeCondition = self.convertToIn(res.data.dataArr)
@@ -52,7 +52,7 @@ export default {
52
52
  async rushRedInvoice (data) {
53
53
  try {
54
54
  // 否则正常打票
55
- let result = await axios.post('api/af-invoice/logic/getInvoice', Object.assign(data, {invoice_type: 1}), {
55
+ let result = await this.$resetpost('api/af-invoice/logic/getInvoice', Object.assign(data, {invoice_type: 1}), {
56
56
  resolveMsg: null,
57
57
  rejectMsg: '发票冲红失败!!'
58
58
  })
@@ -75,7 +75,7 @@ export default {
75
75
  async openETicket (id, model, f_charge_type, invoice_type, retry, is_tax, handplanTableName) {
76
76
  console.log('>>> f_invoice_type', invoice_type)
77
77
  try {
78
- let result = await axios.post('api/af-invoice/logic/getInvoice', Object.assign({
78
+ let result = await this.$resetpost('api/af-invoice/logic/getInvoice', Object.assign({
79
79
  id,
80
80
  f_charge_type,
81
81
  retry,
@@ -1013,7 +1013,7 @@ let loadParamGem = async function (self) {
1013
1013
  }
1014
1014
  let self = this
1015
1015
  try {
1016
- await axios.post('api/af-revenue/logic/newSettleFileImport',
1016
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
1017
1017
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
1018
1018
  if (res.data) {
1019
1019
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -235,6 +235,9 @@
235
235
  <th>
236
236
  <nobr>用气量</nobr>
237
237
  </th>
238
+ <th>
239
+ <nobr>剩余气量</nobr>
240
+ </th>
238
241
  <th>
239
242
  <nobr>
240
243
  <data-order field="f_last_input_date" name="上次抄表录入日期"
@@ -326,6 +329,7 @@
326
329
  {{ row.f_tablebase }}
327
330
  </td>
328
331
  <td style="text-align: center;">{{ $parent.$parent.$parent.calculationBase(row) }}</td>
332
+ <td style="text-align: center;">{{ row.f_surplus_gas }}</td>
329
333
  <td style="text-align: center;">{{ row.f_last_input_date }}</td>
330
334
  <td style="text-align: center;">{{ row.f_hand_date }}</td>
331
335
  <td style="text-align: center;">
@@ -496,6 +500,7 @@ export default {
496
500
  'f_last_tablebase': '上期底数',
497
501
  'f_tablebase': '本期指数',
498
502
  'f_oughtamount': '应交气量',
503
+ 'f_surplus_gas': '剩余气量',
499
504
  'f_input_person': '录入人员',
500
505
  'f_meter_classify': '气表分类',
501
506
  'f_meter_brand': '气表品牌',
@@ -741,6 +741,7 @@
741
741
  // 兼容原有弹窗方式
742
742
  let id = row ? row.id : this.nopassId
743
743
  let reviewReason = reason !== undefined ? reason : this.reasonText
744
+ // 修改现有记录
744
745
  let handplan = {
745
746
  id: id,
746
747
  f_input_date: null,
@@ -755,6 +756,43 @@
755
756
  resolveMsg: null,
756
757
  rejectMsg: '未通过,抄表数据返回未抄表保存出错!!!'
757
758
  })
759
+
760
+ // 先查询这条记录的完整数据
761
+ let originalData = null
762
+ if (id) {
763
+ try {
764
+ let result = await this.$resetpost('api/af-revenue/sql/saleSingleTable', {
765
+ data: {
766
+ tablename: 't_yccustom_handplan',
767
+ condition: `id = '${id}'`
768
+ }
769
+ }, {resolveMsg: null, rejectMsg: '查询原记录失败'})
770
+ if (result.data && result.data.length > 0) {
771
+ originalData = result.data[0]
772
+ }
773
+ } catch (error) {
774
+ console.error('查询原记录失败:', error)
775
+ }
776
+ }
777
+
778
+ // 插入新记录(不传id,让数据库自动生成)
779
+ let newHandplan = {
780
+ f_meter_state: '未通过',
781
+ }
782
+ // 复制原记录的其他字段到新记录
783
+ if (originalData) {
784
+ Object.keys(originalData).forEach(key => {
785
+ if (!newHandplan.hasOwnProperty(key) && key !== 'id') {
786
+ newHandplan[key] = originalData[key]
787
+ }
788
+ })
789
+ }
790
+
791
+ await this.$resetpost('api/af-revenue/entity/save/t_yccustom_handplan', newHandplan, {
792
+ resolveMsg: null,
793
+ rejectMsg: '插入新记录失败!!!'
794
+ })
795
+
758
796
  this.search()
759
797
  },
760
798
  loadMeterBooks () {
@@ -963,7 +963,7 @@ let loadParamGem = async function (self) {
963
963
  }
964
964
  let self = this
965
965
  try {
966
- await axios.post('api/af-revenue/logic/newSettleFileImport',
966
+ await this.$resetpost('api/af-revenue/logic/newSettleFileImport',
967
967
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
968
968
  if (res.data) {
969
969
  self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
@@ -948,7 +948,7 @@ let loadParamGem = async function (self) {
948
948
  }
949
949
  let self = this
950
950
  try {
951
- await axios.post('rs/business/batchRunExcelDefault/filemanage_fileSave_zhongyi/newSettleFileImport',
951
+ await this.$resetpost('rs/business/batchRunExcelDefault/filemanage_fileSave_zhongyi/newSettleFileImport',
952
952
  {data: param}, {timeout: 30000}).then((res) => {
953
953
  if (res.data) {
954
954
  self.$showMessage(`本次批量建档共上传${res.data.totalCount}条数据,符合条件的共${res.data.totalsum}条,不符合条件的共${res.data.totalCount - res.data.totalsum}条, 建档成功${res.data.successsum}条,建档失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)