注释检验方法赋值

tykong-cidian
duxiaoning 2023-01-17 15:45:42 +08:00
parent 7fe0085566
commit 0dbef950fd
3 changed files with 17 additions and 16 deletions

View File

@ -196,6 +196,7 @@ import {
productTypeMap, productTypeMap,
productTypeSplMap, productTypeSplMap,
} from "@/lib/variateMap"; } from "@/lib/variateMap";
import qs from "qs";
export default { export default {
components: { components: {

View File

@ -443,21 +443,21 @@ export default {
self.projection = pm.projection; self.projection = pm.projection;
// //
getAnalyseMethod(self.orderId).then((res) => { // getAnalyseMethod(self.orderId).then((res) => {
// console.log('',res); // // console.log('',res);
if (res.code === 200) { // if (res.code === 200) {
let truthFun = res.data.default; // let truthFun = res.data.default;
if (res.data.selected.length !== 0) truthFun = res.data.selected; // if (res.data.selected.length !== 0) truthFun = res.data.selected;
if (truthFun.length !== 0) { // if (truthFun.length !== 0) {
const tfArr = []; // const tfArr = [];
for (let i in truthFun) { // for (let i in truthFun) {
tfArr.push(truthFun[i].id); // tfArr.push(truthFun[i].id);
} // }
self.formInline.truthCheckFun = tfArr; // self.formInline.truthCheckFun = tfArr;
self.truthFun = true; // self.truthFun = true;
} // }
} // }
}); // });
// //
if (om.processMethods !== null) { if (om.processMethods !== null) {

View File

@ -159,7 +159,7 @@ export default {
} }
}, },
changePage(orderMsg) { changePage(orderMsg) {
// 150424 150208 // 150424 150208 150166
this.$router.push("/orderUnprocessed?orderId=150208&token=WEB*1673425993482@L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19"); this.$router.push("/orderUnprocessed?orderId=150208&token=WEB*1673425993482@L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19");
}, },
}, },