Commit c9e9aa83 authored by hubaoshan's avatar hubaoshan

删除console.log和忽略大小写

parent 0c1a3d25
...@@ -118,14 +118,12 @@ ...@@ -118,14 +118,12 @@
<div class="mb12 font-small-bold">入库记录表</div> <div class="mb12 font-small-bold">入库记录表</div>
<el-table v-loading="loading" border :data="incomeInoutWmsLogList"> <el-table v-loading="loading" border :data="incomeInoutWmsLogList">
<el-table-column type="index" label="序号" min-width="55" align="center" /> <el-table-column type="index" label="序号" min-width="55" align="center" />
<el-table-column label="wh_id" prop="whId" :show-overflow-tooltip="true" min-width="120"> <el-table-column label="wh_id" prop="whId" :show-overflow-tooltip="true" min-width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.whId ">{{ getDataDictLabel(scope.row.whId) }}</span> <span v-if="scope.row.whId ">{{ getDataDictLabel(scope.row.whId) }}</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="cj" prop="cj" :show-overflow-tooltip="true" min-width="120"> <el-table-column label="cj" prop="cj" :show-overflow-tooltip="true" min-width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.cj">{{ getManufacturerLabel(scope.row.cj) || '-' }}</span> <span v-if="scope.row.cj">{{ getManufacturerLabel(scope.row.cj) || '-' }}</span>
...@@ -182,7 +180,6 @@ ...@@ -182,7 +180,6 @@
{{ scope.row.location || '-' }} {{ scope.row.location || '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="创建人" prop="updateBy" :show-overflow-tooltip="true" min-width="100"> <el-table-column label="创建人" prop="updateBy" :show-overflow-tooltip="true" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.createName || '-' }} {{ scope.row.createName || '-' }}
...@@ -299,9 +296,6 @@ ...@@ -299,9 +296,6 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<!-- <el-form-item v-show="isShow" label="bz:" prop="cheBz">-->
<!-- <span>{{ singleDetails.cheBz|| '-' }}</span>-->
<!-- </el-form-item>-->
<el-form-item v-show="isShow" label="unit:" prop="cheUnit"> <el-form-item v-show="isShow" label="unit:" prop="cheUnit">
<span>{{ singleDetails.cheUnit|| '-' }}</span> <span>{{ singleDetails.cheUnit|| '-' }}</span>
</el-form-item> </el-form-item>
...@@ -360,8 +354,6 @@ import { ...@@ -360,8 +354,6 @@ import {
import commonField from '@/utils/commonField' import commonField from '@/utils/commonField'
import { getDicts } from '@/api/system/dict/data' import { getDicts } from '@/api/system/dict/data'
import { exportIncomeInoutWmsLog, getIncomeInoutWmsLog, listIncomeInoutWmsLog } from '@/api/incomeInoutWmsLog' import { exportIncomeInoutWmsLog, getIncomeInoutWmsLog, listIncomeInoutWmsLog } from '@/api/incomeInoutWmsLog'
// import manufacturer from "@/api/outcomeWmsJbapplyTemp";
export default { export default {
name: 'EnterboundTwo', name: 'EnterboundTwo',
data() { data() {
...@@ -395,7 +387,6 @@ export default { ...@@ -395,7 +387,6 @@ export default {
affirmBy: '', affirmBy: '',
affirmDate: '' affirmDate: ''
}, },
// 是否显示弹出层(数据详情) // 是否显示弹出层(数据详情)
openDetails: false, openDetails: false,
// 弹出层标题 // 弹出层标题
......
...@@ -305,9 +305,6 @@ ...@@ -305,9 +305,6 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<!-- <el-form-item v-show="isShow" label="bz:" prop="cheBz">-->
<!-- <span>{{ singleDetails.cheBz|| '-' }}</span>-->
<!-- </el-form-item>-->
<el-form-item v-show="isShow" label="cjName:" prop="cheCjName"> <el-form-item v-show="isShow" label="cjName:" prop="cheCjName">
<span>{{ singleDetails.cheCjName|| '-' }}</span> <span>{{ singleDetails.cheCjName|| '-' }}</span>
</el-form-item> </el-form-item>
...@@ -490,7 +487,6 @@ export default { ...@@ -490,7 +487,6 @@ export default {
methods: { methods: {
getwareHouse() { getwareHouse() {
getDicts('WAREHOUSE').then(res => { getDicts('WAREHOUSE').then(res => {
console.log(res)
this.warehouseList = res.data this.warehouseList = res.data
const whId = res.data[0].dictValue const whId = res.data[0].dictValue
this.form.whId = whId this.form.whId = whId
...@@ -510,7 +506,6 @@ export default { ...@@ -510,7 +506,6 @@ export default {
listIncomeWmsBox(this.queryParams).then( listIncomeWmsBox(this.queryParams).then(
response => { response => {
this.incomeWmsBoxList = response.rows this.incomeWmsBoxList = response.rows
console.log('this.cheCjName', this.cheCjName)
this.total = response.total this.total = response.total
this.loading = false this.loading = false
} }
......
...@@ -753,13 +753,16 @@ export default { ...@@ -753,13 +753,16 @@ export default {
this.openGain = true this.openGain = true
this.title = '添加领用申请' this.title = '添加领用申请'
}, },
customUpperCase(sourceStr) {
return sourceStr && sourceStr !== '' ? sourceStr.toUpperCase() : sourceStr
},
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
this.reset() this.reset()
const id = row.businessId const id = row.businessId
findOutcomeWmsApply(id).then(response => { findOutcomeWmsApply(id).then(response => {
if (response.data.ptype === '30') { if (response.data.ptype === '30') {
if (response.data.pn === 'Na3PO4') { if (this.customUpperCase(response.data.pn) === this.customUpperCase('Na3PO4')) {
this.disabled2 = true this.disabled2 = true
this.disabled3 = true this.disabled3 = true
this.disabled4 = true this.disabled4 = true
...@@ -768,7 +771,7 @@ export default { ...@@ -768,7 +771,7 @@ export default {
this.$set(this.formPn, 'qty1', response.data.qty / 10) this.$set(this.formPn, 'qty1', response.data.qty / 10)
this.openGain = true this.openGain = true
this.title = '修改领用申请' this.title = '修改领用申请'
} else if (response.data.pn === 'NB-Y') { } else if (this.customUpperCase(response.data.pn) === this.customUpperCase('NB-Y')) {
this.disabled1 = true this.disabled1 = true
this.disabled3 = true this.disabled3 = true
this.disabled4 = true this.disabled4 = true
...@@ -777,7 +780,7 @@ export default { ...@@ -777,7 +780,7 @@ export default {
this.$set(this.formPn, 'qty2', response.data.qty / 15) this.$set(this.formPn, 'qty2', response.data.qty / 15)
this.openGain = true this.openGain = true
this.title = '修改领用申请' this.title = '修改领用申请'
} else if (response.data.pn === 'NB-Z') { } else if (this.customUpperCase(response.data.pn) === this.customUpperCase('NB-Z')) {
this.disabled1 = true this.disabled1 = true
this.disabled2 = true this.disabled2 = true
this.disabled4 = true this.disabled4 = true
...@@ -786,7 +789,7 @@ export default { ...@@ -786,7 +789,7 @@ export default {
this.$set(this.formPn, 'qty3', response.data.qty / 18) this.$set(this.formPn, 'qty3', response.data.qty / 18)
this.openGain = true this.openGain = true
this.title = '修改领用申请' this.title = '修改领用申请'
} else if (response.data.pn === 'NB-C') { } else if (this.customUpperCase(response.data.pn) === this.customUpperCase('NB-C')) {
this.disabled1 = true this.disabled1 = true
this.disabled2 = true this.disabled2 = true
this.disabled3 = true this.disabled3 = true
......
...@@ -755,7 +755,6 @@ export default { ...@@ -755,7 +755,6 @@ export default {
methods: { methods: {
// 搜索栏的时间范围 // 搜索栏的时间范围
handleChange() { handleChange() {
console.log('dateRange', this.dateRange)
if (this.dateRange !== null) { if (this.dateRange !== null) {
this.queryParams.beginTime = this.dateRange[0] + ' 00:00:00' this.queryParams.beginTime = this.dateRange[0] + ' 00:00:00'
this.queryParams.endTime = this.dateRange[1] + ' 23:59:59' this.queryParams.endTime = this.dateRange[1] + ' 23:59:59'
...@@ -763,7 +762,6 @@ export default { ...@@ -763,7 +762,6 @@ export default {
this.queryParams.beginTime = '' this.queryParams.beginTime = ''
this.queryParams.endTime = '' this.queryParams.endTime = ''
} }
console.log('queryParams', this.queryParams)
}, },
// 输入值发生变化时触发查询操作 // 输入值发生变化时触发查询操作
handleInputChange() { handleInputChange() {
...@@ -905,7 +903,6 @@ export default { ...@@ -905,7 +903,6 @@ export default {
} }
}) })
this.singleDetails = row this.singleDetails = row
console.log(row)
this.title = '详情信息' this.title = '详情信息'
this.openDetails = !this.openDetails this.openDetails = !this.openDetails
this.isShow = false this.isShow = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment