电气副部长

This commit is contained in:
chenjianan
2019-08-05 15:29:28 +08:00
parent 3d6e2e043c
commit 9d05422fc7
2 changed files with 6 additions and 6 deletions

View File

@@ -529,7 +529,7 @@ export default {
searchList() {
let check, isElectrical
this.pickingListNumber ? check = 1 : check = 0
Number(this.token) === 36 || Number(this.token) === 35 ? isElectrical = 1 : isElectrical = 0 // 35电工 36电气部长
Number(this.token) === 37 || Number(this.token) === 36 || Number(this.token) === 35 ? isElectrical = 1 : isElectrical = 0 // 35电工 36电气部长 37电气副部长
searchList(this.pageCurrent3, this.pageSize3, check, this.pickingListNumber, isElectrical).then(response => {
this.pickListTable1 = response.data.rows
this.total3 = response.data.total
@@ -556,7 +556,7 @@ export default {
// 提交创建领料单
submitCreateList() {
let isElectrical
this.token === 36 || this.token === 35 ? isElectrical = 1 : isElectrical = 0 // 35电工 36电气部长
Number(this.token) === 37 || Number(this.token) === 36 || Number(this.token) === 35 ? isElectrical = 1 : isElectrical = 0 // 35电工 36电气部长 37电气副部长
createList(this.form1.领料人流水号, this.form1.领料单备注, isElectrical).then(response => {
if (response.data[0].result === '1') {
this.$message.success('创建成功')