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