Commit 42636726 by wangguangchao

复核按钮提示优化

parent 2793bac1
...@@ -88,6 +88,11 @@ export default { ...@@ -88,6 +88,11 @@ export default {
}, },
async onRelrow(idx,row) { async onRelrow(idx,row) {
this.$confirm('您确定复核该笔交易?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(async ()=>{
const selIds = [idx+1]; //rowno选中行 const selIds = [idx+1]; //rowno选中行
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
...@@ -138,6 +143,9 @@ export default { ...@@ -138,6 +143,9 @@ export default {
} }
this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'}); this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'});
} }
})
}, },
sleep(ms) { sleep(ms) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
......
...@@ -125,6 +125,7 @@ ...@@ -125,6 +125,7 @@
v-model="model.infcon.opndatfrom" v-model="model.infcon.opndatfrom"
style="width: 100%" style="width: 100%"
placeholder="请选择Opening between" placeholder="请选择Opening between"
value-format="yyyy-MM-dd"
></el-date-picker> ></el-date-picker>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
...@@ -136,6 +137,7 @@ ...@@ -136,6 +137,7 @@
v-model="model.infcon.opndatto" v-model="model.infcon.opndatto"
style="width: 100%" style="width: 100%"
placeholder="请选择Open Date to" placeholder="请选择Open Date to"
value-format="yyyy-MM-dd"
></el-date-picker> ></el-date-picker>
</c-col> </c-col>
</el-form-item> </el-form-item>
......
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