商品列表修改活动价

This commit is contained in:
2024-06-06 17:18:51 +08:00
parent a7fbbdbae7
commit 918ecfa47a
2 changed files with 4 additions and 1 deletions

View File

@@ -372,6 +372,8 @@ export default {
var bookIDS = this.getBookIds();
// console.log(this.dataForm.productImageList)
if (valid) {
console.log('this.dataForm.hDprice at line 375:', this.dataForm.hDprice)
if (!this.dataForm.hDprice || this.dataForm.hDprice == 0) {
// console.log('没有值')
this.dataForm.hDprice = 0;

View File

@@ -550,7 +550,8 @@ export default {
method: "POST",
data: {
...this.dataForm,
product_details: this.dataForm.productDetails
product_details: this.dataForm.productDetails,
activityPrice: this.dataForm.hDprice,
},
header: {
//默认 无 说明:请求头