修改参数校验
This commit is contained in:
@@ -419,7 +419,8 @@ export default {
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
searchText: ''
|
searchText: '',
|
||||||
|
spaer1:null
|
||||||
},
|
},
|
||||||
// 表格数据
|
// 表格数据
|
||||||
tableData: [],
|
tableData: [],
|
||||||
@@ -478,8 +479,8 @@ export default {
|
|||||||
},
|
},
|
||||||
// 二维码内容
|
// 二维码内容
|
||||||
qrCodeValue(data) {
|
qrCodeValue(data) {
|
||||||
console.log('二维码内容')
|
//console.log('二维码内容')
|
||||||
console.log(data)
|
//console.log(data)
|
||||||
const text = `${data.spare1}@${data.model}@${data.spare2}@${data.spare3}@${data.serial}`
|
const text = `${data.spare1}@${data.model}@${data.spare2}@${data.spare3}@${data.serial}`
|
||||||
var bm = this.procode(text)
|
var bm = this.procode(text)
|
||||||
return "MODEL:" + data.model + " COLOR:" + data.color
|
return "MODEL:" + data.model + " COLOR:" + data.color
|
||||||
@@ -535,7 +536,8 @@ export default {
|
|||||||
this.queryParams = {
|
this.queryParams = {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
searchText: ''
|
searchText: '',
|
||||||
|
spare1:null
|
||||||
}
|
}
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
@@ -618,10 +620,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleErpData(row) {
|
handleErpData() {
|
||||||
|
console.log(1111)
|
||||||
if (this.queryParams.spare1 === ''){
|
console.log(this.queryParams)
|
||||||
|
if (!this.queryParams.spare1){
|
||||||
this.$message.error('请输入订单号')
|
this.$message.error('请输入订单号')
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const param = {
|
const param = {
|
||||||
|
|||||||
Reference in New Issue
Block a user