|
@@ -264,7 +264,7 @@ export default {
|
|
|
loading: false,
|
|
|
parmValue: {
|
|
|
good_name: "", //商品名称
|
|
|
- spucodecode: "", //商品编号
|
|
|
+ spucode: "", //商品编号
|
|
|
cat_id: "", //商品分类
|
|
|
start: "", //开始日期
|
|
|
end: "", //结束日期
|
|
@@ -320,7 +320,7 @@ export default {
|
|
|
};
|
|
|
this.parmValue = {
|
|
|
good_name: "", //商品名称
|
|
|
- spucodecode: "", //商品编号
|
|
|
+ spucode: "", //商品编号
|
|
|
cat_id: "", //商品分类
|
|
|
start: "", //开始日期
|
|
|
end: "", //结束日期
|
|
@@ -432,14 +432,14 @@ export default {
|
|
|
this.loading = true;
|
|
|
let model = JSON.parse(JSON.stringify(this.parmValue));
|
|
|
model.good_name = this.select === "1" ? this.sinput : ""; //商品名称
|
|
|
- model.spucodecode = this.select === "1" ? this.sinput : ""; //商品编号
|
|
|
- model.platform_code = this.select === "1" ? this.sinput : ""; //平台编码
|
|
|
- model.supplierNo = this.select === "1" ? this.sinput : ""; //供应商编号
|
|
|
- model.companyNo = this.select === "1" ? this.sinput : ""; //业务企业编号
|
|
|
- model.exam_status = this.select === "1" ? this.sinput : ""; //审核状态
|
|
|
- model.plat_code = this.select === "1" ? this.sinput : ""; //平台商品编号
|
|
|
- model.creater = this.select === "1" ? this.sinput : ""; //
|
|
|
- const res = await asyncRequest.list(this.parmValue);
|
|
|
+ model.spucode = this.select === "2" ? this.sinput : ""; //商品编号
|
|
|
+ // model.platform_code = this.select === "1" ? this.sinput : ""; //平台编码
|
|
|
+ // model.supplierNo = this.select === "1" ? this.sinput : ""; //供应商编号
|
|
|
+ model.companyNo = this.select === "5" ? this.sinput : ""; //业务企业编号
|
|
|
+ // model.exam_status = this.select === "1" ? this.sinput : ""; //审核状态
|
|
|
+ model.plat_code = this.select === "6" ? this.sinput : ""; //平台商品编号
|
|
|
+ model.creater = this.select === "7" ? this.sinput : ""; //
|
|
|
+ const res = await asyncRequest.list(model);
|
|
|
if (res && res.code === 0 && res.data) {
|
|
|
this.tableData = res.data.list;
|
|
|
this.tableData.forEach((a) => {
|