sale-client 3.6.294 → 3.6.296

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.6.294",
3
+ "version": "3.6.296",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -142,11 +142,11 @@
142
142
  f_third_pay: '0',
143
143
  f_time_type: '按月',
144
144
  f_limit_times: '',
145
- f_time_value: '',
145
+ f_time_value: '0',
146
146
  f_limit_type: '气量',
147
147
  f_limit_style:'',
148
- f_limit_value: 0,
149
- f_limit_amount: 0,
148
+ f_limit_value: '',
149
+ f_limit_amount: '',
150
150
  f_start_date: this.$login.toStandardDateString()
151
151
  },
152
152
  limitshow: false,
@@ -191,12 +191,12 @@
191
191
  this.model = {
192
192
  f_third_pay: this.model.f_third_pay,
193
193
  f_time_type: this.model.f_time_type,
194
- f_limit_times: '',
195
- f_time_value: '',
196
- f_limit_type: '气量',
197
- f_limit_style:'',
198
- f_limit_value: 0,
199
- f_limit_amount: 0,
194
+ f_limit_times: this.model.f_limit_times,
195
+ f_time_value: this.model.f_time_value,
196
+ f_limit_type: this.model.f_limit_type,
197
+ f_limit_style: this.model.f_limit_style,
198
+ f_limit_value: this.model.f_limit_value,
199
+ f_limit_amount: this.model.f_limit_amount,
200
200
  f_start_date: this.$login.toStandardDateString()
201
201
  }
202
202
  console.log('提交限购数据', this.model)
@@ -707,9 +707,9 @@
707
707
  f_result_state = row.f_result_state
708
708
  }
709
709
  let f_input_date = ''
710
- if (row.f_input_date && row.f_input_date != '') {
711
- f_input_date = ` ,f_input_date = '${row.f_input_date}'`
712
- }
710
+ // if (row.f_input_date && row.f_input_date != '') {
711
+ // f_input_date = ` ,f_input_date = '${row.f_input_date}'`
712
+ // }
713
713
  let sqldata = `update t_handplan set f_result_state = '${f_result_state}' ${f_input_date} where id = '${row.id}'`
714
714
  this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '业务单号保存失败'})
715
715
  // }).catch((error) => {
@@ -1634,9 +1634,9 @@ export default {
1634
1634
  f_result_state = row.f_result_state
1635
1635
  }
1636
1636
  let f_input_date = ''
1637
- if (row.f_input_date && row.f_input_date != '') {
1638
- f_input_date = ` ,f_input_date = '${row.f_input_date}'`
1639
- }
1637
+ // if (row.f_input_date && row.f_input_date != '') {
1638
+ // f_input_date = ` ,f_input_date = '${row.f_input_date}'`
1639
+ // }
1640
1640
  let sqldata = `update t_handplan set f_result_state = '${f_result_state}' ${f_input_date} where id = '${row.id}'`
1641
1641
  this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {
1642
1642
  resolveMsg: null,
@@ -113,7 +113,6 @@
113
113
  <th>合计金额</th>
114
114
  <th>收费类型</th>
115
115
  <th>收费时间</th>
116
- <th>发票代码</th>
117
116
  <th>是否征税</th>
118
117
  <th>票据状态</th>
119
118
  <th>发票号码</th>
@@ -132,7 +131,6 @@
132
131
  <td style="text-align:center">{{row.f_total_money}}</td>
133
132
  <td style="text-align:center">{{row.f_charge_type}}</td>
134
133
  <td style="text-align:center">{{row.f_operate_date}}</td>
135
- <td style="text-align:center">{{row.f_bill_code}}</td>
136
134
  <td style="text-align:center">{{row.f_tax_logotype}}</td>
137
135
  <td style="text-align:center">{{row.f_bill_state}}</td>
138
136
  <td style="text-align:center">{{row.f_bill_number}}</td>
@@ -8,15 +8,17 @@
8
8
  <!-- </div>-->
9
9
  <div style="margin-top:10px;" v-for="(index, row) in model.otherdetail">
10
10
  <div class="row">
11
- <div class="col-sm-4" :class="{'select-error': row.f_brand_spec.length === 0 && config.checkFlag}">
11
+ <div class="col-sm-4" :class="[$v.brandspec.required ? 'select-error' : '']">
12
12
  <label for="f_brand_spec" class="font_normal_body " title="参数名称:品名及规格">{{brandType}}</label>
13
+ <input type="text" class="input_search" style="width: 60%" v-show="false"
14
+ v-model="$refs.brandspec.selectedItems" v-validate:brandspec='{required: true }'>
13
15
  <v-select id="f_brand_spec"
14
16
  placeholder='请选择'
15
17
  v-model="row.f_brand_spec"
16
18
  :value.sync="row.f_brand_spec"
17
19
  :options='brandspec'
18
20
  @change="setTypename(row,index)"
19
- close-on-select clear-button>
21
+ close-on-select clear-button v-ref:brandspec>
20
22
  </v-select>
21
23
  </div>
22
24
  <div class="col-sm-4" :class="{'has-success':row.f_typename,'has-error':!row.f_typename}">
@@ -31,7 +33,7 @@
31
33
  close-on-select clear-button>
32
34
  </v-select>
33
35
  </div>
34
- <div class="col-sm-4" :class="{'has-success':row.f_typenumber,'has-error':!row.f_typenumber}">
36
+ <div class="col-sm-4" >
35
37
  <label for="f_typenumber" class=" font_normal_body">&nbsp;型&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
36
38
  <v-select
37
39
  style="width: 100px"
@@ -47,7 +49,7 @@
47
49
  <div class="row">
48
50
  <div class="col-sm-4" :class="{'has-success':row.f_unitprice,'has-error':!row.f_unitprice}">
49
51
  <label style="" for="f_unitprice" class=" font_normal_body">*单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;价</label>
50
- <input class="input_search" style="width:60%" type="number" min="1" @input.prevent="getcollection()"
52
+ <input class="input_search" style=" width:60%" type="number" min="1" @input.prevent="getcollection()"
51
53
  v-model="row.f_unitprice"
52
54
  :value.sync="row.f_unitprice"
53
55
  :disabled="false"
@@ -207,7 +209,6 @@ let otherChargeGen = async function (self, parameter) {
207
209
  try {
208
210
  // 加入扫码盒付款码支付流水号
209
211
  self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no
210
- console.log('11111', self.model)
211
212
  let resid = await self.$LogicService.otherCharge(self.model, self.row)
212
213
  console.log('其他收费返回id', resid, self.config.hasPrint, self.$login.r.includes('不打印发票'))
213
214
  if (self.config.showupload) {
@@ -224,8 +225,6 @@ let otherChargeGen = async function (self, parameter) {
224
225
  if (self.config.dispatch) {
225
226
  await self.$showMessage(`是否添加派工单`, ['confirm', 'cancel']).then((res) => {
226
227
  if (res === 'confirm') {
227
- console.log('其他收费xinxi', self.model)
228
- console.log('其他收费xinxi', self.row)
229
228
  let batch = {
230
229
  sf_id: resid.data,
231
230
  f_userinfo_code: self.row.f_userinfo_code,
@@ -241,7 +240,6 @@ let otherChargeGen = async function (self, parameter) {
241
240
  f_orgid: self.$login.f.orgid,
242
241
  f_dispathch_state: '待分配'
243
242
  }
244
- console.log('111:', batch)
245
243
  self.$resetpost('rs/logic/savePatch', batch).then((res1) => {
246
244
  // this.params.rows.splice(index, 1)
247
245
  console.log('更新成功!', res1.data.id)
@@ -333,7 +331,7 @@ export default {
333
331
  t_userfees: '',
334
332
  f_fee_type: ['其他费用'],
335
333
  f_fee_time: ['12'],
336
- otherdetail: [{f_brand_spec: [''], typeNameList: [], f_typenumber: '', typenumberList: [], f_unitprice: '', f_number: '', f_overlength_number: 0, f_overlength_unitprice: 0, f_discounts_money_detail: 0, f_actual_materials_detail: ''}]
334
+ otherdetail: [{f_brand_spec: [], typeNameList: [], f_typenumber: '', typenumberList: [], f_unitprice: '', f_number: '', f_overlength_number: 0, f_overlength_unitprice: 0, f_discounts_money_detail: 0, f_actual_materials_detail: ''}]
337
335
  },
338
336
  eticket_msg: false,
339
337
  mjshow: false,
@@ -630,7 +628,7 @@ export default {
630
628
  this.model.f_discounts_money += (this.model.f_discounts_money_materials - 0)
631
629
  },
632
630
  addadetail () {
633
- this.$set(`model.otherdetail[${this.model.otherdetail.length}]`, {f_brand_spec: [''], f_typenumber: '', typeNameList: [], typenumberList: [], f_unitprice: '', f_number: '', f_overlength_number: 0, f_overlength_unitprice: 0, f_discounts_money_detail: 0, f_actual_materials_detail: ''})
631
+ this.$set(`model.otherdetail[${this.model.otherdetail.length}]`, {f_brand_spec: [], f_typenumber: '', typeNameList: [], typenumberList: [], f_unitprice: '', f_number: '', f_overlength_number: 0, f_overlength_unitprice: 0, f_discounts_money_detail: 0, f_actual_materials_detail: ''})
634
632
  console.log(JSON.stringify(this.model.otherdetail))
635
633
  },
636
634
  delthisdetail (index) {
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- #Wed May 15 09:49:58 CST 2024
2
- gradle.version=7.4
Binary file
File without changes