|
|
|
@ -478,16 +478,16 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
confirmPrint() {
|
|
|
|
|
if (this.printCount < 1) {
|
|
|
|
|
this.$message.warning('打印张数必须大于 0!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// if (this.printCount < 1) {
|
|
|
|
|
// this.$message.warning('打印张数必须大于 0!');
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
const ids = this.ids[0];
|
|
|
|
|
// 发送请求到后端
|
|
|
|
|
// 发送请求到后端
|
|
|
|
|
const payload = {
|
|
|
|
|
storageId: ids, // 传递选中的 ID
|
|
|
|
|
userDefined10: this.printCount // 传递打印数量
|
|
|
|
|
storageId: ids // 传递选中的 ID
|
|
|
|
|
// userDefined10: this.printCount // 传递打印数量
|
|
|
|
|
};
|
|
|
|
|
// 这里假设 addBS 是一个 API 函数
|
|
|
|
|
addBS(payload)
|
|
|
|
|