|
|
@ -163,6 +163,11 @@ export default { |
|
|
this.$message.warning("参数为空") |
|
|
this.$message.warning("参数为空") |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
// 标准袋用 tcpvalue,零数袋用 tcpvalue2,保存到 print_label_record.weight - rqrq |
|
|
|
|
|
let tcpWeight = this.flag ? this.tcpvalue2 : this.tcpvalue |
|
|
|
|
|
if (tcpWeight !== '' && tcpWeight != null && tcpWeight !== undefined) { |
|
|
|
|
|
params.weight = tcpWeight |
|
|
|
|
|
} |
|
|
// 发起请求 |
|
|
// 发起请求 |
|
|
getPackagePrintDataList(params).then(({data}) => { |
|
|
getPackagePrintDataList(params).then(({data}) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
|