|
@@ -221,7 +221,9 @@ export default {
|
|
|
.then(() => {
|
|
|
let MethodName = "order-discount_manager-DeleteGoodsDiscountCode";
|
|
|
let data = {
|
|
|
- id: row.id,
|
|
|
+ discount_code_id: row.id,
|
|
|
+ goods_id: this.bookId,
|
|
|
+ goods_type: this.goods_type * 1,
|
|
|
};
|
|
|
LearnWebSI(MethodName, data)
|
|
|
.then((res) => {
|
|
@@ -251,8 +253,9 @@ export default {
|
|
|
}
|
|
|
let MethodName = "data_export-ExportBookDiscountCodeList";
|
|
|
let data = {
|
|
|
- book_id: this.bookId,
|
|
|
use_status: this.exportRadio,
|
|
|
+ goods_id: this.bookId,
|
|
|
+ goods_type: this.goods_type * 1,
|
|
|
};
|
|
|
window.open(
|
|
|
process.env.VUE_APP_BASE_API +
|