|
@@ -10,9 +10,10 @@
|
|
</el-button></el-col>
|
|
</el-button></el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<div class="center">
|
|
<div class="center">
|
|
- <div style='margin:0 auto 10px;width:90%;'>基本信息</div>
|
|
|
|
- <div>
|
|
|
|
- <el-form label-position="left">
|
|
|
|
|
|
+
|
|
|
|
+ <div style='margin:0 auto 10px;width:90%;display:flex;'>
|
|
|
|
+ <el-form class='left-form' label-position="left">
|
|
|
|
+ <div style='margin:0 auto 10px;'>基本信息</div>
|
|
<el-form-item label-width='100px' label="用途" span="1" prop="purpose" class="readonly">
|
|
<el-form-item label-width='100px' label="用途" span="1" prop="purpose" class="readonly">
|
|
<ws-select disabled v-model="deptBudgetList.expensesPurpose" placeholder="" class="typeselect" >
|
|
<ws-select disabled v-model="deptBudgetList.expensesPurpose" placeholder="" class="typeselect" >
|
|
<ws-option label="合同费用" value="1"
|
|
<ws-option label="合同费用" value="1"
|
|
@@ -58,22 +59,39 @@
|
|
:src="item"
|
|
:src="item"
|
|
:preview-src-list="srcList"></el-image></span>
|
|
:preview-src-list="srcList"></el-image></span>
|
|
-->
|
|
-->
|
|
- <el-upload ref='uploadfiles' :file-list='srcList' action="https://www.zthymaoyi.com/upload/admin" list-type="picture-card"
|
|
|
|
- :on-success="handlefujian" :on-remove="handleRemove" class="photo2">
|
|
|
|
- <i class="el-icon-plus"></i>
|
|
|
|
- </el-upload>
|
|
|
|
|
|
+ <el-upload ref='uploadfiles' :file-list='srcList' action="https://www.zthymaoyi.com/upload/admin"
|
|
|
|
+ list-type="picture-card" :on-success="handlefujian" :on-remove="handleRemove" class="photo2">
|
|
|
|
+ <i class="el-icon-plus"></i>
|
|
|
|
+ </el-upload>
|
|
</div>
|
|
</div>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
- <div style='width:90%;margin:10px auto;text-align:right;'>
|
|
|
|
|
|
+ <div style='width:50%;'>
|
|
|
|
+ <div style='margin:0 auto 10px;width:90%;'>账户信息</div>
|
|
|
|
+ <el-form label-position="left">
|
|
|
|
+ <el-form-item label-width='100px' label="收款方" span="1" prop="purpose" class="readonly">
|
|
|
|
+ {{payeeinfo.customerType=="企业客户"?payeeinfo.compName:payeeinfo.customerName}}
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label-width='100px' label="账号" span="1" prop="purpose" class="readonly">
|
|
|
|
+ {{payeeinfo.bankCard}}
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label-width='100px' label="开户行" span="1" prop="purpose" class="readonly">
|
|
|
|
+ {{payeeinfo.bankDeposit}}
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label-width='100px' label="开户支行" span="1" prop="purpose" class="readonly">
|
|
|
|
+ {{payeeinfo.bankDepositBranch}}
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style='width:90%;margin:10px auto;text-align:right;'>
|
|
<el-button class="bg-bottom" type="primary" size="small" @click="submit()">提交
|
|
<el-button class="bg-bottom" type="primary" size="small" @click="submit()">提交
|
|
</el-button></div>
|
|
</el-button></div>
|
|
- </div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
- import {lookexenseinfo,expensepayment} from '@/model/profitable/index'
|
|
|
|
|
|
+ import {lookexenseinfo,expensepayment,getpayeeinfo} from '@/model/profitable/index'
|
|
import {woekflowhandle,} from '@/model/tasksport/index'
|
|
import {woekflowhandle,} from '@/model/tasksport/index'
|
|
export default {
|
|
export default {
|
|
components: {},
|
|
components: {},
|
|
@@ -88,6 +106,7 @@
|
|
deptBudgetList:{},
|
|
deptBudgetList:{},
|
|
makeWordData: {},
|
|
makeWordData: {},
|
|
srcList:[],
|
|
srcList:[],
|
|
|
|
+ payeeinfo:{},
|
|
textarea:'',
|
|
textarea:'',
|
|
valueData: [{
|
|
valueData: [{
|
|
date: 10
|
|
date: 10
|
|
@@ -112,12 +131,22 @@
|
|
this.deptBudgetList=response
|
|
this.deptBudgetList=response
|
|
var arr=response.addressUrl.split(',')
|
|
var arr=response.addressUrl.split(',')
|
|
for (let i = 0; i < arr.length; i++) {
|
|
for (let i = 0; i < arr.length; i++) {
|
|
- this.srcList.push({url:arr[i]})
|
|
|
|
-
|
|
|
|
|
|
+ if(arr[i]!=''){
|
|
|
|
+ this.srcList.push({url:arr[i]})
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(localStorage.getItem('ws-pf_roleName')=='出纳'){
|
|
|
|
+ if(this.deptBudgetList.expensesPurpose==1){
|
|
|
|
+ getpayeeinfo({compId:localStorage.getItem('ws-pf_compId'),contractNo:response.contractNo}).toPromise()
|
|
|
|
+ .then((response1) => {
|
|
|
|
+ this.payeeinfo=response1
|
|
|
|
+ console.log(this.payeeinfo)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- this.paymentScreenshot=response.addressUrl.split(',')
|
|
|
|
|
|
+ this.paymentScreenshot=this.srcList
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
handlefujian(file) {
|
|
handlefujian(file) {
|
|
// console.log(file)
|
|
// console.log(file)
|
|
@@ -236,12 +265,15 @@
|
|
text-align:center;
|
|
text-align:center;
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+ /deep/.el-form.left-form{
|
|
|
|
+ width:50%;
|
|
|
|
+ margin:10px auto;
|
|
|
|
+ }
|
|
/deep/.el-form{
|
|
/deep/.el-form{
|
|
- width:90%;
|
|
|
|
|
|
+ width: 90%;
|
|
margin:10px auto;
|
|
margin:10px auto;
|
|
}
|
|
}
|
|
-
|
|
|
|
/deep/.el-form-item {
|
|
/deep/.el-form-item {
|
|
- width: 50%;
|
|
|
|
|
|
+ // width: 50%;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|