|
@@ -130,18 +130,18 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="avgCost" width="90" class="table_td" label="平均成本"></el-table-column>
|
|
|
- <el-table-column prop="requestFunds" width="130" class="table_td tablerequestFunds" label="请款">
|
|
|
+ <el-table-column prop="requestFunds" width="150" class="table_td tablerequestFunds" label="请款">
|
|
|
<template scope="scope">
|
|
|
<span v-if="!scope.row.select">{{ scope.row.requestFunds }}</span>
|
|
|
- <el-input @focus="qingkuan(scope.row.requestFunds)" v-else v-model='scope.row.requestFunds'></el-input>
|
|
|
+ <el-input @focus="qingkuan(scope.row)" v-else v-model='scope.row.requestFunds'></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="remark" width="80" class="table_td" label="请款备注">
|
|
|
+ <el-table-column prop="remark" width="150" class="table_td" label="请款备注">
|
|
|
<template scope="scope">
|
|
|
<div v-if="!scope.row.select" @click.stop="lookRemark(scope.row)">
|
|
|
<span class="text_css">查看</span>
|
|
|
</div>
|
|
|
- <el-input v-else v-model='scope.row.remark'></el-input>
|
|
|
+ <el-input @focus="inputremark(scope.row)" v-else v-model='scope.row.remark'></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="approveStatus" label="请款状态" width="90">
|
|
@@ -372,10 +372,10 @@
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
|
- title="输入内容"
|
|
|
+ :title="'输入'+titletype"
|
|
|
:visible.sync="dialogVisiblecontent"
|
|
|
width="30%"
|
|
|
- :before-close="handleClose">
|
|
|
+ :before-close="handleClose5">
|
|
|
<div>
|
|
|
<el-input
|
|
|
type="textarea"
|
|
@@ -384,11 +384,14 @@
|
|
|
placeholder="请输入内容"
|
|
|
v-model="textarea">
|
|
|
</el-input>
|
|
|
- <ws-button type="primary" @click="handleAdd()" v-hasPermission="
|
|
|
+ <div style="text-align:center;margin-top:10px;">
|
|
|
+<ws-button type="primary" @click="handlequeren()" v-hasPermission="
|
|
|
`warehouseManagement.warehouse.warehouseInfoTask.add`
|
|
|
">确认
|
|
|
</ws-button>
|
|
|
</div>
|
|
|
+
|
|
|
+ </div>
|
|
|
</el-dialog>
|
|
|
<!-- <el-dialog
|
|
|
title="提示"
|
|
@@ -613,6 +616,7 @@ import { findLastIndexOfIterate } from 'xe-utils/methods'
|
|
|
return time.getTime() > Date.now()
|
|
|
},
|
|
|
},
|
|
|
+ currectfocusdata:{},
|
|
|
customershow:false,
|
|
|
interestratevalue:'',
|
|
|
accessoryTFs: false,
|
|
@@ -632,11 +636,31 @@ import { findLastIndexOfIterate } from 'xe-utils/methods'
|
|
|
this.showType = this.isShow
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleClose5(){
|
|
|
+ this.dialogVisiblecontent=false
|
|
|
+ },
|
|
|
qingkuan(item){
|
|
|
- this.titletype='请款'
|
|
|
- this.textarea=item
|
|
|
+ this.titletype='请款金额'
|
|
|
+ this.currectfocusdata=item
|
|
|
+ this.textarea=item.requestFunds
|
|
|
this.dialogVisiblecontent=true
|
|
|
},
|
|
|
+ inputremark(item){
|
|
|
+ this.titletype='备注内容'
|
|
|
+ this.currectfocusdata=item
|
|
|
+ this.textarea=item.remark
|
|
|
+ this.dialogVisiblecontent=true
|
|
|
+ },
|
|
|
+ handlequeren(){
|
|
|
+ if(this.titletype=='请款'){
|
|
|
+ this.dialogVisiblecontent=false
|
|
|
+ this.currectfocusdata.requestFunds=this.textarea
|
|
|
+ }else{
|
|
|
+ this.dialogVisiblecontent=false
|
|
|
+ this.currectfocusdata.remark=this.textarea
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
interestratesubmit(){
|
|
|
setenabledinfo({id:this.interestratevalue.id,value:this.interestratevalue.value}).toPromise()
|
|
|
.then((response) => {
|