83213799 by xiaomiao

--no commit message

1 parent 177136d2
......@@ -113,14 +113,6 @@ export default {
},
},
mounted() {
console.log(
"bestepid: this.$route.query.bestepid,",
this.$route.query.bestepid
);
console.log(
"bestepid: this.$route.query.sqywbm,",
this.$route.query.sqywbm
);
this.ableOperation = this.$parent.ableOperation;
},
methods: {
......@@ -162,7 +154,6 @@ export default {
return new Promise((resolve) => {
this.unitData = this.$parent.unitData;
var formdata = new FormData();
formdata.append("bsmSlsq", this.$parent.bsmSlsq);
if (this.$route.query.sqywbm == "DJBBL") {
formdata.append("bsmSldy", this.$parent.bsmRepair);
......@@ -259,6 +250,9 @@ export default {
sjlx: data.cllx,
sfxjcl: "1", // 是否必选
};
if (this.$route.query.sqywbm == "DJBBL") {
obj.bsmSldy=this.$parent.bsmRepair
}
saveClml(obj).then(async (res) => {
if (res.code == 200) {
let res = await this.clmlInitList(2);
......@@ -324,6 +318,7 @@ export default {
data: this.tableData,
unitData: this.$parent.unitData,
ableOperation: this.$parent.ableOperation,
bsmRepair:this.$parent.bsmRepair
},
"60%",
true
......
......@@ -209,9 +209,14 @@
return new Promise(resolve => {
this.unitData = this.$parent.unitData;
var formdata = new FormData();
formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq);
formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq);
if (Vue.prototype.$currentRoute.query.sqywbm == "DJBBL") {
formdata.append("bsmSldy", this.formData.bsmRepair);
formdata.append("clfl", 3);
} else {
formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
formdata.append("clfl", 2);
}
InitClml(formdata).then((res) => {
if (res.code == 200) {
resolve(res.code)
......