修改参数校验

This commit is contained in:
liuhanqing
2026-01-06 10:55:38 +08:00
parent 8e52370f29
commit 087cdb0326

View File

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