sale-client 3.6.95 → 3.6.97
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/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [serverRul, localUrl ] = ['http://
|
|
2
|
+
const [serverRul, localUrl ] = ['http://113.219.193.157:8100/', 'http://113.219.193.157:8100/']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
return
|
|
367
367
|
}
|
|
368
368
|
} else {
|
|
369
|
-
if (this.authArr.includes('冲正权限')
|
|
369
|
+
if (this.authArr.includes('冲正权限')) {
|
|
370
370
|
if (this.config.cancleother) {
|
|
371
371
|
if (row.f_operator != this.$login.f.name) {
|
|
372
372
|
this.$showAlert('不能撤销不是自己进行的操作', 'warning', 1500)
|
|
@@ -1109,7 +1109,7 @@
|
|
|
1109
1109
|
if (this.danhu.f_tablebase < 0) {
|
|
1110
1110
|
this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
|
|
1111
1111
|
return
|
|
1112
|
-
} else if (this.danhu.f_tablebase.toString().split(
|
|
1112
|
+
} else if (this.danhu.f_tablebase.toString().split('.').length > 1 && this.danhu.f_tablebase.toString().split('.')[1].length > 3) {
|
|
1113
1113
|
this.$showAlert(`底数最多只能输入小数点后3位,请注意!`, 'warning', 2000)
|
|
1114
1114
|
return
|
|
1115
1115
|
} else if (this.danhu.f_tablebase < this.danhu.info.f_tablebase && !this.danhu.info.f_capacity) {
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
row.state = '失败'
|
|
1475
1475
|
Vue.set(row, 'error', '底数不能小于0')
|
|
1476
1476
|
this.speckText('底数不能小于0,请注意!')
|
|
1477
|
-
} else if (row.f_tablebase.toString().split(
|
|
1477
|
+
} else if (row.f_tablebase.toString().split('.')[1].length > 3) {
|
|
1478
1478
|
row.state = '失败'
|
|
1479
1479
|
Vue.set(row, 'error', '底数最多只能输入小数点后3位')
|
|
1480
1480
|
this.speckText('底数最多只能输入小数点后3位,请注意!')
|
|
@@ -1575,7 +1575,7 @@
|
|
|
1575
1575
|
f_userinfo_id: row.f_userinfo_id,
|
|
1576
1576
|
f_adjustment_volume: row.f_adjustment_volume ? row.f_adjustment_volume : 0
|
|
1577
1577
|
}
|
|
1578
|
-
this.$resetpost('rs/logic/sale_commonEnter', {data: param}, {resolveMsg: null, rejectMsg: null,newly:true}).then((res) => {
|
|
1578
|
+
this.$resetpost('rs/logic/sale_commonEnter', {data: param}, {resolveMsg: null, rejectMsg: null, newly: true}).then((res) => {
|
|
1579
1579
|
row.f_meter_state = res.data.f_meter_state
|
|
1580
1580
|
row.f_whether_pay = res.data.f_whether_pay
|
|
1581
1581
|
row.f_oughtfee = res.data.f_oughtfee
|
|
@@ -1591,7 +1591,7 @@
|
|
|
1591
1591
|
f_input_date = ` ,f_input_date = '${row.f_input_date}'`
|
|
1592
1592
|
}
|
|
1593
1593
|
let sqldata = `update t_handplan set f_result_state = '${f_result_state}' ${f_input_date} where id = '${row.id}'`
|
|
1594
|
-
this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '业务单号保存失败',newly:true})
|
|
1594
|
+
this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '业务单号保存失败', newly: true})
|
|
1595
1595
|
// }).catch((error) => {
|
|
1596
1596
|
// row.state = '失败'
|
|
1597
1597
|
// Vue.set(row, 'error', JSON.stringify(error))
|