Browse Source

Merge remote-tracking branch 'origin/master'

zhanglei
God 3 years ago
parent
commit
a280dff1a6
  1. 12
      anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatetobechecked.vue
  2. 12
      anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocated.vue
  3. 18
      anrui-system-ui/src/views/dictManage/dictCommon.vue

12
anrui-scm/anrui-scm-ui/src/views/bikerebate/bicyclerebatecheck/bicyclerebatetobechecked.vue

@ -322,21 +322,13 @@ export default {
brand_list: [],
rebateType_list: [],
state_list: [
{
dictKey: 0,
dictValue: '未上传'
},
{
dictKey: 1,
dictValue: '已上传'
},
{
dictKey: 2,
dictValue: '未调整'
dictValue: '未上传'
},
{
dictKey: 3,
dictValue: '已调整'
dictValue: '已上传'
}
],
whether_list: [

12
anrui-scm/anrui-scm-ui/src/views/specialrebate/specialrebatedistribution/specialrebatetobeallocated.vue

@ -150,21 +150,13 @@ export default {
brand_list: [],
rebateType_list: [],
state_list: [
{
dictKey: 0,
dictValue: '未上传'
},
{
dictKey: 1,
dictValue: '已上传'
},
{
dictKey: 2,
dictValue: '未调整'
dictValue: '未上传'
},
{
dictKey: 3,
dictValue: '已调整'
dictValue: '已上传'
}
],
listLoading: false,

18
anrui-system-ui/src/views/dictManage/dictCommon.vue

@ -179,8 +179,6 @@ export default {
},
save() {
if (this.form.sid) {
const aa = this.form.dictKey.split('')
if (aa.length < 5) {
putdictCommon(this.form).then(res => {
this.editDialog = false
this.getPageList(this.page)
@ -190,15 +188,6 @@ export default {
})
})
} else {
this.$message({
showClose: true,
message: '数据key的位数不可超过4位!',
type: 'error'
});
}
} else {
const bb = this.form.dictKey.split('')
if (bb.length < 5) {
savedictCommon(this.form).then(res => {
this.editDialog = false
this.getPageList(this.page)
@ -207,13 +196,6 @@ export default {
type: 'success'
})
})
}else {
this.$message({
showClose: true,
message: '数据key的位数不可超过4位!',
type: 'error'
});
}
}
},
deleteRow(row) {

Loading…
Cancel
Save