sale-client 3.5.202 → 3.5.203

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.202",
3
+ "version": "3.5.203",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -184,6 +184,15 @@
184
184
  self.$showMessage('当前操作类型暂时没有票据')
185
185
  return
186
186
  }
187
+ row.f_bill_type = row.type
188
+ row.f_bill_style = '普通收据'
189
+ row.f_operator = self.$login.f.name
190
+ row.f_operatorid = self.$login.f.id
191
+ row.f_orgid = self.$login.f.orgid
192
+ row.f_orgname = self.$login.f.orgs
193
+ row.f_depid = self.$login.f.depids
194
+ row.f_depname = self.$login.f.deps
195
+ self.reissue_data = JSON.parse(JSON.stringify(row))
187
196
  if (row.type === '调价预存') {
188
197
  let id = await self.$resetpost('rs/sql/singleTable_OrderBy', {
189
198
  data: {
@@ -193,17 +202,8 @@
193
202
  orderitem: 'id'
194
203
  }
195
204
  }, {resolveMsg: null, rejectMsg: '查询优惠信息失败'})
196
- row.id = id.data[0].f_surplus_id
205
+ self.reissue_data.id = id.data[0].f_surplus_id
197
206
  }
198
- row.f_bill_type = row.type
199
- row.f_bill_style = '普通收据'
200
- row.f_operator = self.$login.f.name
201
- row.f_operatorid = self.$login.f.id
202
- row.f_orgid = self.$login.f.orgid
203
- row.f_orgname = self.$login.f.orgs
204
- row.f_depid = self.$login.f.depids
205
- row.f_depname = self.$login.f.deps
206
- self.reissue_data = row
207
207
  self.reissue_show = true
208
208
  } catch (error) {
209
209
  if (error.status) {