Browse Source

完善费用申请管理勾选是否出门和选择车架号无法删除的问题

master
yunuo970428 3 years ago
parent
commit
31e8c4c68d
  1. 31
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/feiyongshenqing/expenseAdd.vue
  2. 4
      anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/feiyongshenqing/expenseInfo.vue
  3. 4
      anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/feiyongguanliFlow/feiyongguanli/feiyongDaiBanInfo.vue
  4. 25
      anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/feiyongguanliFlow/feiyongguanli/feiyongEdit.vue
  5. 4
      anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/feiyongguanliFlow/feiyongguanli/feiyongYiBanInfo.vue

31
anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/feiyongshenqing/expenseAdd.vue

@ -80,8 +80,13 @@
<el-col :span="24">
<div class="span-sty spanOneWidth"><span>车架号</span></div>
<el-form-item>
<el-input v-model="formobj.vinNo" placeholder="更多配置" class="addinputw" style="margin-left: 120px !important; width: 80% !important; " clearable/>
<el-button type="primary" style="margin-left: 15px" @click="handleSelect">选择</el-button>
<div style="margin-left: 120px !important;">
<div class="linkNoSty" v-for="(item,index) in formobj.vinNoList">
<span>{{ item }}</span>
<el-button type="danger" style="margin-left: 5px" icon="el-icon-close" circle size="mini" @click="handledel(index)"></el-button>
</div>
</div>
<el-button type="primary" class="btnSelect" @click="handleSelect">选择</el-button>
</el-form-item>
</el-col>
</el-row>
@ -126,7 +131,6 @@ export default {
taskId: '',
useTypeKey: '',
useTypeValue: '',
vinNo: '',
vinNoList: []
},
rules: {},
@ -197,7 +201,6 @@ export default {
this.formobj.instanceId = resp.data.procInstId
if (this.formobj.isVeh === 1) {
this.checked = true
this.formobj.vinNo = this.formobj.vinNoList.join(',')
}
}
}).catch((e) => {
@ -245,6 +248,9 @@ export default {
this.viewState = 2
this.$refs['divSelect'].showData(this.formobj.vinNoList)
},
handledel(index) {
this.formobj.vinNoList.splice(index, 1)
},
//
backData(value) {
this.viewState = 1
@ -253,7 +259,6 @@ export default {
this.formobj.vinNoList.push(e)
})
}
this.formobj.vinNo = this.formobj.vinNoList.join(',')
},
saveOrUpdate() {
if (!this.checked) {
@ -330,7 +335,6 @@ export default {
taskId: '',
useTypeKey: '',
useTypeValue: '',
vinNo: '',
vinNoList: []
}
this.checked = false
@ -358,10 +362,6 @@ export default {
margin-left: 120px !important;
width: 30% !important;
}
.icon {
color: #e84026;
margin-right: 4px;
}
/deep/ .el-form-item__error {
margin-left: 120px;
}
@ -374,7 +374,14 @@ export default {
color: #ffffff;
border: 1px solid #e0e3eb;
}
.btn_style {
color: #FFFFFF;
.linkNoSty {
display: inline-block;
padding-right: 10px;
}
.btnSelect {
display: inline-block;
position: absolute;
top: 5px;
right: 5px;
}
</style>

4
anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/feiyongshenqing/expenseInfo.vue

@ -50,7 +50,7 @@
<el-row>
<el-col :span="24">
<div class="span-sty spanOneWidth"><span>是否出门</span></div>
<el-form-item><span class="addinputInfo addinputwOne">{{ formobj.isOutDoor }}</span></el-form-item>
<el-form-item><span class="addinputInfo addinputwOne">{{ formobj.isOutDoor === 1 ? '是' : '否' }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
@ -85,7 +85,7 @@ export default {
req.fetchBySid(row.sid).then((resp) => {
this.formobj = resp.data
if (this.formobj.vinNoList.length > 0) {
this.formobj.vinNo = this.formobj.vinNoList.join(',')
this.formobj.vinNo = this.formobj.vinNoList.join('')
}
}).catch((e) => {
this.formobj = row

4
anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/feiyongguanliFlow/feiyongguanli/feiyongDaiBanInfo.vue

@ -52,7 +52,7 @@
<el-row>
<el-col :span="24">
<div class="span-sty spanOneWidth"><span>是否出门</span></div>
<el-form-item><span class="addinputInfo addinputwOne">{{ formobj.isOutDoor }}</span></el-form-item>
<el-form-item><span class="addinputInfo addinputwOne">{{ formobj.isOutDoor === 1 ? '是' : '否' }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
@ -154,7 +154,7 @@ export default {
req.fetchBySid(sid).then((resp) => {
this.formobj = resp.data
if (this.formobj.vinNoList.length > 0) {
this.formobj.vinNo = this.formobj.vinNoList.join(',')
this.formobj.vinNo = this.formobj.vinNoList.join('')
}
}).catch((e) => {
this.formobj = {}

25
anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/feiyongguanliFlow/feiyongguanli/feiyongEdit.vue

@ -79,8 +79,13 @@
<el-col :span="24">
<div class="span-sty spanOneWidth"><span>车架号</span></div>
<el-form-item>
<el-input v-model="formobj.vinNo" placeholder="更多配置" class="addinputw" style="margin-left: 120px !important; width: 80% !important; " clearable/>
<el-button type="primary" style="margin-left: 15px" @click="handleSelect">选择</el-button>
<div style="margin-left: 120px !important;">
<div class="linkNoSty" v-for="(item,index) in formobj.vinNoList">
<span>{{ item }}</span>
<el-button type="danger" style="margin-left: 5px" icon="el-icon-close" circle size="mini" @click="handledel(index)"></el-button>
</div>
</div>
<el-button type="primary" class="btnSelect" @click="handleSelect">选择</el-button>
</el-form-item>
</el-col>
</el-row>
@ -125,7 +130,6 @@ export default {
taskId: '',
useTypeKey: '',
useTypeValue: '',
vinNo: '',
vinNoList: []
},
rules: {},
@ -190,7 +194,6 @@ export default {
this.formobj.instanceId = resp.data.procInstId
if (this.formobj.isVeh === 1) {
this.checked = true
this.formobj.vinNo = this.formobj.vinNoList.join(',')
}
}
}).catch((e) => {
@ -238,6 +241,9 @@ export default {
this.viewState = 2
this.$refs['divSelect'].showData(this.formobj.vinNoList)
},
handledel(index) {
this.formobj.vinNoList.splice(index, 1)
},
//
backData(value) {
this.viewState = 1
@ -246,7 +252,6 @@ export default {
this.formobj.vinNoList.push(e)
})
}
this.formobj.vinNo = this.formobj.vinNoList.join(',')
},
saveOrUpdate() {
if (!this.checked) {
@ -359,4 +364,14 @@ export default {
.btn_style {
color: #FFFFFF;
}
.linkNoSty {
display: inline-block;
padding-right: 10px;
}
.btnSelect {
display: inline-block;
position: absolute;
top: 5px;
right: 5px;
}
</style>

4
anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/feiyongguanliFlow/feiyongguanli/feiyongYiBanInfo.vue

@ -50,7 +50,7 @@
<el-row>
<el-col :span="24">
<div class="span-sty spanOneWidth"><span>是否出门</span></div>
<el-form-item><span class="addinputInfo addinputwOne">{{ formobj.isOutDoor }}</span></el-form-item>
<el-form-item><span class="addinputInfo addinputwOne">{{ formobj.isOutDoor === 1 ? '是' : '否' }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
@ -116,7 +116,7 @@ export default {
req.fetchBySid(sid).then((resp) => {
this.formobj = resp.data
if (this.formobj.vinNoList.length > 0) {
this.formobj.vinNo = this.formobj.vinNoList.join(',')
this.formobj.vinNo = this.formobj.vinNoList.join('')
}
}).catch((e) => {
this.formobj = {}

Loading…
Cancel
Save