Commit 0c1a3d25 authored by hubaoshan's avatar hubaoshan

删除console.log

parent 4ffa20cf
......@@ -544,7 +544,6 @@ export default {
next()
},
created() {
console.log('manufacturer', manufacturer)
this.manufacturer = manufacturer
if (this.$store.getters.searchParams[this.$route.path]) {
const { searchParams } = this.$store.getters
......@@ -558,7 +557,6 @@ export default {
},
methods: {
handleChange() {
console.log('dateRange', this.dateRange)
if (this.dateRange !== null) {
this.queryParams.beginTime = this.dateRange[0] + ' 00:00:00'
this.queryParams.endTime = this.dateRange[1] + ' 23:59:59'
......@@ -566,7 +564,6 @@ export default {
this.queryParams.beginTime = ''
this.queryParams.endTime = ''
}
console.log('queryParams', this.queryParams)
},
/** 跟据ID获取label*/
getDataDictLabel(whId) {
......@@ -582,7 +579,6 @@ export default {
this.loading = true
listIncomeInoutWmsLog(this.queryParams).then(
response => {
console.log(response)
this.incomeInoutWmsLogList = response.rows
this.total = response.total
this.loading = false
......@@ -598,9 +594,7 @@ export default {
this.isShow = false
}
})
console.log(row)
this.singleDetails = row
console.log(this.singleDetails)
this.title = '详情信息'
this.isShow = true
this.openDetails = !this.openDetails
......@@ -633,7 +627,6 @@ export default {
},
getwareHouse() {
getDicts('WAREHOUSE').then(res => {
console.log('仓库数据字典', res)
this.warehouseList = res.data
const whId = res.data[0].dictValue
this.form.whId = whId
......
......@@ -643,7 +643,6 @@ export default {
},
methods: {
handleChange() {
console.log('dateRange', this.dateRange)
if (this.dateRange !== null) {
this.queryParams.beginTime = this.dateRange[0] + ' 00:00:00'
this.queryParams.endTime = this.dateRange[1] + ' 23:59:59'
......@@ -651,7 +650,6 @@ export default {
this.queryParams.beginTime = ''
this.queryParams.endTime = ''
}
console.log('queryParams', this.queryParams)
},
/* 获取数据字典中的值*/
getDataDictLabel(whId) {
......@@ -722,7 +720,6 @@ export default {
},
getwareHouse() {
getDicts('WAREHOUSE').then(res => {
console.log('仓库数据字典', res)
this.warehouseList = res.data
const whId = res.data[0].dictValue
this.form.whId = whId
......@@ -769,7 +766,6 @@ export default {
this.formPn = response.data
this.formPn.whId = response.data.whId
this.$set(this.formPn, 'qty1', response.data.qty / 10)
console.log(this.formPn.qty1)
this.openGain = true
this.title = '修改领用申请'
} else if (response.data.pn === 'NB-Y') {
......@@ -836,7 +832,6 @@ export default {
this.getList()
})
} else {
console.log('this.form:', this.form)
addOutcomeWmsApply(this.form).then(response => {
this.msgSuccess('新增成功')
this.open = false
......@@ -851,7 +846,6 @@ export default {
submitFormPn: function() {
this.$refs['formPn'].validate(valid => {
if (valid) {
console.log('this.formPn', this.formPn)
if (this.formPn.businessId !== undefined && this.formPn.businessId) {
const qtyList = [
{ qty1: this.formPn.qty1 },
......@@ -877,14 +871,12 @@ export default {
const qtyValue = item.qty1 || item.qty2 || item.qty3 || item.qty4
return qtyValue * multiplier // 返回乘以乘数后的值
})
console.log(Qty)
const newQty = Qty[0]
const obj = {
qty: newQty,
whId: this.formPn.whId,
businessId: this.formPn.businessId
}
console.log(obj)
updateOutcomeWmsApply(obj).then(response => {
this.msgSuccess('修改成功')
this.openGain = false
......@@ -934,7 +926,6 @@ export default {
const obj = {
boxList: itemQty
}
console.log('this.boxList:', obj)
addOutcomeWmsApplyPtype(obj).then(response => {
this.msgSuccess('新增成功')
this.open = false
......@@ -1005,7 +996,6 @@ export default {
}
})
this.singleDetails = row
console.log('row', row)
this.title = '详情信息'
this.openDetails = !this.openDetails
this.isShow = !this.isShow
......
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