@@ -7,8 +7,8 @@ | |||
content="width=device-width,initial-scale=1,user-scalable=0,minimum-scale=1.0,maximum=scale=1.0" /> | |||
<link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico"> | |||
<script src="/static/js/ol.js"></script> | |||
<script type="text/javascript" | |||
src="http://api.tianditu.gov.cn/api?v=4.0&tk=cc4aba6e967096098249efa069733067"></script> | |||
<!-- <script type="text/javascript" | |||
src="http://api.tianditu.gov.cn/api?v=4.0&tk=cc4aba6e967096098249efa069733067"></script>--> | |||
<title>农燊高科</title> | |||
</head> | |||
@@ -17,4 +17,4 @@ | |||
<!-- built files will be auto injected --> | |||
</body> | |||
</html> | |||
</html> |
@@ -8,7 +8,22 @@ export function getList(data){ | |||
params:data | |||
}) | |||
} | |||
// 查询乡镇账户列表 | |||
export function queryTaccount(query) { | |||
return request({ | |||
url: '/yinnong/taccount/query', | |||
method: 'get', | |||
params: query | |||
}) | |||
} | |||
// 查询开户行信息列表 | |||
export function listDeposit(query) { | |||
return request({ | |||
url: '/yinnong/deposit/list', | |||
method: 'get', | |||
params: query | |||
}) | |||
} | |||
// 查询出纳账户设置详细 | |||
export function getAccount(id) { | |||
return request({ | |||
@@ -51,3 +66,21 @@ export function delAccount(id) { | |||
method: 'get' | |||
}) | |||
} | |||
// 查询管控类型为中心账套时中心账套列表 | |||
export function getCentralBooks(query) { | |||
return request({ | |||
url: '/cashier/account/centralBooks', | |||
method: 'get', | |||
params: query | |||
}) | |||
} | |||
// 查询管控类型为中心账套时会计科目列表 | |||
export function getCentralSubjects(query) { | |||
return request({ | |||
url: '/cashier/account/centralSubjects', | |||
method: 'get', | |||
params: query | |||
}) | |||
} |
@@ -282,3 +282,12 @@ export function listAccount(query) { | |||
params: query | |||
}) | |||
} | |||
// 查询村虚拟出纳账户设置列表 | |||
export function listAccount1(query) { | |||
return request({ | |||
url: '/cashier/account/list1', | |||
method: 'get', | |||
params: query | |||
}) | |||
} |
@@ -23,6 +23,7 @@ | |||
input-align="right" | |||
right-icon="arrow-down" | |||
label-width="auto" | |||
required | |||
/> | |||
<van-popup v-model="showAccountType" position="bottom"> | |||
<van-picker | |||
@@ -32,7 +33,149 @@ | |||
@cancel="showAccountType = false" | |||
/> | |||
</van-popup> | |||
<van-field | |||
readonly | |||
clickable | |||
label="所属银行" | |||
placeholder="请选择" | |||
v-model="bankType" | |||
@click="showBankType = true" | |||
input-align="right" | |||
right-icon="arrow-down" | |||
label-width="auto" | |||
required | |||
:rules="[{ required: true , message:'请选择所属银行' }]" | |||
/> | |||
<van-popup v-model="showBankType" position="bottom"> | |||
<van-picker | |||
show-toolbar | |||
:columns="bankTypeOptions" | |||
@confirm="onConfirmBankType" | |||
@cancel="showBankType = false" | |||
/> | |||
</van-popup> | |||
<van-field | |||
readonly | |||
clickable | |||
label="账户分类" | |||
placeholder="请选择" | |||
v-model="villageAccountType" | |||
@click="showVillageAccountType = true" | |||
input-align="right" | |||
right-icon="arrow-down" | |||
label-width="auto" | |||
required | |||
:rules="[{ required: true , message:'请选择账户分类' }]" | |||
v-if="accountType=='银行存款'&&(form.bankType==1||form.bankType==2)" | |||
/> | |||
<van-popup v-model="showVillageAccountType" position="bottom"> | |||
<van-picker | |||
show-toolbar | |||
:columns="villageAccountTypeOptions" | |||
@confirm="onConfirmVillageAccountType" | |||
@cancel="showVillageAccountType = false" | |||
/> | |||
</van-popup> | |||
<van-field | |||
readonly | |||
clickable | |||
label="所属镇账户" | |||
placeholder="请选择" | |||
v-model="taccountId" | |||
@click="showTaccountId = true" | |||
input-align="right" | |||
right-icon="arrow-down" | |||
label-width="auto" | |||
required | |||
:rules="[{ required: true , message:'请选择所属镇账户' }]" | |||
v-if="accountType=='银行存款'&&villageAccountType!='村虚拟账户'" | |||
/> | |||
<van-popup v-model="showTaccountId" position="bottom"> | |||
<van-picker | |||
show-toolbar | |||
:columns="taccountIdOptions" | |||
@confirm="onConfirmTaccountId" | |||
@cancel="showTaccountId = false" | |||
/> | |||
</van-popup> | |||
<van-field label="账簿号" v-if="accountType=='银行存款'&&villageAccountType=='多级账簿'" required :rules="[{ required: true , message:'请输入账簿号' }]" v-model="form.accountNo" placeholder="请输入账户名称" input-align="right" label-width="auto"/> | |||
<van-field label="管控类型" required :rules="[{ required: true , message:'请选择管控类型' }]" v-if="accountType=='银行存款'&&form.bankType==2&&villageAccountType=='多级账簿'"> | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.managementControlType" @change="onConfirmManagementControlType"> | |||
<van-radio name="1">账簿余额</van-radio> | |||
<van-radio name="2">中心账簿</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
<van-field | |||
readonly | |||
clickable | |||
label="中心账套" | |||
placeholder="请选择" | |||
v-model="centralBookId" | |||
@click="showCentralBookId = true" | |||
input-align="right" | |||
right-icon="arrow-down" | |||
label-width="auto" | |||
required | |||
:rules="[{ required: true , message:'请选择开户银行' }]" | |||
v-if="accountType=='银行存款'&&form.managementControlType=='2'" | |||
/> | |||
<van-popup v-model="showCentralBookId" position="bottom"> | |||
<van-picker | |||
show-toolbar | |||
:columns="centralBookIdList" | |||
@confirm="onConfirmCentralBookId" | |||
@cancel="showCentralBookId = false" | |||
/> | |||
</van-popup> | |||
<van-field | |||
readonly | |||
clickable | |||
label="会计科目" | |||
placeholder="请选择" | |||
v-model="centralSubjectId" | |||
@click="showCentralSubjectId = true" | |||
input-align="right" | |||
right-icon="arrow-down" | |||
label-width="auto" | |||
required | |||
:rules="[{ required: true , message:'请选择会计科目' }]" | |||
v-if="accountType=='银行存款'&&form.managementControlType=='2'" | |||
/> | |||
<van-popup v-model="showCentralSubjectId" position="bottom"> | |||
<van-picker | |||
show-toolbar | |||
:columns="centralSubjectIdList" | |||
@confirm="onConfirmCentralSubjectId" | |||
@cancel="showCentralSubjectId = false" | |||
/> | |||
</van-popup> | |||
<van-field label="账户名称" required :rules="[{ required: true , message:'请输入账户名称' }]" v-model="form.accountName" placeholder="请输入账户名称" input-align="right" label-width="auto"/> | |||
<van-field label="银行账户" v-if="accountType=='银行存款'" :rules="[{ required: true , message:'请输入银行账户' }]" v-model="form.bankAccountNumber" placeholder="请输入银行账户" input-align="right" label-width="auto" required/> | |||
<van-field | |||
readonly | |||
clickable | |||
label="开户银行" | |||
placeholder="请选择" | |||
v-model="form.bankName" | |||
@click="showBankDeposit = true" | |||
input-align="right" | |||
right-icon="arrow-down" | |||
label-width="auto" | |||
required | |||
:rules="[{ required: true , message:'请选择开户银行' }]" | |||
v-if="accountType=='银行存款'" | |||
/> | |||
<van-popup v-model="showBankDeposit" position="bottom"> | |||
<van-picker | |||
show-toolbar | |||
:columns="bankDepositList" | |||
@confirm="onConfirmBankDeposit" | |||
@cancel="showBankDeposit = false" | |||
/> | |||
</van-popup> | |||
<van-field label="联行号" v-if="accountType=='银行存款'" :rules="[{ required: true , message:'请输入联行号' }]" v-model="form.paymentLines" placeholder="请输入联行号" input-align="right" label-width="auto" required/> | |||
<van-field | |||
readonly | |||
clickable | |||
@@ -54,22 +197,51 @@ | |||
@cancel="showSubjectId = false" | |||
/> | |||
</van-popup> | |||
<van-field label="银行账户" v-model="form.bankAccountNumber" placeholder="请输入银行账户" input-align="right" label-width="auto"/> | |||
<van-field label="开户银行" v-model="form.bankName" placeholder="请输入开户银行" input-align="right" label-width="auto"/> | |||
<van-field label="联行号" v-model="form.paymentLines" placeholder="请输入联行号" input-align="right" label-width="auto"/> | |||
<van-field label="操作员代码" v-model="form.operatorCode" placeholder="请输入操作员代码" input-align="right" label-width="auto"/> | |||
<van-field label="企业编码" v-model="form.enterpriseCode" placeholder="请输入企业编码" input-align="right" label-width="auto"/> | |||
<van-field label="开户银行地址" v-model="form.site" placeholder="请输入开户银行地址" input-align="right" label-width="auto"/> | |||
<van-field label="账户密码" v-model="form.accountPassword" placeholder="请输入账户密码" input-align="right" label-width="auto"/> | |||
<van-field label="开户银行地址" v-if="accountType=='银行存款'" :rules="[{ required: true , message:'请输入开户银行地址' }]" v-model="form.site" placeholder="请输入开户银行地址" input-align="right" label-width="auto" required/> | |||
<van-field label="支付口令" v-if="accountType=='银行存款'" :rules="[{ required: true , message:'请输入支付口令' }]" v-model="form.accountPassword" placeholder="请输入支付口令" input-align="right" label-width="auto" required/> | |||
<van-field label="账户类型" required :rules="[{ required: true , message:'请选择账户类型' }]"> | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.bankAccountType"> | |||
<van-radio name="1">公户</van-radio> | |||
<van-radio name="2">私户</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
<van-field label="初始余额" v-model="form.initialBalance" required :rules="[{ required: true , message:'请输入初始余额' }]" placeholder="请输入初始余额" input-align="right" label-width="auto"/> | |||
<van-cell title="是否停用"> | |||
<van-field label="内部账号" v-if="accountType=='银行存款'&&form.bankType=='3'" v-model="form.alternateField1" required :rules="[{ required: true , message:'请输入内部账号' }]" placeholder="请输入内部账号" input-align="right" label-width="auto"/> | |||
<van-field label="内部户名" v-if="accountType=='银行存款'&&form.bankType=='3'" v-model="form.alternateField2" required :rules="[{ required: true , message:'请输入内部户名' }]" placeholder="请输入内部户名" input-align="right" label-width="auto"/> | |||
<van-field label="账簿号" v-if="accountType=='银行存款'&&form.bankType=='3'" v-model="form.alternateField3" required :rules="[{ required: true , message:'请输入账簿号' }]" placeholder="请输入账簿号" input-align="right" label-width="auto"/> | |||
<van-field label="手机号码" v-if="accountType=='银行存款'&&form.bankType=='4'" v-model="form.alternateField1" required :rules="[{ required: true , message:'请输入手机号' }]" placeholder="请输入手机号" input-align="right" label-width="auto"/> | |||
<van-field label="是否停用" required :rules="[{ required: true , message:'请选择是否停用' }]"> | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.status"> | |||
<van-radio name="Y">是</van-radio> | |||
<van-radio name="N">否</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-cell> | |||
</van-field> | |||
</div> | |||
<p class="main_title" v-if="villageAccountType=='多级账簿'">账簿信息</p> | |||
<div class="main_box" v-if="villageAccountType=='多级账簿'"> | |||
<van-field label="账簿是否限额" disabled> | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.alternateField1" :disabled="true"> | |||
<van-radio name="Y">是</van-radio> | |||
<van-radio name="N">否</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
<van-field label="单笔交易限额" v-model="form.alternateField2" placeholder="0.00" input-align="right" label-width="auto" :disabled="true"/> | |||
<van-field label="账簿是否透支" disabled> | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.alternateField3" :disabled="true"> | |||
<van-radio name="Y">是</van-radio> | |||
<van-radio name="N">否</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
<van-field label="透支类型" v-model="form.alternateField4" placeholder="无" input-align="right" label-width="auto" :disabled="true"/> | |||
<van-field label="透支额度(元)" v-model="form.alternateField5" placeholder="0.00" input-align="right" label-width="auto" :disabled="true"/> | |||
</div> | |||
<div style="padding: 16px 0;"> | |||
<van-row> | |||
@@ -84,34 +256,68 @@ | |||
</template> | |||
<script> | |||
import { getSubjectDetail , addAccount } from "@/api/onlineHome/bankAgriculture/paymentAccount"; | |||
import { getSubjectDetail , addAccount,listDeposit,queryTaccount,getCentralBooks } from "@/api/onlineHome/bankAgriculture/paymentAccount"; | |||
import {getCentralSubjects} from "../../../../api/onlineHome/bankAgriculture/paymentAccount"; | |||
export default { | |||
name: "paymentAccountAdd", | |||
data() { | |||
return { | |||
showCentralSubjectId:false, | |||
showCentralBookId:false, | |||
showManagementControlType:false, | |||
showTaccountId:false, | |||
showVillageAccountType:false, | |||
villageAccountType:null, | |||
showAccountType:false, | |||
showSubjectId:false, | |||
showBankType:false, | |||
minDate: new Date(), | |||
showBankDeposit:false, | |||
maxDate: new Date(2025, 10, 1), | |||
currentDate: new Date(), | |||
jgList:{}, | |||
managementControlType:'', | |||
taccountId:'', | |||
accountType:'', | |||
bankType:'', | |||
centralBookId:'', | |||
centralSubjectId:'', | |||
jglx:'', | |||
wfydlx:'', | |||
wfydlxDictionaries:[], | |||
jglxDictionaries:[], | |||
subjectDictionaries:[], | |||
typeDictionaries:[], | |||
villageAccountTypeOptions:[], | |||
taccountIdOptions:[], | |||
centralBookIdList:[], | |||
centralSubjectIdList:[], | |||
// 管控类型 == 中心账套时选择中心账套 | |||
centralBooks: [], | |||
// 管控类型字典 | |||
managementControlTypeOptions: [], | |||
bankDepositList:[], | |||
// 所属银行字典 | |||
bankTypeOptions: [], | |||
subjectDeatil:'', | |||
bankDepositQueryParams: { | |||
pageNum: 1, | |||
pageSize: 10, | |||
bookId: null, | |||
deptId: null, | |||
payee: null, | |||
payeeAccount: null, | |||
bankDeposit: null, | |||
payeeType:null, | |||
bankType:null, | |||
status: "0", | |||
}, | |||
form:{} | |||
}; | |||
}, | |||
created() { | |||
this.getDetail(); | |||
}, | |||
methods: { | |||
getDetail(){ | |||
@@ -121,16 +327,115 @@ | |||
this.typeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | |||
} | |||
}); | |||
this.getDicts("cashier_account_management_control_type").then((res) => { | |||
for (var i = 0; i < res.data.length; i++) { | |||
this.managementControlTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | |||
} | |||
}); | |||
this.getDicts("bank_type").then(res => { | |||
for (var i = 0; i < res.data.length; i++) { | |||
this.bankTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | |||
} | |||
}); | |||
this.getDicts("village_account_type").then(res => { | |||
for (var i = 0; i < res.data.length; i++) { | |||
this.villageAccountTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | |||
} | |||
}); | |||
getSubjectDetail().then((res) => { | |||
for (var i = 0; i < res.rows.length; i++) { | |||
this.subjectDictionaries.push({text: res.rows[i].subjectNameAll, value: res.rows[i].subjectId}); | |||
} | |||
}); | |||
}, | |||
getTaList(){ | |||
let params= { | |||
// 分页 | |||
pageNum: 1, | |||
pageSize: 100, | |||
bankType:this.form.bankType, | |||
} | |||
// this.getCentralBookOptions(); | |||
queryTaccount(params).then(res => { | |||
this.taccountIdOptions = res.rows; | |||
for (var i = 0; i < res.rows.length; i++) { | |||
this.$set(this.taccountIdOptions[i], "text",res.rows[i].payee); | |||
this.$set(this.taccountIdOptions[i], "value",res.rows[i].id); | |||
} | |||
}); | |||
}, | |||
getError(e){ | |||
console.log(e) | |||
this.$notify({ type: 'danger', message: e.errors[0].message }); | |||
}, | |||
onConfirmCentralBookId(val){ | |||
this.showCentralBookId = false | |||
this.$set(this.form, "centralBookId",val.value); | |||
this.centralBookId = val.text | |||
getCentralSubjects({bookId: val.id}).then((res) => { | |||
this.centralSubjectIdList = res.data; | |||
for (var i = 0; i < res.data.length; i++) { | |||
this.$set(this.centralSubjectIdList[i], "text",res.data[i].subjectName); | |||
this.$set(this.centralSubjectIdList[i], "value",res.data[i].subjectId); | |||
} | |||
}) | |||
}, | |||
onConfirmCentralSubjectId(val){ | |||
this.showCentralSubjectId = false | |||
this.$set(this.form, "centralSubjectId",val.value); | |||
this.centralSubjectId = val.text | |||
}, | |||
onConfirmManagementControlType(val){ | |||
if(val==2){ | |||
getCentralBooks({yinnongTaccountId: this.form.taccountId}).then((res) => { | |||
this.centralBookIdList = res.data; | |||
for (var i = 0; i < res.data.length; i++) { | |||
this.$set(this.centralBookIdList[i], "text",res.data[i].bookName); | |||
this.$set(this.centralBookIdList[i], "value",res.data[i].id); | |||
} | |||
}); | |||
} | |||
}, | |||
onConfirmBankDeposit(val){ | |||
this.showBankDeposit = false | |||
this.$set(this.form, "bankName", val.bankDeposit); | |||
this.$set(this.form, "paymentLines", val.payeePaymentLines); | |||
}, | |||
onConfirmTaccountId(val){ | |||
this.showTaccountId = false | |||
this.taccountId = val.text | |||
this.$set(this.form, "taccountId", val.value); | |||
this.taccountIdOptions.map(res => { | |||
if(res.id==val.value){ | |||
if(this.form.villageAccountType === '3'){ | |||
this.$set(this.form, "bankAccountNumber", res.payeeAccount); | |||
} | |||
//this.form.bankName = res.bankDeposit; | |||
this.$set(this.form, "bankName", res.bankDeposit); | |||
this.$set(this.form, "paymentLines", res.payeePaymentLines); | |||
} | |||
}) | |||
}, | |||
onConfirmBankType(val){ | |||
this.showBankType = false | |||
this.bankType = val.text | |||
this.$set(this.form, "bankType", val.value); | |||
this.getTaList(); | |||
this.$set(this.form, "bankName", ''); | |||
this.$set(this.form, "paymentLines", ''); | |||
this.bankDepositQueryParams.bankType = val.value; | |||
listDeposit(this.bankDepositQueryParams).then(response => { | |||
this.bankDepositList = response.rows; | |||
for (var i = 0; i < response.rows.length; i++) { | |||
this.$set(this.bankDepositList[i], "text",response.rows[i].bankDeposit); | |||
this.$set(this.bankDepositList[i], "value",response.rows[i].bankDeposit); | |||
} | |||
}) | |||
}, | |||
onConfirmVillageAccountType(val){ | |||
this.showVillageAccountType = false | |||
this.villageAccountType = val.text | |||
this.$set(this.form, "villageAccountType", val.value); | |||
}, | |||
onConfirmSubject(data){ | |||
this.subjectDeatil = data.text; | |||
this.form.subjectId = data.value; | |||
@@ -7,7 +7,7 @@ | |||
@click-left="$router.back(-1)" | |||
> | |||
<template #title> | |||
<p style="font-weight: bold;">添加常用转账申请</p> | |||
<p style="font-weight: bold;">添加村户转账申请</p> | |||
</template> | |||
</van-nav-bar> | |||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | |||
@@ -57,6 +57,15 @@ | |||
@cancel="showcapital = false" | |||
/> | |||
</van-popup> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
<van-field | |||
readonly | |||
required | |||
@@ -66,7 +75,6 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -171,7 +179,7 @@ | |||
</van-radio-group> | |||
</template> | |||
</van-cell> | |||
<van-cell title="是否与付款方同行" v-if="form.bankType==2||form.bankType==4" > | |||
<van-cell title="是否与付款方同行" v-if="form.bankType==2||form.bankType==3||form.bankType==4" > | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.isPeers" @change="accountTypeChange1"> | |||
<van-radio name="Y">是</van-radio> | |||
@@ -842,8 +850,12 @@ | |||
this.$set(this.form, "operatorCode", obj.operatorCode); | |||
this.$set(this.form, "enterpriseCode", obj.enterpriseCode); | |||
this.$set(this.form, "bankType", obj.bankType); | |||
this.$set(this.form, "bankAccountType", obj.bankAccountType); | |||
this.$set(this.form, "villageAccountType", obj.villageAccountType); | |||
this.$set(this.form, "taccountId", obj.taccountId); | |||
this.$set(this.form, "accountNo", obj.accountNo); | |||
this.$set(this.form, "cifNo", obj.cifNo); | |||
this.$set(this.form, "payerFrom", '1'); | |||
console.log(obj.bankType) | |||
if(obj.bankType==1){ | |||
this.form.accountType = "1" | |||
this.form.isPeers = null | |||
@@ -880,6 +892,7 @@ | |||
this.$set(this.form, "deptId", ''); | |||
this.$set(this.form, "cashierId", obj.id); | |||
this.$set(this.form, "payer", obj.accountName); | |||
this.$set(this.form, "bankType", obj.bankType); | |||
if(obj.payerFrom==6){ | |||
getQmyeFlow(obj.bankAccountNumber).then((response) => { | |||
this.$set(this.form, "payerAccount", response.data); | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -242,7 +250,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:10, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -304,7 +312,7 @@ | |||
downId: null, | |||
orderId: null, | |||
cashierId: null, | |||
cashType: '10', | |||
transferType: '10', | |||
accountType: '2', | |||
explainSituation: null, | |||
succeedAmount: null, | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -242,7 +250,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:11, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -306,7 +314,7 @@ | |||
downId: null, | |||
orderId: null, | |||
cashierId: null, | |||
cashType: '11', | |||
transferType: '11', | |||
accountType: '2', | |||
explainSituation: null, | |||
succeedAmount: null, | |||
@@ -57,8 +57,15 @@ | |||
@cancel="showcapital = false" | |||
/> | |||
</van-popup> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -287,7 +294,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:12, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -353,7 +360,7 @@ | |||
downId: null, | |||
orderId: null, | |||
cashierId: null, | |||
cashType: '12', | |||
transferType: '12', | |||
accountType: '2', | |||
explainSituation: null, | |||
succeedAmount: null, | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -163,7 +171,7 @@ | |||
<p class="main_title">收款方信息<van-button icon="plus" @click="addChargeItme(chargeItme.length)" size="mini" type="info" native-type="button" class="addFamily"/></p> | |||
<div class="main_box" style="margin-bottom: 15px;"> | |||
<van-cell title="收款账户类型"> | |||
<van-cell title="收款账户类型" v-if="form.bankType==1"> | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.accountType" @change="accountTypeChange"> | |||
<van-radio name="1">公户</van-radio> | |||
@@ -171,6 +179,14 @@ | |||
</van-radio-group> | |||
</template> | |||
</van-cell> | |||
<van-cell title="是否与付款方同行" v-if="form.bankType==2||form.bankType==3||form.bankType==4" > | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.isPeers" @change="accountTypeChange1"> | |||
<van-radio name="Y">是</van-radio> | |||
<van-radio name="N">否</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-cell> | |||
</div> | |||
<div :style="{position:'relative',padding: index == 0 ? '':'10px 0 0 0'}" v-for="(item, index) in chargeItme" :key="index"> | |||
<van-button icon="minus" size="mini" type="danger" class="deleteFamily" native-type="button" v-if="index!=0" @click="deleteChargeItme(index)" /> | |||
@@ -517,6 +533,20 @@ | |||
}) | |||
}); | |||
}, | |||
accountTypeChange1(e){ | |||
this.payeeList = []; | |||
this.chargeItme = []; | |||
this.queryParams.isPeers = this.form.isPeers | |||
this.queryParams.bankType = this.form.bankType | |||
this.queryParams.status = "0" | |||
listPayee(this.queryParams).then((response) => { | |||
this.payeeList = response.rows; | |||
response.rows.map((res,index) => { | |||
this.payeeList[index].text = res.payee; | |||
this.payeeList[index].value = res.id; | |||
}) | |||
}); | |||
}, | |||
// 钱计算 | |||
moneyChange(input) { | |||
let obj = {}; | |||
@@ -7,7 +7,7 @@ | |||
@click-left="$router.back(-1)" | |||
> | |||
<template #title> | |||
<p style="font-weight: bold;">添加虚拟转账申请</p> | |||
<p style="font-weight: bold;">添加代管转账申请</p> | |||
</template> | |||
</van-nav-bar> | |||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -171,7 +179,7 @@ | |||
</van-radio-group> | |||
</template> | |||
</van-cell> | |||
<van-cell title="是否与付款方同行" v-if="form.bankType==2||form.bankType==4"> | |||
<van-cell title="是否与付款方同行" v-if="this.form.bankType == 2 || this.form.bankType == 3 || this.form.bankType == 4"> | |||
<template #right-icon> | |||
<van-radio-group direction="horizontal" v-model="form.isPeers" @change="accountTypeChange1"> | |||
<van-radio name="Y">是</van-radio> | |||
@@ -243,7 +251,7 @@ | |||
import { addTransfer , listPayee , updateTransfer , getProjectto , listProject , addProjectto , customSubmit , getAccount ,getQmyeFlow} from "@/api/onlineHome/bankAgriculture/paymentApproval"; | |||
import { | |||
attachmentList, | |||
commonAttach, | |||
commonAttach, listAccount1, | |||
listVaccount, | |||
listVaccount1 | |||
} from "../../../../api/onlineHome/bankAgriculture/paymentApproval"; | |||
@@ -330,13 +338,13 @@ | |||
villageAccountType:'1', | |||
"params":{townAccountType:'1'} | |||
} | |||
listVaccount1(params1).then((response) => { | |||
this.payerOptions = response.rows; | |||
listAccount1(params1).then((response) => { | |||
this.payerOptions = [] | |||
response.rows.map((res,index) => { | |||
res['payerFrom'] = '1' | |||
console.log(res) | |||
this.payerOptions[index].text = res.payee; | |||
this.payerOptions[index].value = res.id; | |||
res['payerFrom'] = '2' | |||
res['text']= res.accountName; | |||
res['value'] = res.id; | |||
this.payerOptions.push(res) | |||
}) | |||
}); | |||
this.getDictionaries(); | |||
@@ -835,16 +843,20 @@ | |||
return account.id === select; //筛选出匹配数据 | |||
}); | |||
console.log(obj) | |||
this.$set(this.form, "bookId", obj.bookId); | |||
this.$set(this.form, "deptId", obj.deptId); | |||
this.$set(this.form, "cashierId", obj.id); | |||
this.$set(this.form, "payer", obj.payee); | |||
this.$set(this.form, "payerAccount", obj.payeeAccount); | |||
this.$set(this.form, "operatorCode", obj.operatorCode); | |||
this.$set(this.form, "enterpriseCode", obj.enterpriseCode); | |||
this.$set(this.form, "bankType", obj.bankType); | |||
this.$set(this.form, "payerFrom", '1'); | |||
console.log(obj.bankType) | |||
this.$set(this.form, "bookId", obj.bookId); | |||
this.$set(this.form, "deptId", obj.deptId); | |||
this.$set(this.form, "cashierId", obj.id); | |||
this.$set(this.form, "payer", obj.accountName); | |||
this.$set(this.form, "payerAccount", obj.bankAccountNumber); | |||
this.$set(this.form, "operatorCode", obj.operatorCode); | |||
this.$set(this.form, "enterpriseCode", obj.enterpriseCode); | |||
this.$set(this.form, "bankType", obj.bankType); | |||
this.$set(this.form, "bankAccountType", obj.bankAccountType); | |||
this.$set(this.form, "villageAccountType", obj.villageAccountType); | |||
this.$set(this.form, "taccountId", obj.taccountId); | |||
this.$set(this.form, "accountNo", obj.accountNo); | |||
this.$set(this.form, "cifNo", obj.cifNo); | |||
this.$set(this.form, "payerFrom", '1'); | |||
if(obj.bankType==1){ | |||
this.form.accountType = "1" | |||
this.form.isPeers = null | |||
@@ -18,6 +18,14 @@ | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field readonly label="支出总金额" v-model="form.expenditureAmount" input-align="right" label-width="auto"/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -18,6 +18,14 @@ | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field readonly label="提现总金额" v-model="form.expenditureAmount" input-align="right" label-width="auto"/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -18,6 +18,14 @@ | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field readonly label="支出总金额" v-model="form.expenditureAmount" input-align="right" label-width="auto"/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -17,6 +17,14 @@ | |||
<div class="main_box"> | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -7,7 +7,7 @@ | |||
@click-left="$router.back(-1)" | |||
> | |||
<template #title> | |||
<p style="font-weight: bold;">查看常用转账申请</p> | |||
<p style="font-weight: bold;">查看村户转账申请</p> | |||
</template> | |||
<template #right> | |||
<van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | |||
@@ -18,6 +18,14 @@ | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field readonly label="支出总金额" v-model="form.expenditureAmount" input-align="right" label-width="auto"/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -18,6 +18,14 @@ | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field readonly label="提现总金额" v-model="form.expenditureAmount" input-align="right" label-width="auto"/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -98,7 +106,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:10, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -18,6 +18,14 @@ | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field readonly label="支出总金额" v-model="form.expenditureAmount" input-align="right" label-width="auto"/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -104,7 +112,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:11, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -17,6 +17,14 @@ | |||
<div class="main_box"> | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -155,7 +163,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:12, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -18,6 +18,14 @@ | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field readonly label="支出总金额" v-model="form.expenditureAmount" input-align="right" label-width="auto"/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -7,7 +7,7 @@ | |||
@click-left="$router.back(-1)" | |||
> | |||
<template #title> | |||
<p style="font-weight: bold;">查看虚拟转账申请</p> | |||
<p style="font-weight: bold;">查看代管转账申请</p> | |||
</template> | |||
<template #right> | |||
<van-icon name="../../../static/images/icon/icon_flow.png" size="20" @click="goFlow"/> | |||
@@ -18,6 +18,14 @@ | |||
<van-field readonly label="申请时间" v-model="form.applyDate" input-align="right" /> | |||
<van-field readonly label="资金支出类别" v-model="capitalExpenditureType" input-align="right" label-width="auto" /> | |||
<van-field readonly label="支出总金额" v-model="form.expenditureAmount" input-align="right" label-width="auto"/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" readonly> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -8,7 +8,7 @@ | |||
@click-right="goAdd()" | |||
> | |||
<template #title> | |||
<p style="font-weight: bold;">常用转账申请列表</p> | |||
<p style="font-weight: bold;">村户转账申请列表</p> | |||
</template> | |||
<template #right> | |||
<van-icon name="add" size="18"/> | |||
@@ -62,7 +62,7 @@ export default { | |||
queryParams:{ | |||
pageNum:1, | |||
pageSize:10, | |||
cashType: '10', | |||
transferType: '10', | |||
} | |||
}; | |||
}, | |||
@@ -62,7 +62,7 @@ export default { | |||
queryParams:{ | |||
pageNum:1, | |||
pageSize:10, | |||
cashType: '11', | |||
transferType: '11', | |||
} | |||
}; | |||
}, | |||
@@ -62,7 +62,7 @@ export default { | |||
queryParams:{ | |||
pageNum:1, | |||
pageSize:100, | |||
cashType: '12', | |||
transferType: '12', | |||
} | |||
}; | |||
}, | |||
@@ -8,7 +8,7 @@ | |||
@click-right="goAdd()" | |||
> | |||
<template #title> | |||
<p style="font-weight: bold;">虚拟转账申请列表</p> | |||
<p style="font-weight: bold;">代管转账申请列表</p> | |||
</template> | |||
<template #right> | |||
<van-icon name="add" size="18"/> | |||
@@ -7,7 +7,7 @@ | |||
@click-left="$router.back(-1)" | |||
> | |||
<template #title> | |||
<p style="font-weight: bold;">修改常用转账申请</p> | |||
<p style="font-weight: bold;">修改村户转账申请</p> | |||
</template> | |||
</van-nav-bar> | |||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -240,7 +248,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:10, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -242,7 +250,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:11, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -292,7 +300,7 @@ | |||
payeeList:[], | |||
// 查询参数 | |||
queryParams: { | |||
transferType:"", | |||
transferType:12, | |||
orderByColumn: "id", | |||
isAsc: "desc", | |||
}, | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -7,7 +7,7 @@ | |||
@click-left="$router.back(-1)" | |||
> | |||
<template #title> | |||
<p style="font-weight: bold;">修改虚拟转账申请</p> | |||
<p style="font-weight: bold;">修改代管转账申请</p> | |||
</template> | |||
</van-nav-bar> | |||
<van-form @submit="getChange" @failed="getError" :show-error-message="false" scroll-to-error validate-first> | |||
@@ -66,7 +66,15 @@ | |||
input-align="right" | |||
label-width="auto" | |||
/> | |||
<van-field name="radio" label="审批模式" input-align="right" autocomplete="off" required | |||
:rules="[{ required: true , message:'请选择审批模式' }]"> | |||
<template #input> | |||
<van-radio-group v-model="form.paymentState" direction="horizontal"> | |||
<van-radio name="1">线上支付</van-radio> | |||
<van-radio name="2">线下支付</van-radio> | |||
</van-radio-group> | |||
</template> | |||
</van-field> | |||
</div> | |||
<div class="main_box" style="margin-top: 10px;"> | |||
@@ -356,7 +356,12 @@ | |||
</div> | |||
<p style="margin-top: 5px;color: #666666;">代管转账</p> | |||
</van-grid-item> | |||
<van-grid-item text="公务卡转账" :to="{name:'approvalList2'}" > | |||
<div class="icon" slot="default" style="background:#3ac2db;" > | |||
<img src="../../../static/images/onlineHome/icon_Y2.png" alt /> | |||
</div> | |||
<p style="margin-top: 5px;color: #666666;">信用卡转账</p> | |||
</van-grid-item> | |||
<!-- | |||
<van-grid-item text="虚拟挂账" :to="{name:'approvalList3'}" > | |||
<div class="icon" slot="default" style="background:#FFA63E;" > | |||
@@ -364,12 +369,7 @@ | |||
</div> | |||
<p style="margin-top: 5px;color: #666666;">虚拟挂账</p> | |||
</van-grid-item> | |||
<van-grid-item text="公务卡转账" :to="{name:'approvalList2'}" > | |||
<div class="icon" slot="default" style="background:#3ac2db;" > | |||
<img src="../../../static/images/onlineHome/icon_Y2.png" alt /> | |||
</div> | |||
<p style="margin-top: 5px;color: #666666;">信用卡转账</p> | |||
</van-grid-item> | |||
<van-grid-item text="母子转账" :to="{name:'approvalList5'}" > | |||
<div class="icon" slot="default" style="background:#1D6FE9;" > | |||
<img src="../../../static/images/onlineHome/icon_Y5.png" alt /> | |||