sale-client 3.5.279 → 3.5.280

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": "sale-client",
3
- "version": "3.5.279",
3
+ "version": "3.5.280",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -56,17 +56,45 @@
56
56
  },
57
57
  ready () {
58
58
  this.blodid = this.row.f_userinfo_id
59
+ if (this.row.f_table_state === '停用') {
60
+ let data = {
61
+ f_userfile_id: this.row.f_userfiles_id,
62
+ f_user_id: this.row.f_user_id,
63
+ f_userinfo_id: this.row.f_userinfo_id,
64
+ f_user_name: this.row.f_user_name,
65
+ f_comments: this.model.f_reason[0],
66
+ f_othereason: this.model.f_othereason
67
+ }
68
+ this.$resetpost('rs/logic/getLastDisableReason', {data: data}, {
69
+ resolveMsg: null,
70
+ rejectMsg: null
71
+ }).then((res) => {
72
+ this.$set('model.f_othereason', res.data.f_othereason)
73
+ this.$set('model.f_reason[0]', res.data.f_comments)
74
+ })
75
+ }
59
76
  },
60
77
  methods: {
61
78
  async confirm () {
62
79
  if (this.row.f_table_state === '停用') {
63
80
  let data = {
64
- f_userfile_id: this.row.f_userfiles_id,
81
+ f_userfiles_id: this.row.f_userfiles_id,
65
82
  f_user_id: this.row.f_user_id,
66
83
  f_userinfo_id: this.row.f_userinfo_id,
67
84
  f_user_name: this.row.f_user_name,
68
85
  f_comments: this.model.f_reason[0],
69
- f_othereason: this.model.f_othereason
86
+ f_othereason: this.model.f_othereason,
87
+ f_operat_type: '停用',
88
+ f_describe: `${this.$login.f.name}对客户${this.row.f_user_name}进行表具停用操作`,
89
+ f_state: '有效',
90
+ f_operator: this.$login.f.name,
91
+ f_operatorid: this.$login.f.id,
92
+ f_orgid: this.$login.f.orgid,
93
+ f_orgname: this.$login.f.orgs,
94
+ f_depid: this.$login.f.depids,
95
+ f_depname: this.$login.f.deps,
96
+ f_zoneid: this.$login.f.zoneid,
97
+ f_zones: this.$login.f.zones
70
98
  }
71
99
  this.$resetpost('rs/logic/updateDisable', {data: data}, {
72
100
  resolveMsg: '更新停用原因成功',