Commit 38bbadb5 authored by 我在何方's avatar 我在何方

收款单搜索添加清除

parent 9a07d169
...@@ -32,12 +32,14 @@ ...@@ -32,12 +32,14 @@
<dict-selector <dict-selector
:type="DICT_TYPE.ECW_RECEIPT_STATE" :type="DICT_TYPE.ECW_RECEIPT_STATE"
v-model="queryParams.state" v-model="queryParams.state"
clearable
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('业务员')"> <el-form-item :label="$t('业务员')">
<el-select <el-select
v-model="queryParams.salesmanId" v-model="queryParams.salesmanId"
:placeholder="$t('请选择业务员')" :placeholder="$t('请选择业务员')"
clearable
> >
<el-option <el-option
v-for="item in creatorData" v-for="item in creatorData"
...@@ -471,29 +473,29 @@ export default { ...@@ -471,29 +473,29 @@ export default {
} }
const receiptIdData = this.list[this.writeOffIndex] const receiptIdData = this.list[this.writeOffIndex]
if(this.writeOffType==1){ if(this.writeOffType==1){
this.$modal // this.$alert()
.confirm(this.$t('您确认要反审核吗')+'?') // .confirm(this.$t('您确认要反审核吗')+'?')
.then(()=>{ // .then(()=>{
financeApproveNo({receiptId:receiptIdData.id,receiptNo:receiptIdData.receiptNo,remark:this.reason}).then(res=>{ financeApproveNo({receiptId:receiptIdData.id,receiptNo:receiptIdData.receiptNo,remark:this.reason}).then(res=>{
this.getList(); this.getList();
this.$message.success(this.$t("提交成功")); this.$message.success(this.$t("提交成功"));
this.dialogVisible = false this.dialogVisible = false
// this.$store.dispatch('tagsView/delCurrentView') // this.$store.dispatch('tagsView/delCurrentView')
}); });
}) // })
.catch(() => {this.dialogVisible = false}); // .catch(() => {this.dialogVisible = false});
}else{ }else{
this.$modal // this.$modal
.confirm(this.$t('您确认要反核销吗')+'?') // .confirm(this.$t('您确认要反核销吗')+'?')
.then(()=>{ // .then(()=>{
financeReceiptWriteOffNo({receiptId:receiptIdData.id,receiptNo:receiptIdData.receiptNo,remark:this.reason}).then(res=>{ financeReceiptWriteOffNo({receiptId:receiptIdData.id,receiptNo:receiptIdData.receiptNo,remark:this.reason}).then(res=>{
this.getList(); this.getList();
this.$message.success(this.$t("提交成功")); this.$message.success(this.$t("提交成功"));
this.dialogVisible = false this.dialogVisible = false
// this.$store.dispatch('tagsView/delCurrentView') // this.$store.dispatch('tagsView/delCurrentView')
}); });
}) // })
.catch(() => {this.dialogVisible = false}); // .catch(() => {this.dialogVisible = false});
} }
}, },
......
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