给页面移除角色类型的参数
This commit is contained in:
parent
e2a818321e
commit
7f3cf92c6d
@ -179,7 +179,6 @@
|
||||
materialParam: "",
|
||||
type: "出库",
|
||||
subType: "调拨",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
depotId: "",
|
||||
creator: "",
|
||||
status: "",
|
||||
|
||||
@ -179,7 +179,6 @@
|
||||
materialParam: "",
|
||||
type: "其它",
|
||||
subType: "组装单",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
depotId: "",
|
||||
creator: "",
|
||||
status: "",
|
||||
|
||||
@ -179,7 +179,6 @@
|
||||
materialParam: "",
|
||||
type: "其它",
|
||||
subType: "拆卸单",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
depotId: "",
|
||||
creator: "",
|
||||
status: "",
|
||||
|
||||
@ -193,7 +193,6 @@
|
||||
materialParam: "",
|
||||
type: "入库",
|
||||
subType: "其它",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -193,7 +193,6 @@
|
||||
materialParam: "",
|
||||
type: "出库",
|
||||
subType: "其它",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -202,7 +202,6 @@
|
||||
materialParam: "",
|
||||
type: "出库",
|
||||
subType: "采购退货",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -221,7 +221,6 @@
|
||||
materialParam: "",
|
||||
type: "入库",
|
||||
subType: "采购",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -184,7 +184,6 @@
|
||||
materialParam: "",
|
||||
type: "其它",
|
||||
subType: "采购订单",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -202,7 +202,6 @@
|
||||
materialParam: "",
|
||||
type: "入库",
|
||||
subType: "零售退货",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -197,7 +197,6 @@
|
||||
materialParam: "",
|
||||
type: "出库",
|
||||
subType: "零售",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -202,7 +202,6 @@
|
||||
materialParam: "",
|
||||
type: "入库",
|
||||
subType: "销售退货",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -190,7 +190,6 @@
|
||||
materialParam: "",
|
||||
type: "其它",
|
||||
subType: "销售订单",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -221,7 +221,6 @@
|
||||
materialParam: "",
|
||||
type: "出库",
|
||||
subType: "销售",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
organId: "",
|
||||
depotId: "",
|
||||
creator: "",
|
||||
|
||||
@ -117,7 +117,6 @@
|
||||
materialParam: "",
|
||||
type: "",
|
||||
subType: "",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
status: ""
|
||||
},
|
||||
labelCol: {
|
||||
|
||||
@ -209,7 +209,6 @@
|
||||
this.showType = 'basic'
|
||||
this.queryParam.type = type
|
||||
this.queryParam.subType = subType
|
||||
this.queryParam.roleType = Vue.ls.get('roleType')
|
||||
this.queryParam.status = status
|
||||
this.columns[0].title = organType
|
||||
this.model = Object.assign({}, {});
|
||||
@ -221,7 +220,6 @@
|
||||
this.showType = 'purchase'
|
||||
this.queryParam.type = type
|
||||
this.queryParam.subType = subType
|
||||
this.queryParam.roleType = '全部数据'
|
||||
this.queryParam.status = status
|
||||
this.queryParam.purchaseStatus = purchaseStatus
|
||||
this.columns[0].title = organType
|
||||
|
||||
@ -104,8 +104,7 @@ export const BillListMixin = {
|
||||
searchReset() {
|
||||
this.queryParam = {
|
||||
type: this.queryParam.type,
|
||||
subType: this.queryParam.subType,
|
||||
roleType: Vue.ls.get('roleType')
|
||||
subType: this.queryParam.subType
|
||||
}
|
||||
this.loadData(1);
|
||||
},
|
||||
|
||||
@ -213,12 +213,12 @@
|
||||
},
|
||||
methods: {
|
||||
initInfo () {
|
||||
getBuyAndSaleStatistics({"roleType": Vue.ls.get('roleType')}).then((res)=>{
|
||||
getBuyAndSaleStatistics().then((res)=>{
|
||||
if(res.code === 200){
|
||||
this.statistics = res.data;
|
||||
}
|
||||
})
|
||||
buyOrSalePrice({"roleType": Vue.ls.get('roleType')}).then(res=>{
|
||||
buyOrSalePrice().then(res=>{
|
||||
if(res.code === 200){
|
||||
this.buyPriceData = res.data.buyPriceList;
|
||||
this.salePriceData = res.data.salePriceList;
|
||||
|
||||
@ -166,8 +166,7 @@
|
||||
creator: "",
|
||||
handsPersonId: "",
|
||||
status: "",
|
||||
remark: "",
|
||||
roleType: Vue.ls.get('roleType')
|
||||
remark: ""
|
||||
},
|
||||
prefixNo: 'SYF',
|
||||
// 表头
|
||||
|
||||
@ -166,8 +166,7 @@
|
||||
handsPersonId: "",
|
||||
accountId: "",
|
||||
status: "",
|
||||
remark: "",
|
||||
roleType: Vue.ls.get('roleType')
|
||||
remark: ""
|
||||
},
|
||||
prefixNo: 'ZZ',
|
||||
// 表头
|
||||
|
||||
@ -176,8 +176,7 @@
|
||||
handsPersonId: "",
|
||||
accountId: "",
|
||||
status: "",
|
||||
remark: "",
|
||||
roleType: Vue.ls.get('roleType')
|
||||
remark: ""
|
||||
},
|
||||
prefixNo: 'SR',
|
||||
// 表头
|
||||
|
||||
@ -176,8 +176,7 @@
|
||||
handsPersonId: "",
|
||||
accountId: "",
|
||||
status: "",
|
||||
remark: "",
|
||||
roleType: Vue.ls.get('roleType')
|
||||
remark: ""
|
||||
},
|
||||
prefixNo: 'ZC',
|
||||
// 表头
|
||||
|
||||
@ -183,8 +183,7 @@
|
||||
accountId: "",
|
||||
status: "",
|
||||
remark: "",
|
||||
number: "",
|
||||
roleType: Vue.ls.get('roleType')
|
||||
number: ""
|
||||
},
|
||||
prefixNo: 'SK',
|
||||
// 表头
|
||||
|
||||
@ -183,8 +183,7 @@
|
||||
accountId: "",
|
||||
status: "",
|
||||
remark: "",
|
||||
number: "",
|
||||
roleType: Vue.ls.get('roleType')
|
||||
number: ""
|
||||
},
|
||||
prefixNo: 'FK',
|
||||
// 表头
|
||||
|
||||
@ -100,7 +100,6 @@
|
||||
number: "",
|
||||
type: "",
|
||||
subType: "",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
status: ""
|
||||
},
|
||||
labelCol: {
|
||||
|
||||
@ -83,8 +83,7 @@ export const FinancialListMixin = {
|
||||
},
|
||||
searchReset() {
|
||||
this.queryParam = {
|
||||
type: this.queryParam.type,
|
||||
roleType: Vue.ls.get('roleType')
|
||||
type: this.queryParam.type
|
||||
}
|
||||
this.loadData(1);
|
||||
},
|
||||
|
||||
@ -160,7 +160,6 @@
|
||||
beginTime: getNowFormatYear() + '-01-01',
|
||||
endTime: moment().format('YYYY-MM-DD'),
|
||||
subType: "调拨",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
remark: ''
|
||||
},
|
||||
ipagination:{
|
||||
|
||||
@ -136,8 +136,7 @@
|
||||
endTime: moment().format('YYYY-MM-DD'),
|
||||
organId: '',
|
||||
depotId: '',
|
||||
mpList: getMpListShort(Vue.ls.get('materialPropertyList')),
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
mpList: getMpListShort(Vue.ls.get('materialPropertyList'))
|
||||
},
|
||||
ipagination:{
|
||||
pageSize: 11,
|
||||
|
||||
@ -159,7 +159,6 @@
|
||||
depotId: '',
|
||||
beginTime: getNowFormatYear() + '-01-01',
|
||||
endTime: moment().format('YYYY-MM-DD'),
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
type: "入库",
|
||||
creator: "",
|
||||
remark: '',
|
||||
|
||||
@ -132,7 +132,6 @@
|
||||
beginTime: getNowFormatYear() + '-01-01',
|
||||
endTime: moment().format('YYYY-MM-DD'),
|
||||
type: "入库",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
},
|
||||
ipagination:{
|
||||
pageSize: 11,
|
||||
|
||||
@ -159,7 +159,6 @@
|
||||
depotId: '',
|
||||
beginTime: getNowFormatYear() + '-01-01',
|
||||
endTime: moment().format('YYYY-MM-DD'),
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
type: "出库",
|
||||
creator: "",
|
||||
remark: ''
|
||||
|
||||
@ -132,7 +132,6 @@
|
||||
beginTime: getNowFormatYear() + '-01-01',
|
||||
endTime: moment().format('YYYY-MM-DD'),
|
||||
type: "出库",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
},
|
||||
ipagination:{
|
||||
pageSize: 11,
|
||||
|
||||
@ -137,7 +137,6 @@
|
||||
organId: '',
|
||||
depotId: '',
|
||||
mpList: getMpListShort(Vue.ls.get('materialPropertyList')),
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
},
|
||||
ipagination:{
|
||||
pageSize: 11,
|
||||
|
||||
@ -137,7 +137,6 @@
|
||||
organId: '',
|
||||
depotId: '',
|
||||
mpList: getMpListShort(Vue.ls.get('materialPropertyList')),
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
},
|
||||
ipagination:{
|
||||
pageSize: 11,
|
||||
|
||||
@ -92,7 +92,6 @@
|
||||
number: "",
|
||||
type: "",
|
||||
subType: "",
|
||||
roleType: Vue.ls.get('roleType'),
|
||||
status: "",
|
||||
mpList: getMpListShort(Vue.ls.get('materialPropertyList')) //扩展属性
|
||||
},
|
||||
|
||||
@ -151,8 +151,7 @@
|
||||
accountId: "",
|
||||
status: "",
|
||||
remark: "",
|
||||
number: "",
|
||||
roleType: Vue.ls.get('roleType')
|
||||
number: ""
|
||||
},
|
||||
prefixNo: '',
|
||||
disableMixinCreated: true,
|
||||
@ -226,8 +225,7 @@
|
||||
organId: this.queryParam.organId,
|
||||
beginTime: this.queryParam.beginTime,
|
||||
endTime: this.queryParam.endTime,
|
||||
type: this.queryParam.type,
|
||||
roleType: Vue.ls.get('roleType')
|
||||
type: this.queryParam.type
|
||||
}
|
||||
this.loadData(1);
|
||||
}
|
||||
|
||||
@ -106,8 +106,7 @@
|
||||
supplier:'',
|
||||
type:'客户',
|
||||
telephone:'',
|
||||
phonenum:'',
|
||||
roleType: Vue.ls.get('roleType')
|
||||
phonenum:''
|
||||
},
|
||||
ipagination:{
|
||||
pageSizeOptions: ['10', '20', '30', '100', '200']
|
||||
|
||||
@ -105,8 +105,7 @@
|
||||
supplier:'',
|
||||
type:'会员',
|
||||
telephone:'',
|
||||
phonenum:'',
|
||||
roleType: Vue.ls.get('roleType')
|
||||
phonenum:''
|
||||
},
|
||||
ipagination:{
|
||||
pageSizeOptions: ['10', '20', '30', '100', '200']
|
||||
|
||||
@ -105,8 +105,7 @@
|
||||
supplier:'',
|
||||
type:'供应商',
|
||||
telephone:'',
|
||||
phonenum:'',
|
||||
roleType: Vue.ls.get('roleType')
|
||||
phonenum:''
|
||||
},
|
||||
ipagination:{
|
||||
pageSizeOptions: ['10', '20', '30', '100', '200']
|
||||
|
||||
@ -248,7 +248,6 @@
|
||||
let err = {};
|
||||
if(res.data.msgTip == 'user can login'){
|
||||
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)
|
||||
} else if(res.data.msgTip == 'user is not exist'){
|
||||
err.message = '用户不存在';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user