Commit 3afc347d authored by liudong1993's avatar liudong1993

1

parent c8c51abd
...@@ -237,6 +237,10 @@ ...@@ -237,6 +237,10 @@
<el-tooltip effect="dark" :content="$t('pub.updateMsg')" placement="top"> <el-tooltip effect="dark" :content="$t('pub.updateMsg')" placement="top">
<i class="edit el-icon-edit" @click="IsEditPICPayDate=true"></i> <i class="edit el-icon-edit" @click="IsEditPICPayDate=true"></i>
</el-tooltip> </el-tooltip>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<el-tooltip effect="dark" content="删除" placement="top">
<i v-if="picMsg.CreateDate!=null && picMsg.CreateDate!=''" class="edit el-icon-delete" @click="DelPICPayDate()"></i>
</el-tooltip>
</div> </div>
<div v-else> <div v-else>
<el-tooltip class="item" effect="dark" content="用于PIC每日查看可付款单据" placement="top"><span>预付款日:</span></el-tooltip> <el-tooltip class="item" effect="dark" content="用于PIC每日查看可付款单据" placement="top"><span>预付款日:</span></el-tooltip>
...@@ -691,6 +695,25 @@ ...@@ -691,6 +695,25 @@
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
}, err => {}) }, err => {})
},
DelPICPayDate(){
this.$confirm("确认要删除PIC付款日期吗?", this.$t('tips.tips'), {
confirmButtonText: this.$t('pub.yes'),
cancelButtonText: this.$t('pub.no'),
type: 'warning'
}).then(() => {
this.apipost('Financial_post_CancelPICPayDate', this.picMsg, res => {
if (res.data.resultCode == 1) {
this.picMsg.CreateDate ='';
this.IsEditPICPayDate=false;
this.$message.success(res.data.message);
} else {
this.$message.error(res.data.message);
}
}, err => {})
}).catch(() => {
});
} }
}, },
mounted() { mounted() {
......
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