资产查看

lijinlong
吕天方 5 months ago
parent 0377083bd7
commit 608ba3268c

@ -2484,7 +2484,7 @@
</el-row>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;">
<el-button type="danger">不通过</el-button>
<el-button type="primary" @click="newAssets"></el-button>
<el-button type="primary" @click="newAssets" :loading="loading">通过</el-button>
</el-row>
</div>
</el-form>
@ -2698,6 +2698,12 @@ export default {
getInfo(id){
assetInfo(id).then(res=>{
this.ruleForm = res.data;
console.log(this.ruleForm);
if(!this.ruleForm.xjgywxt) {
this.ruleForm.xjgywxt = {}
this.$set(this.ruleForm.xjgywxt, 'remark', "")
}
console.log(this.ruleForm);
this.ruleForm.xttz ? this.xttz = this.ruleForm.xttz.split(',') : [];
this.ruleForm.gylxxList.length > 0 ? this.chepingUnit = this.ruleForm.gylxxList.filter((item) => item.type == 1) : []
this.ruleForm.gylxxList.length > 0 ? this.yjgysUnit = this.ruleForm.gylxxList.filter((item) => item.type == 2) : []
@ -2716,9 +2722,6 @@ export default {
this.ruleForm.xtfhqkFzd ? this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',') : []
this.ruleForm.xtfhqkFls ? this.xtfhqkFls = this.ruleForm.xtfhqkFls.split(',') : []
if(this.ruleForm.xjgywxt.remark) {
this.radio = this.ruleForm.xjgywxt.remark;
}
if(this.ruleForm.sheng && this.ruleForm.shi && this.ruleForm.qu) {
this.dlwz = [this.ruleForm.sheng,this.ruleForm.shi,this.ruleForm.qu]
@ -2861,9 +2864,6 @@ export default {
this.ruleForm.shi = this.dlwz[1]
this.ruleForm.qu = this.dlwz[2]
}
if(this.radio) {
this.xjgywxt.remark = this.radio;
}
this.loading = true;
if(this.$route.query.pageType == 'change') {
assetUnitData('put',this.ruleForm).then(res=>{

Loading…
Cancel
Save