소스 검색

银农app

wulanhaote
yujk 3 년 전
부모
커밋
cc1a4d7309
14개의 변경된 파일111개의 추가작업 그리고 33개의 파일을 삭제
  1. +5
    -1
      src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue
  2. +4
    -1
      src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountModify.vue
  3. +12
    -3
      src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue
  4. +12
    -4
      src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd11.vue
  5. +13
    -4
      src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12.vue
  6. +12
    -3
      src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd2.vue
  7. +1
    -1
      src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue
  8. +1
    -1
      src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail11.vue
  9. +1
    -1
      src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail12.vue
  10. +1
    -1
      src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail2.vue
  11. +12
    -3
      src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue
  12. +12
    -3
      src/views/yinnong/bankAgriculture/paymentApproval/approvalModify11.vue
  13. +13
    -4
      src/views/yinnong/bankAgriculture/paymentApproval/approvalModify12.vue
  14. +12
    -3
      src/views/yinnong/bankAgriculture/paymentApproval/approvalModify2.vue

+ 5
- 1
src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue 파일 보기

@@ -199,7 +199,7 @@
/> />
</van-popup> </van-popup>
<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.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="支付口令" v-if="accountType=='银行存款'" name="validator" :rules="[{ validator , message:'支付口令:请输入六位以上数字' }]" v-model="form.accountPassword" placeholder="请输入支付口令" input-align="right" label-width="auto" required/>
<van-field label="账户类型" v-if="accountType=='银行存款'" required> <van-field label="账户类型" v-if="accountType=='银行存款'" required>
<template #right-icon> <template #right-icon>
<van-radio-group direction="horizontal" v-model="form.bankAccountType" required :rules="[{ required: true , message:'请选择账户类型' }]"> <van-radio-group direction="horizontal" v-model="form.bankAccountType" required :rules="[{ required: true , message:'请选择账户类型' }]">
@@ -321,6 +321,9 @@
this.getDetail(); this.getDetail();
}, },
methods: { methods: {
validator(val){
return /^\d{6,}$/.test(val);
},
getDetail(){ getDetail(){
// 账户类型 // 账户类型
this.houseGetDicts("account_type_cashier").then((res) => { this.houseGetDicts("account_type_cashier").then((res) => {
@@ -350,6 +353,7 @@
}); });
}, },
getTaList(){ getTaList(){

let params= { let params= {
// 分页 // 分页
pageNum: 1, pageNum: 1,


+ 4
- 1
src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountModify.vue 파일 보기

@@ -199,7 +199,7 @@
/> />
</van-popup> </van-popup>
<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.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="支付口令" v-if="accountType=='银行存款'" name="validator" :rules="[{ validator , message:'支付口令:请输入六位以上数字' }]" v-model="form.accountPassword" placeholder="请输入支付口令" input-align="right" label-width="auto" required/>
<van-field label="账户类型" v-if="accountType=='银行存款'" required > <van-field label="账户类型" v-if="accountType=='银行存款'" required >
<template #right-icon> <template #right-icon>
<van-radio-group direction="horizontal" v-model="form.bankAccountType" required :rules="[{ required: true , message:'请选择账户类型' }]"> <van-radio-group direction="horizontal" v-model="form.bankAccountType" required :rules="[{ required: true , message:'请选择账户类型' }]">
@@ -321,6 +321,9 @@
this.getDetail(); this.getDetail();
}, },
methods: { methods: {
validator(val){
return /^\d{6,}$/.test(val);
},
getDetail(){ getDetail(){
getAccount(this.$route.query.id).then((response) => { getAccount(this.$route.query.id).then((response) => {
// 账户类型 // 账户类型


+ 12
- 3
src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue 파일 보기

@@ -67,6 +67,7 @@
</template> </template>
</van-field> </van-field>
<van-field <van-field
v-if="form.approvalMode==1"
readonly readonly
clickable clickable
label="审批流程" label="审批流程"
@@ -436,9 +437,17 @@
}); });
}, },
onConfirmTemplate(data){ onConfirmTemplate(data){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
this.showtemplate = false;
selectApprovalByTemplateId(data.id).then(res => {
this.showtemplate = false;
if(res.approvalDetails.length>0){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
}else{
this.form.approvalTemplateName = null
this.form.approvalTemplateId = null
this.$notify({ type: 'danger', message: '此流程无节点,无法选择!' });
}
})
}, },
getNowDate(){ getNowDate(){
var _this = this; var _this = this;


+ 12
- 4
src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd11.vue 파일 보기

@@ -76,6 +76,7 @@
</template> </template>
</van-field> </van-field>
<van-field <van-field
v-if="form.approvalMode==1"
readonly readonly
clickable clickable
label="审批流程" label="审批流程"
@@ -389,9 +390,17 @@
}); });
}, },
onConfirmTemplate(data){ onConfirmTemplate(data){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
this.showtemplate = false;
selectApprovalByTemplateId(data.id).then(res => {
this.showtemplate = false;
if(res.approvalDetails.length>0){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
}else{
this.form.approvalTemplateName = null
this.form.approvalTemplateId = null
this.$notify({ type: 'danger', message: '此流程无节点,无法选择!' });
}
})
}, },
getNowDate(){ getNowDate(){
var _this = this; var _this = this;
@@ -730,7 +739,6 @@
}) })


}) })

}); });
}) })
}else{ }else{


+ 13
- 4
src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12.vue 파일 보기

@@ -67,6 +67,7 @@
</template> </template>
</van-field> </van-field>
<van-field <van-field
v-if="form.approvalMode==1"
readonly readonly
clickable clickable
label="审批流程" label="审批流程"
@@ -203,7 +204,7 @@
@cancel="showpayer = false" @cancel="showpayer = false"
/> />
</van-popup> </van-popup>
<van-field :rules="[{ required: true , message:'请输入汇票号码' }]" required label="汇票号码" v-model="form.payerAccount" placeholder="请输入汇票号码" input-align="right" label-width="auto"/>
<van-field readonly :rules="[{ required: true , message:'请输入汇票号码' }]" required label="汇票号码" v-model="form.payerAccount" input-align="right" label-width="auto"/>
<van-field <van-field
readonly readonly
label="出票金额(元)" label="出票金额(元)"
@@ -436,9 +437,17 @@
}); });
}, },
onConfirmTemplate(data){ onConfirmTemplate(data){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
this.showtemplate = false;
selectApprovalByTemplateId(data.id).then(res => {
this.showtemplate = false;
if(res.approvalDetails.length>0){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
}else{
this.form.approvalTemplateName = null
this.form.approvalTemplateId = null
this.$notify({ type: 'danger', message: '此流程无节点,无法选择!' });
}
})
}, },
getNowDate(){ getNowDate(){
var _this = this; var _this = this;


+ 12
- 3
src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd2.vue 파일 보기

@@ -76,6 +76,7 @@
</template> </template>
</van-field> </van-field>
<van-field <van-field
v-if="form.approvalMode==1"
readonly readonly
clickable clickable
label="审批流程" label="审批流程"
@@ -427,9 +428,17 @@
}); });
}, },
onConfirmTemplate(data){ onConfirmTemplate(data){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
this.showtemplate = false;
selectApprovalByTemplateId(data.id).then(res => {
this.showtemplate = false;
if(res.approvalDetails.length>0){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
}else{
this.form.approvalTemplateName = null
this.form.approvalTemplateId = null
this.$notify({ type: 'danger', message: '此流程无节点,无法选择!' });
}
})
}, },
getNowDate(){ getNowDate(){
var _this = this; var _this = this;


+ 1
- 1
src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue 파일 보기

@@ -26,7 +26,7 @@
</van-radio-group> </van-radio-group>
</template> </template>
</van-field> </van-field>
<van-field readonly label="审批流程" :value="tempalteFormat(form.approvalTemplateId)" input-align="right" label-width="auto"/>
<van-field v-if="form.approvalMode==1" readonly label="审批流程" :value="tempalteFormat(form.approvalTemplateId)" input-align="right" label-width="auto"/>
</div> </div>


<div class="main_box" style="margin-top: 10px;"> <div class="main_box" style="margin-top: 10px;">


+ 1
- 1
src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail11.vue 파일 보기

@@ -26,7 +26,7 @@
</van-radio-group> </van-radio-group>
</template> </template>
</van-field> </van-field>
<van-field readonly label="审批流程" :value="tempalteFormat(form.approvalTemplateId)" input-align="right" label-width="auto"/>
<van-field v-if="form.approvalMode==1" readonly label="审批流程" :value="tempalteFormat(form.approvalTemplateId)" input-align="right" label-width="auto"/>
</div> </div>


<div class="main_box" style="margin-top: 10px;"> <div class="main_box" style="margin-top: 10px;">


+ 1
- 1
src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail12.vue 파일 보기

@@ -25,7 +25,7 @@
</van-radio-group> </van-radio-group>
</template> </template>
</van-field> </van-field>
<van-field readonly label="审批流程" :value="tempalteFormat(form.approvalTemplateId)" input-align="right" label-width="auto"/>
<van-field v-if="form.approvalMode==1" readonly label="审批流程" :value="tempalteFormat(form.approvalTemplateId)" input-align="right" label-width="auto"/>
</div> </div>


<div class="main_box" style="margin-top: 10px;"> <div class="main_box" style="margin-top: 10px;">


+ 1
- 1
src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail2.vue 파일 보기

@@ -26,7 +26,7 @@
</van-radio-group> </van-radio-group>
</template> </template>
</van-field> </van-field>
<van-field readonly label="审批流程" :value="tempalteFormat(form.approvalTemplateId)" input-align="right" label-width="auto"/>
<van-field v-if="form.approvalMode==1" readonly label="审批流程" :value="tempalteFormat(form.approvalTemplateId)" input-align="right" label-width="auto"/>
</div> </div>


<div class="main_box" style="margin-top: 10px;"> <div class="main_box" style="margin-top: 10px;">


+ 12
- 3
src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue 파일 보기

@@ -76,6 +76,7 @@
</template> </template>
</van-field> </van-field>
<van-field <van-field
v-if="form.approvalMode==1"
readonly readonly
clickable clickable
label="审批流程" label="审批流程"
@@ -442,9 +443,17 @@
methods: { methods: {


onConfirmTemplate(data){ onConfirmTemplate(data){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
this.showtemplate = false;
selectApprovalByTemplateId(data.id).then(res => {
this.showtemplate = false;
if(res.approvalDetails.length>0){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
}else{
this.form.approvalTemplateName = null
this.form.approvalTemplateId = null
this.$notify({ type: 'danger', message: '此流程无节点,无法选择!' });
}
})
}, },
getDictionaries(){ getDictionaries(){
getTransfer(this.$route.query.id).then((response) => { getTransfer(this.$route.query.id).then((response) => {


+ 12
- 3
src/views/yinnong/bankAgriculture/paymentApproval/approvalModify11.vue 파일 보기

@@ -76,6 +76,7 @@
</template> </template>
</van-field> </van-field>
<van-field <van-field
v-if="form.approvalMode==1"
readonly readonly
clickable clickable
label="审批流程" label="审批流程"
@@ -372,9 +373,17 @@
}, },
methods: { methods: {
onConfirmTemplate(data){ onConfirmTemplate(data){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
this.showtemplate = false;
selectApprovalByTemplateId(data.id).then(res => {
this.showtemplate = false;
if(res.approvalDetails.length>0){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
}else{
this.form.approvalTemplateName = null
this.form.approvalTemplateId = null
this.$notify({ type: 'danger', message: '此流程无节点,无法选择!' });
}
})
}, },
initProjectInfo(){ initProjectInfo(){
let _this = this let _this = this


+ 13
- 4
src/views/yinnong/bankAgriculture/paymentApproval/approvalModify12.vue 파일 보기

@@ -76,6 +76,7 @@
</template> </template>
</van-field> </van-field>
<van-field <van-field
v-if="form.approvalMode==1"
readonly readonly
clickable clickable
label="审批流程" label="审批流程"
@@ -211,7 +212,7 @@
@cancel="showpayer = false" @cancel="showpayer = false"
/> />
</van-popup> </van-popup>
<van-field :rules="[{ required: true , message:'请输入汇票号码' }]" required label="汇票号码" v-model="form.payerAccount" placeholder="请输入汇票号码" input-align="right" label-width="auto"/>
<van-field readonly :rules="[{ required: true , message:'请输入汇票号码' }]" required label="汇票号码" v-model="form.payerAccount" input-align="right" label-width="auto"/>
<van-field <van-field
readonly readonly
label="出票金额(元)" label="出票金额(元)"
@@ -428,9 +429,17 @@
}, },
methods: { methods: {
onConfirmTemplate(data){ onConfirmTemplate(data){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
this.showtemplate = false;
selectApprovalByTemplateId(data.id).then(res => {
this.showtemplate = false;
if(res.approvalDetails.length>0){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
}else{
this.form.approvalTemplateName = null
this.form.approvalTemplateId = null
this.$notify({ type: 'danger', message: '此流程无节点,无法选择!' });
}
})
}, },
initProjectInfo(){ initProjectInfo(){
let _this = this let _this = this


+ 12
- 3
src/views/yinnong/bankAgriculture/paymentApproval/approvalModify2.vue 파일 보기

@@ -76,6 +76,7 @@
</template> </template>
</van-field> </van-field>
<van-field <van-field
v-if="form.approvalMode==1"
readonly readonly
clickable clickable
label="审批流程" label="审批流程"
@@ -442,9 +443,17 @@
}, },
methods: { methods: {
onConfirmTemplate(data){ onConfirmTemplate(data){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
this.showtemplate = false;
selectApprovalByTemplateId(data.id).then(res => {
this.showtemplate = false;
if(res.approvalDetails.length>0){
this.form.approvalTemplateName = data.name
this.form.approvalTemplateId = data.id
}else{
this.form.approvalTemplateName = null
this.form.approvalTemplateId = null
this.$notify({ type: 'danger', message: '此流程无节点,无法选择!' });
}
})
}, },
getDictionaries(){ getDictionaries(){
getTransfer(this.$route.query.id).then((response) => { getTransfer(this.$route.query.id).then((response) => {


불러오는 중...
취소
저장