给页面移除角色类型的参数

This commit is contained in:
季圣华 2023-11-18 21:41:50 +08:00
parent e2a818321e
commit 7f3cf92c6d
39 changed files with 16 additions and 56 deletions

View File

@ -179,7 +179,6 @@
materialParam: "", materialParam: "",
type: "出库", type: "出库",
subType: "调拨", subType: "调拨",
roleType: Vue.ls.get('roleType'),
depotId: "", depotId: "",
creator: "", creator: "",
status: "", status: "",

View File

@ -179,7 +179,6 @@
materialParam: "", materialParam: "",
type: "其它", type: "其它",
subType: "组装单", subType: "组装单",
roleType: Vue.ls.get('roleType'),
depotId: "", depotId: "",
creator: "", creator: "",
status: "", status: "",

View File

@ -179,7 +179,6 @@
materialParam: "", materialParam: "",
type: "其它", type: "其它",
subType: "拆卸单", subType: "拆卸单",
roleType: Vue.ls.get('roleType'),
depotId: "", depotId: "",
creator: "", creator: "",
status: "", status: "",

View File

@ -193,7 +193,6 @@
materialParam: "", materialParam: "",
type: "入库", type: "入库",
subType: "其它", subType: "其它",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -193,7 +193,6 @@
materialParam: "", materialParam: "",
type: "出库", type: "出库",
subType: "其它", subType: "其它",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -202,7 +202,6 @@
materialParam: "", materialParam: "",
type: "出库", type: "出库",
subType: "采购退货", subType: "采购退货",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -221,7 +221,6 @@
materialParam: "", materialParam: "",
type: "入库", type: "入库",
subType: "采购", subType: "采购",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -184,7 +184,6 @@
materialParam: "", materialParam: "",
type: "其它", type: "其它",
subType: "采购订单", subType: "采购订单",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -202,7 +202,6 @@
materialParam: "", materialParam: "",
type: "入库", type: "入库",
subType: "零售退货", subType: "零售退货",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -197,7 +197,6 @@
materialParam: "", materialParam: "",
type: "出库", type: "出库",
subType: "零售", subType: "零售",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -202,7 +202,6 @@
materialParam: "", materialParam: "",
type: "入库", type: "入库",
subType: "销售退货", subType: "销售退货",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -190,7 +190,6 @@
materialParam: "", materialParam: "",
type: "其它", type: "其它",
subType: "销售订单", subType: "销售订单",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -221,7 +221,6 @@
materialParam: "", materialParam: "",
type: "出库", type: "出库",
subType: "销售", subType: "销售",
roleType: Vue.ls.get('roleType'),
organId: "", organId: "",
depotId: "", depotId: "",
creator: "", creator: "",

View File

@ -117,7 +117,6 @@
materialParam: "", materialParam: "",
type: "", type: "",
subType: "", subType: "",
roleType: Vue.ls.get('roleType'),
status: "" status: ""
}, },
labelCol: { labelCol: {

View File

@ -209,7 +209,6 @@
this.showType = 'basic' this.showType = 'basic'
this.queryParam.type = type this.queryParam.type = type
this.queryParam.subType = subType this.queryParam.subType = subType
this.queryParam.roleType = Vue.ls.get('roleType')
this.queryParam.status = status this.queryParam.status = status
this.columns[0].title = organType this.columns[0].title = organType
this.model = Object.assign({}, {}); this.model = Object.assign({}, {});
@ -221,7 +220,6 @@
this.showType = 'purchase' this.showType = 'purchase'
this.queryParam.type = type this.queryParam.type = type
this.queryParam.subType = subType this.queryParam.subType = subType
this.queryParam.roleType = '全部数据'
this.queryParam.status = status this.queryParam.status = status
this.queryParam.purchaseStatus = purchaseStatus this.queryParam.purchaseStatus = purchaseStatus
this.columns[0].title = organType this.columns[0].title = organType

View File

@ -104,8 +104,7 @@ export const BillListMixin = {
searchReset() { searchReset() {
this.queryParam = { this.queryParam = {
type: this.queryParam.type, type: this.queryParam.type,
subType: this.queryParam.subType, subType: this.queryParam.subType
roleType: Vue.ls.get('roleType')
} }
this.loadData(1); this.loadData(1);
}, },

View File

@ -213,12 +213,12 @@
}, },
methods: { methods: {
initInfo () { initInfo () {
getBuyAndSaleStatistics({"roleType": Vue.ls.get('roleType')}).then((res)=>{ getBuyAndSaleStatistics().then((res)=>{
if(res.code === 200){ if(res.code === 200){
this.statistics = res.data; this.statistics = res.data;
} }
}) })
buyOrSalePrice({"roleType": Vue.ls.get('roleType')}).then(res=>{ buyOrSalePrice().then(res=>{
if(res.code === 200){ if(res.code === 200){
this.buyPriceData = res.data.buyPriceList; this.buyPriceData = res.data.buyPriceList;
this.salePriceData = res.data.salePriceList; this.salePriceData = res.data.salePriceList;

View File

@ -166,8 +166,7 @@
creator: "", creator: "",
handsPersonId: "", handsPersonId: "",
status: "", status: "",
remark: "", remark: ""
roleType: Vue.ls.get('roleType')
}, },
prefixNo: 'SYF', prefixNo: 'SYF',
// 表头 // 表头

View File

@ -166,8 +166,7 @@
handsPersonId: "", handsPersonId: "",
accountId: "", accountId: "",
status: "", status: "",
remark: "", remark: ""
roleType: Vue.ls.get('roleType')
}, },
prefixNo: 'ZZ', prefixNo: 'ZZ',
// 表头 // 表头

View File

@ -176,8 +176,7 @@
handsPersonId: "", handsPersonId: "",
accountId: "", accountId: "",
status: "", status: "",
remark: "", remark: ""
roleType: Vue.ls.get('roleType')
}, },
prefixNo: 'SR', prefixNo: 'SR',
// 表头 // 表头

View File

@ -176,8 +176,7 @@
handsPersonId: "", handsPersonId: "",
accountId: "", accountId: "",
status: "", status: "",
remark: "", remark: ""
roleType: Vue.ls.get('roleType')
}, },
prefixNo: 'ZC', prefixNo: 'ZC',
// 表头 // 表头

View File

@ -183,8 +183,7 @@
accountId: "", accountId: "",
status: "", status: "",
remark: "", remark: "",
number: "", number: ""
roleType: Vue.ls.get('roleType')
}, },
prefixNo: 'SK', prefixNo: 'SK',
// 表头 // 表头

View File

@ -183,8 +183,7 @@
accountId: "", accountId: "",
status: "", status: "",
remark: "", remark: "",
number: "", number: ""
roleType: Vue.ls.get('roleType')
}, },
prefixNo: 'FK', prefixNo: 'FK',
// 表头 // 表头

View File

@ -100,7 +100,6 @@
number: "", number: "",
type: "", type: "",
subType: "", subType: "",
roleType: Vue.ls.get('roleType'),
status: "" status: ""
}, },
labelCol: { labelCol: {

View File

@ -83,8 +83,7 @@ export const FinancialListMixin = {
}, },
searchReset() { searchReset() {
this.queryParam = { this.queryParam = {
type: this.queryParam.type, type: this.queryParam.type
roleType: Vue.ls.get('roleType')
} }
this.loadData(1); this.loadData(1);
}, },

View File

@ -160,7 +160,6 @@
beginTime: getNowFormatYear() + '-01-01', beginTime: getNowFormatYear() + '-01-01',
endTime: moment().format('YYYY-MM-DD'), endTime: moment().format('YYYY-MM-DD'),
subType: "调拨", subType: "调拨",
roleType: Vue.ls.get('roleType'),
remark: '' remark: ''
}, },
ipagination:{ ipagination:{

View File

@ -136,8 +136,7 @@
endTime: moment().format('YYYY-MM-DD'), endTime: moment().format('YYYY-MM-DD'),
organId: '', organId: '',
depotId: '', depotId: '',
mpList: getMpListShort(Vue.ls.get('materialPropertyList')), mpList: getMpListShort(Vue.ls.get('materialPropertyList'))
roleType: Vue.ls.get('roleType'),
}, },
ipagination:{ ipagination:{
pageSize: 11, pageSize: 11,

View File

@ -159,7 +159,6 @@
depotId: '', depotId: '',
beginTime: getNowFormatYear() + '-01-01', beginTime: getNowFormatYear() + '-01-01',
endTime: moment().format('YYYY-MM-DD'), endTime: moment().format('YYYY-MM-DD'),
roleType: Vue.ls.get('roleType'),
type: "入库", type: "入库",
creator: "", creator: "",
remark: '', remark: '',

View File

@ -132,7 +132,6 @@
beginTime: getNowFormatYear() + '-01-01', beginTime: getNowFormatYear() + '-01-01',
endTime: moment().format('YYYY-MM-DD'), endTime: moment().format('YYYY-MM-DD'),
type: "入库", type: "入库",
roleType: Vue.ls.get('roleType'),
}, },
ipagination:{ ipagination:{
pageSize: 11, pageSize: 11,

View File

@ -159,7 +159,6 @@
depotId: '', depotId: '',
beginTime: getNowFormatYear() + '-01-01', beginTime: getNowFormatYear() + '-01-01',
endTime: moment().format('YYYY-MM-DD'), endTime: moment().format('YYYY-MM-DD'),
roleType: Vue.ls.get('roleType'),
type: "出库", type: "出库",
creator: "", creator: "",
remark: '' remark: ''

View File

@ -132,7 +132,6 @@
beginTime: getNowFormatYear() + '-01-01', beginTime: getNowFormatYear() + '-01-01',
endTime: moment().format('YYYY-MM-DD'), endTime: moment().format('YYYY-MM-DD'),
type: "出库", type: "出库",
roleType: Vue.ls.get('roleType'),
}, },
ipagination:{ ipagination:{
pageSize: 11, pageSize: 11,

View File

@ -137,7 +137,6 @@
organId: '', organId: '',
depotId: '', depotId: '',
mpList: getMpListShort(Vue.ls.get('materialPropertyList')), mpList: getMpListShort(Vue.ls.get('materialPropertyList')),
roleType: Vue.ls.get('roleType'),
}, },
ipagination:{ ipagination:{
pageSize: 11, pageSize: 11,

View File

@ -137,7 +137,6 @@
organId: '', organId: '',
depotId: '', depotId: '',
mpList: getMpListShort(Vue.ls.get('materialPropertyList')), mpList: getMpListShort(Vue.ls.get('materialPropertyList')),
roleType: Vue.ls.get('roleType'),
}, },
ipagination:{ ipagination:{
pageSize: 11, pageSize: 11,

View File

@ -92,7 +92,6 @@
number: "", number: "",
type: "", type: "",
subType: "", subType: "",
roleType: Vue.ls.get('roleType'),
status: "", status: "",
mpList: getMpListShort(Vue.ls.get('materialPropertyList')) //扩展属性 mpList: getMpListShort(Vue.ls.get('materialPropertyList')) //扩展属性
}, },

View File

@ -151,8 +151,7 @@
accountId: "", accountId: "",
status: "", status: "",
remark: "", remark: "",
number: "", number: ""
roleType: Vue.ls.get('roleType')
}, },
prefixNo: '', prefixNo: '',
disableMixinCreated: true, disableMixinCreated: true,
@ -226,8 +225,7 @@
organId: this.queryParam.organId, organId: this.queryParam.organId,
beginTime: this.queryParam.beginTime, beginTime: this.queryParam.beginTime,
endTime: this.queryParam.endTime, endTime: this.queryParam.endTime,
type: this.queryParam.type, type: this.queryParam.type
roleType: Vue.ls.get('roleType')
} }
this.loadData(1); this.loadData(1);
} }

View File

@ -106,8 +106,7 @@
supplier:'', supplier:'',
type:'客户', type:'客户',
telephone:'', telephone:'',
phonenum:'', phonenum:''
roleType: Vue.ls.get('roleType')
}, },
ipagination:{ ipagination:{
pageSizeOptions: ['10', '20', '30', '100', '200'] pageSizeOptions: ['10', '20', '30', '100', '200']

View File

@ -105,8 +105,7 @@
supplier:'', supplier:'',
type:'会员', type:'会员',
telephone:'', telephone:'',
phonenum:'', phonenum:''
roleType: Vue.ls.get('roleType')
}, },
ipagination:{ ipagination:{
pageSizeOptions: ['10', '20', '30', '100', '200'] pageSizeOptions: ['10', '20', '30', '100', '200']

View File

@ -105,8 +105,7 @@
supplier:'', supplier:'',
type:'供应商', type:'供应商',
telephone:'', telephone:'',
phonenum:'', phonenum:''
roleType: Vue.ls.get('roleType')
}, },
ipagination:{ ipagination:{
pageSizeOptions: ['10', '20', '30', '100', '200'] pageSizeOptions: ['10', '20', '30', '100', '200']

View File

@ -248,7 +248,6 @@
let err = {}; let err = {};
if(res.data.msgTip == 'user can login'){ if(res.data.msgTip == 'user can login'){
Vue.ls.set('winBtnStrList', res.data.userBtn, 7 * 24 * 60 * 60 * 1000); Vue.ls.set('winBtnStrList', res.data.userBtn, 7 * 24 * 60 * 60 * 1000);
Vue.ls.set('roleType', res.data.roleType, 7 * 24 * 60 * 60 * 1000);
this.loginSuccess(res) this.loginSuccess(res)
} else if(res.data.msgTip == 'user is not exist'){ } else if(res.data.msgTip == 'user is not exist'){
err.message = '用户不存在'; err.message = '用户不存在';