Commit 9e762cec authored by 黄媛媛's avatar 黄媛媛

修改

parent b79a41ae
......@@ -2,7 +2,7 @@
<div class="Application">
<div class="Application_content">
<div>
<el-select @change="ChangeType" v-model="formdata.Type" placeholder="请选择">
<el-select :disabled="numDisabled" @change="ChangeType" v-model="formdata.Type" placeholder="请选择">
<el-option label="现金" :value="1"></el-option>
<el-option label="转账" :value="2"></el-option>
</el-select>
......@@ -28,7 +28,7 @@
{{baseData.info}}
</div>
<table style="margin-top:30px" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<table style="margin-top:30px" class="ApplicationTable singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>受取日</th>
<th width="200">受取者</th>
......@@ -36,9 +36,11 @@
<th>金 額</th>
</tr>
<tr>
<td>{{formdata.GetDate}}</td>
<td>
<el-input v-model="formdata.LeaderName" placeholder="请输入内容"></el-input>
<el-input :disabled="numDisabled" v-model="formdata.GetDate" placeholder="请输入内容"></el-input>
</td>
<td>
<el-input :disabled="numDisabled" v-model="formdata.LeaderName" placeholder="请输入内容"></el-input>
</td>
<td>
<el-select clearable :disabled="disabled1" v-model="formdata.GetAddress" placeholder="请选择">
......@@ -51,7 +53,7 @@
</el-select>
</td>
<td>
<el-input v-model="formdata.Money" placeholder="请输入内容"></el-input>
<el-input :disabled="numDisabled" v-model="formdata.Money" placeholder="请输入内容"></el-input>
</td>
</tr>
</table>
......@@ -64,9 +66,9 @@
<div style="width:100%;height:100%;overflow: hidden;">
<img :src="formdata.ImgAddress?formdata.ImgAddress:''">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile"></span>
<span v-if="!numDisabled" class="iconfont icon-guanbi1" @click="deleteUploadFile"></span>
</div>
<div class="_pic_upload" >
<div v-if="!numDisabled" class="_pic_upload" >
<el-upload style="width:100%;height:100%"
drag
:http-request="uploadFileBtn"
......@@ -100,6 +102,7 @@ export default {
id:"",
disabled:false,
disabled1:false,
numDisabled:false,
}
},
created(){
......@@ -164,6 +167,7 @@ export default {
link.href = _loadUrl+res.data.data
document.body.appendChild(link);
link.click();
this.GetData();
}else{
this.$message.error(res.data.message)
}
......@@ -182,6 +186,9 @@ export default {
this.apipost('Financial_get_GetFinanceCashWithDrawals',{FrId:this.FrId}, res => {
if(res.data.resultCode == 1) {
this.data = res.data.data;
if(this.data.ApplyForNumber!="待生成"){
this.numDisabled=true;
}
console.log("this.data",this.data)
this.formdata=Object.assign({},res.data.data);
this.formdata.Type=1;
......@@ -207,6 +214,10 @@ export default {
</script>
<style>
.Application .ApplicationTable .el-input.is-disabled .el-input__inner{
border:none;
background-color:transparent;
}
.Application .singeRowTable tr td{
padding: 6px;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment