|
|
@@ -768,7 +768,6 @@ import Aside from "@/optionSystem/FProductManage/modules/aside.vue";
|
|
|
export default {
|
|
|
props: ["position"],
|
|
|
components: { MySelect, MyTable, SelectBar, Aside },
|
|
|
- inject: ["valvetype", "detailData"],
|
|
|
data() {
|
|
|
return {
|
|
|
items: [
|
|
|
@@ -910,9 +909,7 @@ export default {
|
|
|
.requested({
|
|
|
id: 2024071916224702,
|
|
|
content: {
|
|
|
- sa_projectid: this.detailData()
|
|
|
- ? this.detailData().sa_projectid
|
|
|
- : 0,
|
|
|
+ sa_projectid:0,
|
|
|
part_itemids: this.resultArr.map((item) => {
|
|
|
return {
|
|
|
parttype: item.parttype,
|
|
|
@@ -959,7 +956,7 @@ export default {
|
|
|
this.guangtouParam.content.where.drivetype = "电动";
|
|
|
this.resultArr = [];
|
|
|
this.fujianArr = [];
|
|
|
- this.$emit("close");
|
|
|
+ // this.$emit("close");
|
|
|
},
|
|
|
//搜索
|
|
|
Search(type, position) {
|
|
|
@@ -1166,10 +1163,10 @@ export default {
|
|
|
sa_lectotypecfgid: 0,
|
|
|
projectname: "",
|
|
|
enterprisename: "",
|
|
|
- source: "",
|
|
|
+ source: "单独选型",
|
|
|
sourceid: this.$route.query.id,
|
|
|
sourcetable: "",
|
|
|
- valvetype: this.valvetype(),
|
|
|
+ valvetype: "蝶阀",
|
|
|
filter: {
|
|
|
mainvalve: mainvalve,
|
|
|
actuator: actuator,
|
|
|
@@ -1180,8 +1177,9 @@ export default {
|
|
|
part_itemids: this.resultArr,
|
|
|
},
|
|
|
};
|
|
|
- this.$emit("handleParam", param);
|
|
|
+ // this.$emit("handleParam", param);
|
|
|
let res = await this.$api.requested(param);
|
|
|
+ console.log(res,'输出res')
|
|
|
this.tool.showMessage(res, () => {
|
|
|
this.close();
|
|
|
});
|