260221a8 by renchao@pashanhoo.com

style:材料信息设置

1 parent b37a449c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-13 10:07:31
* @LastEditTime: 2023-10-13 10:26:57
-->
<template>
<div>
......@@ -198,6 +198,16 @@
sendThis(this)
this.init()
},
watch: {
'form.djlx': {
handler (newName, oldName) {
this.form.ywmcList = this.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw }))
},
// 代表在wacth里声明了firstName这个方法之后立即先去执行handler方法
immediate: true,
deep: true
}
},
methods: {
//页面初始化
/**
......@@ -280,7 +290,6 @@
console.log(this.form.clxx);
if (that.formData.sqfl == "2") {
that.form.ywmcList = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw }))
console.log(that.form.ywmcList, ' that.form.ywmcList');
}
// _this.form.bsmSqyw = res.result.bsmSqyw;
// _this.form.ywDetail = res.result.ywDetail;
......