sale-client 3.6.457 → 3.6.458
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 +1 -1
- package/src/components/revenue/base/rightview/RecordCancel.vue +13 -13
- package/src/filiale/meihekou/RecordCancel.vue +13 -13
- package/src/filiale/rongcheng/RecordCancel.vue +13 -13
- package/src/filiale/tongchuan/base/RecordCancel.vue +13 -13
- package/src/filiale/yangchun/BlackList/BlackList.vue +1 -1
- package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +2 -2
- package/src/filiale/yangchun/CardList.vue +1 -1
- package/src/filiale/yuansheng/RecordCancel.vue +13 -12
package/package.json
CHANGED
|
@@ -124,21 +124,21 @@
|
|
|
124
124
|
condition: `f_userfiles_id = '${self.data.f_userfiles_id}'`
|
|
125
125
|
}
|
|
126
126
|
}, {resolveMsg: null, rejectMsg: '获取客户信息失败'})
|
|
127
|
+
if (res.data[0].f_meter_type) {
|
|
128
|
+
if (res.data[0].f_meter_type.includes('卡表') && self.data.type === '换表补气') {
|
|
129
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,撤销需要进行读卡撤销。`, 'warning', 5000)
|
|
130
|
+
self.$dispatch('cancel')
|
|
131
|
+
}
|
|
132
|
+
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
133
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
134
|
+
self.$dispatch('cancel')
|
|
135
|
+
}
|
|
127
136
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
133
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
134
|
-
self.$dispatch('cancel')
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
138
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
139
|
-
self.$dispatch('cancel')
|
|
137
|
+
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
138
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
139
|
+
self.$dispatch('cancel')
|
|
140
|
+
}
|
|
140
141
|
}
|
|
141
|
-
|
|
142
142
|
// 获取原来收费记录使用的发票类型
|
|
143
143
|
let param = {
|
|
144
144
|
id: self.data.id,
|
|
@@ -111,21 +111,21 @@
|
|
|
111
111
|
condition: `f_userfiles_id = '${self.data.f_userfiles_id}'`
|
|
112
112
|
}
|
|
113
113
|
}, {resolveMsg: null, rejectMsg: '获取客户信息失败'})
|
|
114
|
+
if (res.data[0].f_meter_type) {
|
|
115
|
+
if (res.data[0].f_meter_type.includes('卡表') && self.data.type === '换表补气') {
|
|
116
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,撤销需要进行读卡撤销。`, 'warning', 5000)
|
|
117
|
+
self.$dispatch('cancel')
|
|
118
|
+
}
|
|
119
|
+
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
120
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
121
|
+
self.$dispatch('cancel')
|
|
122
|
+
}
|
|
114
123
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
120
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
121
|
-
self.$dispatch('cancel')
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
125
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
126
|
-
self.$dispatch('cancel')
|
|
124
|
+
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
125
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
126
|
+
self.$dispatch('cancel')
|
|
127
|
+
}
|
|
127
128
|
}
|
|
128
|
-
|
|
129
129
|
// 获取原来收费记录使用的发票类型
|
|
130
130
|
let param = {
|
|
131
131
|
id: self.data.id,
|
|
@@ -112,21 +112,21 @@ import {HttpResetClass} from 'vue-client'
|
|
|
112
112
|
condition: `f_userfiles_id = '${self.data.f_userfiles_id}'`
|
|
113
113
|
}
|
|
114
114
|
}, {resolveMsg: null, rejectMsg: '获取客户信息失败'})
|
|
115
|
+
if (res.data[0].f_meter_type) {
|
|
116
|
+
if (res.data[0].f_meter_type.includes('卡表') && self.data.type === '换表补气') {
|
|
117
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,撤销需要进行读卡撤销。`, 'warning', 5000)
|
|
118
|
+
self.$dispatch('cancel')
|
|
119
|
+
}
|
|
120
|
+
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
121
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
122
|
+
self.$dispatch('cancel')
|
|
123
|
+
}
|
|
115
124
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
121
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
122
|
-
self.$dispatch('cancel')
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
126
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
127
|
-
self.$dispatch('cancel')
|
|
125
|
+
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
126
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
127
|
+
self.$dispatch('cancel')
|
|
128
|
+
}
|
|
128
129
|
}
|
|
129
|
-
|
|
130
130
|
// 获取原来收费记录使用的发票类型
|
|
131
131
|
let param = {
|
|
132
132
|
id: self.data.id,
|
|
@@ -106,21 +106,21 @@
|
|
|
106
106
|
condition: `f_userfiles_id = '${self.data.f_userfiles_id}'`
|
|
107
107
|
}
|
|
108
108
|
}, {resolveMsg: null, rejectMsg: '获取客户信息失败'})
|
|
109
|
+
if (res.data[0].f_meter_type) {
|
|
110
|
+
if (res.data[0].f_meter_type.includes('卡表') && self.data.type === '换表补气') {
|
|
111
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,撤销需要进行读卡撤销。`, 'warning', 5000)
|
|
112
|
+
self.$dispatch('cancel')
|
|
113
|
+
}
|
|
114
|
+
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
115
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
116
|
+
self.$dispatch('cancel')
|
|
117
|
+
}
|
|
109
118
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
115
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
116
|
-
self.$dispatch('cancel')
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
120
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
121
|
-
self.$dispatch('cancel')
|
|
119
|
+
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
120
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
121
|
+
self.$dispatch('cancel')
|
|
122
|
+
}
|
|
122
123
|
}
|
|
123
|
-
|
|
124
124
|
// 获取原来收费记录使用的发票类型
|
|
125
125
|
let param = {
|
|
126
126
|
id: self.data.id,
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
>
|
|
132
132
|
</v-select>
|
|
133
133
|
</div>
|
|
134
|
-
<div class="col-sm-12 form-group" id="f_comments" :class="[$v.f_yc_comments.required ? 'has-error' : 'has-success']"
|
|
134
|
+
<div class="col-sm-12 form-group" id="f_comments" :class="[$v.f_yc_comments.required ? 'has-error' : 'has-success']" title="参数名称:【移出重点用户原因】"
|
|
135
135
|
v-if=" model.f_black_state == '已拉黑' || model.f_black_state == '移出拉黑审核'">
|
|
136
136
|
<label for="f_comments" class=" font_normal_body">移出原因</label>
|
|
137
137
|
<input type="text" v-model="model.f_yc_comments" v-show="false"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
>
|
|
118
118
|
</v-select>
|
|
119
119
|
</div>
|
|
120
|
-
<div class="col-sm-2 form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}" >
|
|
120
|
+
<div class="col-sm-2 form-group" :class="{'col-sm-2':!$parent.$parent.$parent.isdetail, 'col-sm-3':$parent.$parent.$parent.isdetail}" title="参数名称:【移出重点用户原因】">
|
|
121
121
|
<label class=" font_normal_body">移出原因</label>
|
|
122
122
|
<v-select
|
|
123
123
|
:value.sync="model.f_black_comments1"
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
data () {
|
|
256
256
|
return {
|
|
257
257
|
fcomments: this.$appdata.getParam('移入原因') ? [ ...this.$appdata.getParam('移入原因')] : [],
|
|
258
|
-
fcomments1: this.$appdata.getParam('
|
|
258
|
+
fcomments1: this.$appdata.getParam('移出重点用户原因') ? [ ...this.$appdata.getParam('移出重点用户原因')] : [],
|
|
259
259
|
KeyModel: {
|
|
260
260
|
f_opr_state: '移入',
|
|
261
261
|
f_comments: '',
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
}
|
|
369
369
|
if (this.authArr.includes('冲正权限')) {
|
|
370
370
|
|
|
371
|
-
if (!this.config.cancletime && !this.$login.f.rolesnames.includes('
|
|
371
|
+
if (!this.config.cancletime && !this.$login.f.rolesnames.includes('财务退款')) {
|
|
372
372
|
if (!this.config.cancleother) {
|
|
373
373
|
if (row.f_operator != this.$login.f.name) {
|
|
374
374
|
this.$showAlert('不能撤销不是自己进行的操作', 'warning', 1500)
|
|
@@ -106,19 +106,20 @@
|
|
|
106
106
|
condition: `f_userfiles_id = '${self.data.f_userfiles_id}'`
|
|
107
107
|
}
|
|
108
108
|
}, {resolveMsg: null, rejectMsg: '获取客户信息失败'})
|
|
109
|
+
if (res.data[0].f_meter_type) {
|
|
110
|
+
if (res.data[0].f_meter_type.includes('卡表') && self.data.type === '换表补气') {
|
|
111
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,撤销需要进行读卡撤销。`, 'warning', 5000)
|
|
112
|
+
self.$dispatch('cancel')
|
|
113
|
+
}
|
|
114
|
+
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
115
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
116
|
+
self.$dispatch('cancel')
|
|
117
|
+
}
|
|
109
118
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
if (res.data[0].f_meter_type.includes('机表') && self.data.type === '换表补气') {
|
|
115
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
116
|
-
self.$dispatch('cancel')
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
120
|
-
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
121
|
-
self.$dispatch('cancel')
|
|
119
|
+
if (res.data[0].f_meter_type.includes('物联网表') && (self.data.type === '' || self.data.type === '气表清零')) {
|
|
120
|
+
self.$showAlert(`您这是${res.data[0].f_meter_type}客户,暂不支持撤销。`, 'warning', 5000)
|
|
121
|
+
self.$dispatch('cancel')
|
|
122
|
+
}
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
// 获取原来收费记录使用的发票类型
|