20240205
yujialong 1 year ago
parent 7cad626d93
commit d7149a99ee
  1. 194
      src/pages/manage/list/business/openAccount.vue
  2. 2
      src/pages/manage/list/business/transfer.vue
  3. 209
      src/pages/manage/list/cityWide/cityWideOut.vue
  4. 208
      src/pages/manage/list/client/corporateClient.vue
  5. 233
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  6. 34
      src/store/modules/system.js

@ -1,76 +1,154 @@
// //
<template> <template>
<div class="wrap wrap2"> <div class="wrap wrap2">
<MyTitle :titleArr="['公司业务', text]"/> <MyTitle :titleArr="['公司业务', text]" />
<!-- 开户 --> <!-- 开户 -->
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20"
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> style="margin: 0">
<el-col :span="10" :offset="2"> <el-form ref="form"
<el-form-item label="客户号" prop="customerNumber"> :model="form"
<el-input :value="form.customerNumber" maxlength="20" disabled @input="(val) => checkHanzi(val, form, 'customerNumber')" ref="customerNumber"></el-input> label-width="120px"
:rules="rules">
<el-col :span="10"
:offset="2">
<el-form-item label="客户号"
prop="customerNumber">
<el-input :value="form.customerNumber"
maxlength="20"
disabled
@input="(val) => checkHanzi(val, form, 'customerNumber')"
ref="customerNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="账户类型" prop="accountType"> <el-form-item label="账户类型"
<el-select v-model.trim="form.accountType" placeholder="请选择" ref="accountType"> prop="accountType">
<el-option v-for="item in getSelectList.accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.accountType"
placeholder="请选择"
ref="accountType">
<el-option v-for="item in getSelectList.accountTypeSelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="账户科目" prop="accountManagement"> <el-form-item label="账户科目"
<el-select v-model.trim="form.accountManagement" placeholder="请选择" ref="accountManagement"> prop="accountManagement">
<el-option v-for="item in getSelectList.accountManagementList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.accountManagement"
placeholder="请选择"
ref="accountManagement">
<el-option v-for="item in getSelectList.accountManagementList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo"> <el-form-item label="钞汇标识"
<el-select v-model.trim="form.goldLogo" placeholder="请选择" ref="goldLogo"> prop="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.goldLogo"
placeholder="请选择"
ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="出账页标志" prop="outAccountWay"> <el-form-item label="出账页标志"
<el-select v-model.trim="form.outAccountWay" placeholder="请选择" ref="outAccountWay"> prop="outAccountWay">
<el-option v-for="item in getSelectList.outAccountWayList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.outAccountWay"
placeholder="请选择"
ref="outAccountWay">
<el-option v-for="item in getSelectList.outAccountWayList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="统计代码" prop="clientNumber"> <el-form-item label="统计代码"
<el-input :value="form.clientNumber" @input="(val) => checkHanzi(val, form, 'clientNumber')" ref="clientNumber"></el-input> prop="clientNumber">
<el-input :value="form.clientNumber"
@input="(val) => checkHanzi(val, form, 'clientNumber')"
ref="clientNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="外汇证号" prop="foreignCurrencyCertificate"> <el-form-item label="外汇证号"
<el-input :value="form.foreignCurrencyCertificate" @input="(val) => checkHanzi(val, form, 'foreignCurrencyCertificate')" ref="foreignCurrencyCertificate"></el-input> prop="foreignCurrencyCertificate">
<el-input :value="form.foreignCurrencyCertificate"
@input="(val) => checkHanzi(val, form, 'foreignCurrencyCertificate')"
ref="foreignCurrencyCertificate"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="客户姓名" prop="customerName"> :offset="1">
<el-input :value="form.customerName" disabled @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input> <el-form-item label="客户姓名"
prop="customerName">
<el-input :value="form.customerName"
disabled
@input="(val) => checkName(val, form, 'customerName')"
ref="customerName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="账户性质" prop="accountQuality"> <el-form-item label="账户性质"
<el-select v-model.trim="form.accountQuality" placeholder="请选择" ref="accountQuality"> prop="accountQuality">
<el-option v-for="item in getSelectList.accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.accountQuality"
placeholder="请选择"
ref="accountQuality">
<el-option v-for="item in getSelectList.accountQualitySelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种"
<el-select v-model.trim="form.currency" placeholder="请选择" ref="currency"> prop="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.currency"
placeholder="请选择"
ref="currency">
<el-option v-for="item in getSelectList.currencySelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="计息方式" prop="calculateWay"> <el-form-item label="计息方式"
<el-select v-model.trim="form.calculateWay" placeholder="请选择" ref="calculateWay"> prop="calculateWay">
<el-option v-for="item in getSelectList.calculateWayList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.calculateWay"
placeholder="请选择"
ref="calculateWay">
<el-option v-for="item in getSelectList.calculateWayList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取方式" prop="drawWay"> <el-form-item label="支取方式"
<el-select v-model.trim="form.drawWay" placeholder="请选择" ref="drawWay"> prop="drawWay">
<el-option label="印鉴" :value="114"> </el-option> <el-select v-model.trim="form.drawWay"
placeholder="请选择"
ref="drawWay">
<el-option label="印签"
:value="114"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="外汇核准号" prop="foreignCurrencyBumber"> <el-form-item label="外汇核准号"
<el-input :value="form.foreignCurrencyBumber" @input="(val) => checkName(val, form, 'foreignCurrencyBumber')" ref="foreignCurrencyBumber"></el-input> prop="foreignCurrencyBumber">
<el-input :value="form.foreignCurrencyBumber"
@input="(val) => checkName(val, form, 'foreignCurrencyBumber')"
ref="foreignCurrencyBumber"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="submitForm"
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> type="primary"
class="submitBtn"
v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="submitForm2" />
</div> </div>
</div> </div>
@ -91,17 +169,17 @@ import TipsBefore from '@/mixins/tipsBefore'
export default { export default {
name: 'index', name: 'index',
components:{ components: {
MyTitle, MyTitle,
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
data() { data () {
return { return {
moduleName: 'business/openAccount', moduleName: 'business/openAccount',
text:'开户',/* 顶部文字 */ text: '开户',/* 顶部文字 */
visible: false, visible: false,
form:{ form: {
// //
customerName: '', // customerName: '', //
accountQuality: '', // accountQuality: '', //
@ -118,7 +196,7 @@ export default {
foreignCurrencyBumber: '', // foreignCurrencyBumber: '', //
foreignCurrencyCertificate: '' // foreignCurrencyCertificate: '' //
}, },
formName:{ formName: {
// //
customerName: '客户姓名', // customerName: '客户姓名', //
accountQuality: '账户性质', // accountQuality: '账户性质', //
@ -194,11 +272,11 @@ export default {
} }
] ]
}, },
second:[// second: [//
], ],
options:[], options: [],
activeIndex:'1', activeIndex: '1',
// if(this.form.customerNumber){ // if(this.form.customerNumber){
// formList.push({ "answerId":'228', "emptyOne": "19", "emptyTwo": this.form.customerNumber, "operationIds": parentId + ',228', "type": "3" })// // formList.push({ "answerId":'228', "emptyOne": "19", "emptyTwo": this.form.customerNumber, "operationIds": parentId + ',228', "type": "3" })//
// } // }
@ -280,12 +358,12 @@ export default {
submited: 0 submited: 0
} }
}, },
mixins: [ TipsBefore ], mixins: [TipsBefore],
created() { created () {
// if(this.isNeedBefore) { // if(this.isNeedBefore) {
// return // return
// } // }
if(this.dataFlow.corporateClient) { if (this.dataFlow.corporateClient) {
const { peopleNumber, userName } = this.dataFlow const { peopleNumber, userName } = this.dataFlow
this.form.customerName = userName this.form.customerName = userName
this.form.customerNumber = peopleNumber this.form.customerNumber = peopleNumber
@ -301,15 +379,15 @@ export default {
setPopId: 'system/setPopId', setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
getFormData(){ getFormData () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,27,224' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,27,224'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
}, },
submitForm(){ submitForm () {
// let projectId = sessionStorage.getItem('projectId') // let projectId = sessionStorage.getItem('projectId')
// let startTime = sessionStorage.getItem('startTime') // let startTime = sessionStorage.getItem('startTime')
if (this.submited) return this.$message.error('已提交!') if (this.submited) return this.$message.error('已提交!')
if(!this.form.customerName) { if (!this.form.customerName) {
this.setTipsOperate('请先完成 客户信息 -> 公司客户信息建立'); this.setTipsOperate('请先完成 客户信息 -> 公司客户信息建立');
return; return;
} }
@ -318,7 +396,7 @@ export default {
this.visible = true; this.visible = true;
}, this.$refs)); }, this.$refs));
}, },
submitForm2(){ submitForm2 () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,27,224' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,27,224'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
@ -340,13 +418,13 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.wrap{ .wrap {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: auto; overflow: auto;
padding: 24px 0 24px 24px; padding: 24px 0 24px 24px;
.body{ .body {
margin-top: 50px; margin-top: 50px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;

@ -52,7 +52,7 @@
</el-form-item> </el-form-item>
<el-form-item label="支取方式" prop="payWay"> <el-form-item label="支取方式" prop="payWay">
<el-select v-model.trim="form.payWay" disabled placeholder="请选择" ref="payWay"> <el-select v-model.trim="form.payWay" disabled placeholder="请选择" ref="payWay">
<el-option label="印" :value="114"> </el-option> <el-option label="印" :value="114"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="转入户名" prop="transinName"> <el-form-item label="转入户名" prop="transinName">

@ -1,79 +1,133 @@
// //
<template> <template>
<div class="wrap wrap2"> <div class="wrap wrap2">
<MyTitle :titleArr="['同城交互', '同城提出']"/> <MyTitle :titleArr="['同城交互', '同城提出']" />
<!-- 存款 --> <!-- 存款 -->
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20"
<el-form ref="form" :model="form" label-width="150px" :rules="rules"> style="margin: 0">
<el-col :span="10" :offset="1"> <el-form ref="form"
<el-form-item label="本行收款账号" prop="shroffAccountNumber"> :model="form"
<el-input @blur="getBlur" :value="form.shroffAccountNumber" @input="val => checkHanzi(val, form, 'shroffAccountNumber')" ref="shroffAccountNumber"></el-input> label-width="150px"
:rules="rules">
<el-col :span="10"
:offset="1">
<el-form-item label="本行收款账号"
prop="shroffAccountNumber">
<el-input @blur="getBlur"
:value="form.shroffAccountNumber"
@input="val => checkHanzi(val, form, 'shroffAccountNumber')"
ref="shroffAccountNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种"
<el-select v-model.trim="form.currency" placeholder="请选择" ref="currency"> prop="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.currency"
placeholder="请选择"
ref="currency">
<el-option v-for="item in getSelectList.currencySelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
<!-- <el-option label="CNY人民币" value="12"></el-option> --> <!-- <el-option label="CNY人民币" value="12"></el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="提出场次" prop="proposeTime"> <el-form-item label="提出场次"
<el-input :value="form.proposeTime" @input="val => inputListen(val, form, 'proposeTime')" ref="proposeTime"></el-input> prop="proposeTime">
<el-input :value="form.proposeTime"
@input="val => inputListen(val, form, 'proposeTime')"
ref="proposeTime"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="他行收款账号" prop="otherAccountNumber"> <el-form-item label="他行收款账号"
<el-input :value="form.otherAccountNumber" @input="val => checkHanzi(val, form, 'otherAccountNumber')" ref="otherAccountNumber"></el-input> prop="otherAccountNumber">
<el-input :value="form.otherAccountNumber"
@input="val => checkHanzi(val, form, 'otherAccountNumber')"
ref="otherAccountNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="票据类型" prop="billType"> <el-form-item label="票据类型"
<el-select v-model.trim="form.billType" placeholder="请选择" ref="billType"> prop="billType">
<el-option v-for="item in getSelectList.billTypeSelect" :label="item.options" :key="item.itemId" :value="item.itemId" ></el-option> <el-select v-model.trim="form.billType"
placeholder="请选择"
ref="billType">
<el-option v-for="item in getSelectList.billTypeSelect"
:label="item.options"
:key="item.itemId"
:value="item.itemId"></el-option>
<!-- <el-option :label="119" :key="item.itemId" :value="item.itemId" ></el-option> --> <!-- <el-option :label="119" :key="item.itemId" :value="item.itemId" ></el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="出票日期" prop="drawBillDate"> <el-form-item label="出票日期"
prop="drawBillDate">
<el-date-picker <el-date-picker v-model.trim="form.drawBillDate"
v-model.trim="form.drawBillDate"
type="date" type="date"
placeholder="选择日期" placeholder="选择日期"
ref="drawBillDate" ref="drawBillDate"
format="yyyy-MM-dd" format="yyyy-MM-dd"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd">
>
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="本行收款户名" prop="shroffAccountUsername"> :offset="1">
<el-input @focus="getFocus" disabled :value="form.shroffAccountUsername" @input="val => checkName(val, form, 'shroffAccountUsername')" ref="shroffAccountUsername"></el-input> <el-form-item label="本行收款户名"
prop="shroffAccountUsername">
<el-input @focus="getFocus"
disabled
:value="form.shroffAccountUsername"
@input="val => checkName(val, form, 'shroffAccountUsername')"
ref="shroffAccountUsername"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="金额" prop="money"> <el-form-item label="金额"
<el-input :value="form.money" @input="val => ismoney(val, form, 'money')" ref="money"></el-input> prop="money">
<el-input :value="form.money"
@input="val => ismoney(val, form, 'money')"
ref="money"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="提出日期" prop="proposeDate"> <el-form-item label="提出日期"
prop="proposeDate">
<!-- <el-date-picker <!-- <el-date-picker
v-model.trim="form.proposeDate" v-model.trim="form.proposeDate"
type="date" type="date"
placeholder="选择日期" placeholder="选择日期"
ref="proposeDate"> ref="proposeDate">
</el-date-picker> --> </el-date-picker> -->
<el-input :value="form.proposeDate" disabled ref="proposeDate"></el-input> <el-input :value="form.proposeDate"
disabled
ref="proposeDate"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="他行收款户名" prop="otherAccountUsername"> <el-form-item label="他行收款户名"
<el-input :value="form.otherAccountUsername" @input="val => checkName(val, form, 'otherAccountUsername')" ref="otherAccountUsername"></el-input> prop="otherAccountUsername">
<el-input :value="form.otherAccountUsername"
@input="val => checkName(val, form, 'otherAccountUsername')"
ref="otherAccountUsername"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" prop="voucherNumber"> <el-form-item label="凭证号码"
<el-input :value="form.voucherNumber" @input="val => checkHanzi(val, form, 'voucherNumber')" ref="voucherNumber"></el-input> prop="voucherNumber">
<el-input :value="form.voucherNumber"
@input="val => checkHanzi(val, form, 'voucherNumber')"
ref="voucherNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="摘要" prop="abstract"> <el-form-item label="摘要"
<el-input v-model.trim="form.abstract" ref="abstract"></el-input> prop="abstract">
<el-input v-model.trim="form.abstract"
ref="abstract"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="submitForm"
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> type="primary"
class="submitBtn"
v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="submitForm2" />
</div> </div>
</div> </div>
</template> </template>
@ -88,18 +142,18 @@ const moduleName = "cityWide/cityWideOut"
import { getSubjectInfo, addOperation, getOperation } from '@/api/http'; import { getSubjectInfo, addOperation, getOperation } from '@/api/http';
export default { export default {
name: 'index', name: 'index',
components:{ components: {
MyTitle, MyTitle,
MyDialog MyDialog
}, },
mixins: [ TipsBefore ], mixins: [TipsBefore],
data() { data () {
return { return {
text:'存款',/* 顶部文字 */ text: '存款',/* 顶部文字 */
visible: false, visible: false,
// billTypeSelect: [], // billTypeSelect: [],
moduleName, moduleName,
form:{ form: {
// //
shroffAccountNumber: '', // shroffAccountNumber: '', //
money: '', // money: '', //
@ -283,11 +337,11 @@ export default {
"subjectId": '61', "subjectId": '61',
}, },
}, },
visible:false, visible: false,
submited: 0 submited: 0
} }
}, },
created() { created () {
const tmpFunc = () => { const tmpFunc = () => {
const date = new Date() const date = new Date()
var y = date.getFullYear(); var y = date.getFullYear();
@ -301,14 +355,14 @@ export default {
// this.form.billType = this.billTypeSelect[0].itemId; // this.form.billType = this.billTypeSelect[0].itemId;
}, },
mounted() { mounted () {
this.$refs.shroffAccountNumber.focus() this.$refs.shroffAccountNumber.focus()
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,346' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,346'
autoPlay2(parentId, this.form, this.myTable2, this.myTable) autoPlay2(parentId, this.form, this.myTable2, this.myTable)
}, },
methods: { methods: {
submitForm() { submitForm () {
if (this.submited) return this.$message.error('已提交!') if (this.submited) return this.$message.error('已提交!')
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //
@ -316,49 +370,42 @@ export default {
this.visible = true; this.visible = true;
}, this.$refs)); }, this.$refs));
}, },
submitForm2() { submitForm2 () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,346' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,346'
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
const formList = [] const formList = []
formList.push({"answerId":'347',"emptyOne": 54, "emptyTwo": this.form.shroffAccountNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '347', "emptyOne": 54, "emptyTwo": this.form.shroffAccountNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'348',"emptyOne": 8, "emptyTwo": +this.form.currency, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '348', "emptyOne": 8, "emptyTwo": +this.form.currency, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'349',"emptyOne": 14, "emptyTwo": this.form.money, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '349', "emptyOne": 14, "emptyTwo": this.form.money, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'350',"emptyOne": 55, "emptyTwo": this.form.proposeTime, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '350', "emptyOne": 55, "emptyTwo": this.form.proposeTime, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'351',"emptyOne": 56, "emptyTwo": this.form.proposeDate, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '351', "emptyOne": 56, "emptyTwo": this.form.proposeDate, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'352',"emptyOne": 57, "emptyTwo": +this.form.billType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '352', "emptyOne": 57, "emptyTwo": +this.form.billType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'353',"emptyOne": 58, "emptyTwo": this.form.shroffAccountUsername, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '353', "emptyOne": 58, "emptyTwo": this.form.shroffAccountUsername, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'354',"emptyOne": 59, "emptyTwo": this.form.otherAccountNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '354', "emptyOne": 59, "emptyTwo": this.form.otherAccountNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'355',"emptyOne": 60, "emptyTwo": this.form.drawBillDate, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '355', "emptyOne": 60, "emptyTwo": this.form.drawBillDate, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'356',"emptyOne": 44, "emptyTwo": this.form.voucherNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '356', "emptyOne": 44, "emptyTwo": this.form.voucherNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'357',"emptyOne": 61, "emptyTwo": this.form.shroffAccountUsername, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '357', "emptyOne": 61, "emptyTwo": this.form.shroffAccountUsername, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
formList.push({"answerId":'358',"emptyOne": 16, "emptyTwo": this.form.abstract, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346","type": "3"}) formList.push({ "answerId": '358', "emptyOne": 16, "emptyTwo": this.form.abstract, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346", "type": "3" })
let params= { let params = {
parentId: "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,29,345,346", parentId: "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,29,345,346",
lcJudgmentRuleReq:formList, lcJudgmentRuleReq: formList,
projectId:+projectId, projectId: +projectId,
startTime:startTime, startTime: startTime,
} }
// addOperation(params).then((data) => {
addOperation(params).then((data)=>{ // this.submited = 1
this.submited = 1 // }).catch((error) => {
// this.$message({ // })
// message: '',
// type: 'success'
// });
// this.setNeedsModule(moduleName)
// this.setDataFlow({ ...this.form })
}).catch((error)=>{
})
}, },
getFocus() { getFocus () {
// console.log('test') // console.log('test')
if(!this.form.shroffAccountNumber) { if (!this.form.shroffAccountNumber) {
this.$message({ this.$message({
message: '请先输入本行收款账号', message: '请先输入本行收款账号',
center: true, center: true,
@ -368,8 +415,8 @@ export default {
} }
}, },
getBlur() { getBlur () {
if(this.form.shroffAccountNumber) { if (this.form.shroffAccountNumber) {
this.form.shroffAccountUsername = this.dataFlow.userName this.form.shroffAccountUsername = this.dataFlow.userName
} }
}, },
@ -391,16 +438,16 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.wrap{ .wrap {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: auto; overflow: auto;
padding: 24px 0 24px 24px; padding: 24px 0 24px 24px;
.body{ .body {
margin-top: 50px; margin-top: 50px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
} }
} }
</style> </style>

@ -1,58 +1,106 @@
// //
<template> <template>
<div class="wrap2 wrap"> <div class="wrap2 wrap">
<MyTitle :titleArr="['客户信息', '公司客户信息建立']"/> <MyTitle :titleArr="['客户信息', '公司客户信息建立']" />
<div class="body"> <div class="body">
<el-row :gutter="20"> <el-row :gutter="20">
<el-form ref="form" :model="form" label-width="140px" :rules="rules"> <el-form ref="form"
<el-col :span="10" :offset="1"> :model="form"
label-width="140px"
:rules="rules">
<el-col :span="10"
:offset="1">
<el-form-item label="证件类型"> <el-form-item label="证件类型">
<el-select v-model.trim="form.idType" placeholder="请选择" ref="idType"> <el-select v-model.trim="form.idType"
<el-option label="统一社会信用代码证" :value="82"></el-option> placeholder="请选择"
ref="idType">
<el-option label="统一社会信用代码证"
:value="82"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="公司名称" prop="companyName"> <el-form-item label="公司名称"
<el-input v-model.trim="form.companyName" maxlength="40" @input="(val) => checkHanzi(val, form, 'companyName')" ref="companyName"></el-input> prop="companyName">
<el-input v-model.trim="form.companyName"
maxlength="40"
@input="(val) => checkHanzi(val, form, 'companyName')"
ref="companyName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="注册资本" class="relative"> <el-form-item label="注册资本"
<el-input :value="form.registeredCapital" @input="val => ismoney(val, form, 'registeredCapital')" maxlength="15" ref="registeredCapital"></el-input> class="relative">
<span class="absolute" style="right: 10px;font-size: 16px;line-height: 40px; color: #606266;"></span> <el-input :value="form.registeredCapital"
@input="val => ismoney(val, form, 'registeredCapital')"
maxlength="15"
ref="registeredCapital"></el-input>
<span class="absolute"
style="right: 10px;font-size: 16px;line-height: 40px; color: #606266;"></span>
</el-form-item> </el-form-item>
<el-form-item label="法人证件号码" required> <el-form-item label="法人证件号码"
<div class="idCard" @click="popUp('身份证扫描仪')" v-if='!idNumberJudge'> required>
<div class="idCard"
@click="popUp('身份证扫描仪')"
v-if='!idNumberJudge'>
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
<div v-else> <div v-else>
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input> <el-input :value="form.idNumber"
disabled
ref="idNumber"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="联系电话" :rules="rules.phone" prop="phone"> <el-form-item label="联系电话"
<el-input :value="form.phone" @input="(val) => phoneListen(val, form, 'phone')" maxlength="12" ref='phone'></el-input> :rules="rules.phone"
prop="phone">
<el-input :value="form.phone"
@input="(val) => phoneListen(val, form, 'phone')"
maxlength="12"
ref='phone'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="代码证号" prop="codeNumber"> :offset="1">
<el-input :value="form.codeNumber" @input="(val) => checkHanzi(val, form, 'codeNumber')" ref="codeNumber"></el-input> <el-form-item label="代码证号"
prop="codeNumber">
<el-input :value="form.codeNumber"
@input="(val) => checkHanzi(val, form, 'codeNumber')"
ref="codeNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="公司地址"> <el-form-item label="公司地址">
<el-input v-model.trim="form.companyAddress" maxlength="60" ref="companyAddress"></el-input> <el-input v-model.trim="form.companyAddress"
maxlength="60"
ref="companyAddress"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="法人证件类型" prop="certificateType"> <el-form-item label="法人证件类型"
<el-select v-model.trim="form.certificateType" placeholder="请选择" ref="certificateType"> prop="certificateType">
<el-option label="身份证" :value="83"></el-option> <el-select v-model.trim="form.certificateType"
placeholder="请选择"
ref="certificateType">
<el-option label="身份证"
:value="132"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="法人姓名" prop="name"> <el-form-item label="法人姓名"
<el-input v-model.trim="form.name" disabled @input="(val) => checkName(val, form, 'name')" ref="name"></el-input> prop="name">
<el-input v-model.trim="form.name"
disabled
@input="(val) => checkName(val, form, 'name')"
ref="name"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="submitForm"
type="primary"
class="submitBtn"
v-throttle>提交</el-button>
</div> </div>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" /> <my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="submitForm2" />
</div> </div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" /> --> <!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" class="wrap" /> -->
@ -76,15 +124,15 @@ export default {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
mixins: [ TipsBefore ], mixins: [TipsBefore],
data() { data () {
return { return {
moduleName: 'corporateClient', moduleName: 'corporateClient',
idNumberJudge: false, idNumberJudge: false,
visible:false,// visible: false,//
authorization:false,// authorization: false,//
success:false,// success: false,//
form:{ form: {
idNumber: '', idNumber: '',
name: '', name: '',
phone: '', phone: '',
@ -95,7 +143,7 @@ export default {
companyAddress: '', companyAddress: '',
certificateType: '' certificateType: ''
}, },
formName:{ formName: {
idNumber: '法人证件号码', idNumber: '法人证件号码',
name: '法人姓名', name: '法人姓名',
phone: '联系电话', phone: '联系电话',
@ -155,7 +203,7 @@ export default {
} }
}, },
created() { created () {
// firmClientIdentity // firmClientIdentity
// if(this.isNeedBefore) { // if(this.isNeedBefore) {
// if(sessionStorage.getItem('firmClientIdentity')) { // if(sessionStorage.getItem('firmClientIdentity')) {
@ -164,7 +212,7 @@ export default {
// } // }
// return // return
// } // }
if(sessionStorage.getItem('firmClientIdentity')) { if (sessionStorage.getItem('firmClientIdentity')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow const { idNumber, userName } = this.dataFlow
this.form.idNumber = idNumber this.form.idNumber = idNumber
@ -182,24 +230,24 @@ export default {
}, },
mounted() { mounted () {
}, },
methods: { methods: {
getFormData(){ getFormData () {
let param= { let param = {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34' parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34'
} }
getOperation(param).then((data)=>{ getOperation(param).then((data) => {
console.log(data) console.log(data)
if(data.status == 200) { if (data.status == 200) {
var list = data.data.judgmentRuleReqs var list = data.data.judgmentRuleReqs
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '48') {this.form.idType = list[i].emptyTwo} // if (list[i].answerId == '48') { this.form.idType = list[i].emptyTwo } //
else if (list[i].answerId == '49') {this.form.codeNumber = list[i].emptyTwo} // else if (list[i].answerId == '49') { this.form.codeNumber = list[i].emptyTwo } //
else if (list[i].answerId == '50') {this.form.companyName = list[i].emptyTwo} // else if (list[i].answerId == '50') { this.form.companyName = list[i].emptyTwo } //
else if (list[i].answerId == '51') {this.form.companyAddress = list[i].emptyTwo} // else if (list[i].answerId == '51') { this.form.companyAddress = list[i].emptyTwo } //
else if (list[i].answerId == '52') {this.form.registeredCapital = list[i].emptyTwo/10000} // else if (list[i].answerId == '52') { this.form.registeredCapital = list[i].emptyTwo / 10000 } //
else if (list[i].answerId == '53') {this.form.certificateType = +list[i].emptyTwo} // else if (list[i].answerId == '53') { this.form.certificateType = +list[i].emptyTwo } //
// else if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} // // else if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //
else if (list[i].answerId == '54') { else if (list[i].answerId == '54') {
console.log('54id') console.log('54id')
@ -207,11 +255,11 @@ export default {
this.idNumberJudge = true this.idNumberJudge = true
this.form.idNumber = list[i].emptyTwo this.form.idNumber = list[i].emptyTwo
} }
else if (list[i].answerId == '55') {this.form.name = list[i].emptyTwo} // else if (list[i].answerId == '55') { this.form.name = list[i].emptyTwo } //
else if (list[i].answerId == '56') {this.form.phone = list[i].emptyTwo} // else if (list[i].answerId == '56') { this.form.phone = list[i].emptyTwo } //
} }
} }
}).catch((error)=>{ }).catch((error) => {
}) })
}, },
...mapMutations({ ...mapMutations({
@ -222,7 +270,7 @@ export default {
setNeedsModule: 'system/setNeedsModule', setNeedsModule: 'system/setNeedsModule',
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
popUp(){// popUp () {//
// this.$store.commit('system/changePop',{show:true,text:'',id:'34'}) // this.$store.commit('system/changePop',{show:true,text:'',id:'34'})
// this.setDataFlow() // this.setDataFlow()
// let tmpForm = {} // let tmpForm = {}
@ -237,12 +285,12 @@ export default {
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popSure(){ popSure () {
}, },
submitForm() { submitForm () {
if (this.submited) return this.$message.error('已提交!') if (this.submited) return this.$message.error('已提交!')
if(!this.form.idNumber) { if (!this.form.idNumber) {
messageIdCard() messageIdCard()
return return
} }
@ -252,45 +300,45 @@ export default {
this.visible = true; this.visible = true;
}, this.$refs)); }, this.$refs));
}, },
submitForm2() { submitForm2 () {
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let formList = []; let formList = [];
let firmClientIdentity = sessionStorage.getItem('firmClientIdentity') let firmClientIdentity = sessionStorage.getItem('firmClientIdentity')
let firmClientIdentitys = JSON.parse(firmClientIdentity); let firmClientIdentitys = JSON.parse(firmClientIdentity);
if (firmClientIdentitys && firmClientIdentitys.length > 0){ if (firmClientIdentitys && firmClientIdentitys.length > 0) {
// for (var i=0;i<firmClientIdentitys.length;i++){ // for (var i=0;i<firmClientIdentitys.length;i++){
// formList.push({"answerId":54,"emptyOne": "", "emptyTwo": firmClientIdentity, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,54","type": ""})// // formList.push({"answerId":54,"emptyOne": "", "emptyTwo": firmClientIdentity, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,54","type": ""})//
// } // }
formList.push({"answerId":54,"emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,54,13","type": ""})// formList.push({ "answerId": 54, "emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,54,13", "type": "" })//
if(this.form.idType){ if (this.form.idType) {
formList.push({ "answerId":'48', "emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,48","type": "1"})// formList.push({ "answerId": '48', "emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,48", "type": "1" })//
} }
if(this.form.companyAddress){ if (this.form.companyAddress) {
formList.push({ "answerId":'51', "emptyOne": "22", "emptyTwo": this.form.companyAddress, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,51", "type": "3" })// formList.push({ "answerId": '51', "emptyOne": "22", "emptyTwo": this.form.companyAddress, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,51", "type": "3" })//
} }
if(this.form.registeredCapital){ if (this.form.registeredCapital) {
const getRegisteredCapital = this.form.registeredCapital.slice(0, this.form.registeredCapital.length-1)*10000 const getRegisteredCapital = this.form.registeredCapital.slice(0, this.form.registeredCapital.length - 1) * 10000
formList.push({ "answerId":'52', "emptyOne": "23", "emptyTwo": getRegisteredCapital, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,52", "type": "3" })// formList.push({ "answerId": '52', "emptyOne": "23", "emptyTwo": getRegisteredCapital, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,52", "type": "3" })//
} }
if(this.form.name){ if (this.form.name) {
formList.push( {"answerId":'55',"emptyOne": "25", "emptyTwo": this.form.name, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,55", "type": "3"})// formList.push({ "answerId": '55', "emptyOne": "25", "emptyTwo": this.form.name, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,55", "type": "3" })//
} }
if(this.form.phone){ if (this.form.phone) {
formList.push({"answerId":'56',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,56", "type": "3"})// formList.push({ "answerId": '56', "emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,56", "type": "3" })//
} }
formList.push( formList.push(
{ "answerId":'49', "emptyOne": "20", "emptyTwo": this.form.codeNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,49", "type": "3" },// { "answerId": '49', "emptyOne": "20", "emptyTwo": this.form.codeNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,49", "type": "3" },//
{ "answerId":'50', "emptyOne": "21", "emptyTwo": this.form.companyName, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,50", "type": "3" },// { "answerId": '50', "emptyOne": "21", "emptyTwo": this.form.companyName, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,50", "type": "3" },//
{"answerId":'53',"emptyOne": "24", "emptyTwo": this.form.certificateType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,34,53", "type": "1"},// { "answerId": '53', "emptyOne": "24", "emptyTwo": this.form.certificateType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,34,53", "type": "1" },//
); );
let params= { let params = {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34', parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq: formList,
projectId:+projectId, projectId: +projectId,
startTime:startTime, startTime: startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data) => {
// this.$message({ // this.$message({
// message: '', // message: '',
// type: 'success' // type: 'success'
@ -301,13 +349,13 @@ export default {
this.setDataFlow({ userName: this.form.name }) this.setDataFlow({ userName: this.form.name })
// //
this.setDataFlow({ [moduleName]: true }) this.setDataFlow({ [moduleName]: true })
this.form.registeredCapital = this.form.registeredCapital.slice(0, this.form.registeredCapital.length-1) this.form.registeredCapital = this.form.registeredCapital.slice(0, this.form.registeredCapital.length - 1)
this.submited = 1 this.submited = 1
this.setPopId('') this.setPopId('')
}).catch((error)=>{ }).catch((error) => {
this.setTipsOperate('服务器繁忙哦,提交失败。') this.setTipsOperate('服务器繁忙哦,提交失败。')
}) })
}else { } else {
this.$message.error('有必填项未填哦~'); this.$message.error('有必填项未填哦~');
} }
}, },
@ -327,13 +375,13 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.wrap{ .wrap {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 24px 0 24px 24px; padding: 24px 0 24px 24px;
overflow: auto; overflow: auto;
.body{ .body {
margin-top: 50px; margin-top: 50px;
overflow: auto; overflow: auto;
overflow-y: auto; overflow-y: auto;

@ -1,40 +1,75 @@
// //
<template> <template>
<div class="body"> <div class="body">
<el-row :gutter="20" style="margin: 0"> <el-row :gutter="20"
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> style="margin: 0">
<el-col :span="10" :offset="1"> <el-form ref="form"
<el-form-item label="证件类型" prop="certificateType"> :model="form"
<el-select v-model.trim="form.certificateType" placeholder="请选择" ref="certificateType"> label-width="120px"
<el-option label="身份证" :value="83"> </el-option> :rules="rules">
<el-col :span="10"
:offset="1">
<el-form-item label="证件类型"
prop="certificateType">
<el-select v-model.trim="form.certificateType"
placeholder="请选择"
ref="certificateType">
<el-option label="身份证"
:value="83"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="凭证号码" prop="voucherNumber"> <el-form-item label="凭证号码"
<div v-if='!cardNumberJudge' class="idCard" @click="popUp('刷卡器')"> prop="voucherNumber">
<div v-if='!cardNumberJudge'
class="idCard"
@click="popUp('刷卡器')">
<p>请刷卡</p> <p>请刷卡</p>
</div> </div>
<div v-else> <div v-else>
<el-input disabled ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> <el-input disabled
ref="voucherNumber"
maxlength="20"
:value="form.voucherNumber"
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
</div> </div>
<!-- <el-input @blur="getDataBlur" ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> --> <!-- <el-input @blur="getDataBlur" ref="voucherNumber" maxlength="20" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> -->
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种"
<el-select v-model.trim="form.currency" disabled placeholder="请选择" ref="currency"> prop="currency">
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.currency"
disabled
placeholder="请选择"
ref="currency">
<el-option v-for="item in getSelectList.currencySelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="定存编号" prop="depositNumber"> <el-form-item label="定存编号"
<el-input :value="form.depositNumber" disabled @input="(val) => checkHanzi(val, form, 'depositNumber')" ref="depositNumber"></el-input> prop="depositNumber">
</el-form-item> <el-input :value="form.depositNumber"
<el-form-item label="利率" prop="interestRate"> disabled
<el-input :value="form.interestRate" disabled @input="(val) => checkHanzi(val, form, 'interestRate')" ref="interestRate"></el-input> @input="(val) => checkHanzi(val, form, 'depositNumber')"
ref="depositNumber"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="利息" prop="interest"> <el-form-item label="利率"
<el-input :value="form.interest" disabled @input="(val) => checkHanzi(val, form, 'interest')" ref="interest"></el-input> prop="interestRate">
<el-input :value="form.interestRate"
disabled
@input="(val) => checkHanzi(val, form, 'interestRate')"
ref="interestRate"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="起息日期" required> <el-form-item label="利息"
<el-date-picker prop="interest">
<el-input :value="form.interest"
disabled disabled
@input="(val) => checkHanzi(val, form, 'interest')"
ref="interest"></el-input>
</el-form-item>
<el-form-item label="起息日期"
required>
<el-date-picker disabled
v-model.trim="form.signDate" v-model.trim="form.signDate"
type="date" type="date"
placeholder="选择日期" placeholder="选择日期"
@ -45,42 +80,80 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10" :offset="1"> <el-col :span="10"
<el-form-item label="证件号码" required> :offset="1">
<div class="idCard" @click="popUp3('身份证扫描仪')" v-if='!idNumberJudge'> <el-form-item label="证件号码"
required>
<div class="idCard"
@click="popUp3('身份证扫描仪')"
v-if='!idNumberJudge'>
<p>请刷身份证</p> <p>请刷身份证</p>
</div> </div>
<div v-else> <div v-else>
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input> <el-input :value="form.idNumber"
disabled
ref="idNumber"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="客户姓名" prop="customerName"> <el-form-item label="客户姓名"
<el-input ref="customerName" disabled :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')"></el-input> prop="customerName">
<el-input ref="customerName"
disabled
:value="form.customerName"
@input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo"> <el-form-item label="钞汇标识"
<el-select v-model.trim="form.goldLogo" disabled placeholder="请选择" ref="goldLogo"> prop="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-select v-model.trim="form.goldLogo"
disabled
placeholder="请选择"
ref="goldLogo">
<el-option v-for="item in getSelectList.goldLogoSelectList"
:label="item.options"
:value="item.itemId"
:key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="本金" prop="capital"> <el-form-item label="本金"
<el-input :value="form.capital" disabled @input="val => ismoney(val, form, 'capital')" ref="capital" ></el-input> prop="capital">
<el-input :value="form.capital"
disabled
@input="val => ismoney(val, form, 'capital')"
ref="capital"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="存期" prop="depositTerm"> <el-form-item label="存期"
<el-select v-model.trim="form.depositTerm" disabled placeholder="请选择" ref="depositTerm"> prop="depositTerm">
<el-option label="1年" :value="86"> </el-option> <el-select v-model.trim="form.depositTerm"
<el-option label="3年" :value="88"> </el-option> disabled
<el-option label="5年" :value="89"> </el-option> placeholder="请选择"
ref="depositTerm">
<el-option label="1年"
:value="86"> </el-option>
<el-option label="3年"
:value="88"> </el-option>
<el-option label="5年"
:value="89"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="总金额" prop="totalMoney"> <el-form-item label="总金额"
<el-input :value="form.totalMoney" disabled @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input> prop="totalMoney">
<el-input :value="form.totalMoney"
disabled
@input="val => ismoney(val, form, 'totalMoney')"
ref="totalMoney"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码"
<div v-if='!form.drawPassword' class="idCard" @click="popUp2('密码器')"> required>
<div v-if='!form.drawPassword'
class="idCard"
@click="popUp2('密码器')">
<p>请输入密码</p> <p>请输入密码</p>
</div> </div>
<div v-else @click="popUp2('密码器')"> <div v-else
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> @click="popUp2('密码器')">
<el-input :value="form.drawPassword"
ref="drawPassword"
type="password"></el-input>
</div> </div>
</el-form-item> </el-form-item>
<!-- <el-form-item label="续存标识" required> <!-- <el-form-item label="续存标识" required>
@ -95,30 +168,39 @@
</el-form> </el-form>
</el-row> </el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> <el-button @click="submitForm"
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" @submitIt="submitForm2" depositNumber='0816' /> type="primary"
class="submitBtn"
v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="submitForm2"
depositNumber='0816' />
</div> </div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> --> <!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
</template> </template>
<script> <script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard,messageCard, messagePassword, inputListen } from '@/utils/utilFunction.js'; import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, messageIdCard, messageCard, messagePassword, inputListen } from '@/utils/utilFunction.js';
const moduleName = 'usefulPhrases/accoumtClosed' const moduleName = 'usefulPhrases/accoumtClosed'
import { mapMutations, mapGetters } from 'vuex' import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore' import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog' import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore' import TipsBefore from '@/mixins/tipsBefore'
export default{ export default {
name:'', name: '',
props:{}, props: {},
components: { components: {
NeedBefore, NeedBefore,
MyDialog MyDialog
}, },
mixins: [ TipsBefore ], mixins: [TipsBefore],
created() { created () {
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) { if (sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
} }
// if(this.isNeedBefore) { // if(this.isNeedBefore) {
@ -132,12 +214,12 @@ export default{
// } // }
// return // return
// } // }
if(sessionStorage.getItem('nomUsefulPhrasesClosed')) { if (sessionStorage.getItem('nomUsefulPhrasesClosed')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber } = this.dataFlow const { idNumber } = this.dataFlow
this.form.idNumber = idNumber this.form.idNumber = idNumber
} }
if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) { if (sessionStorage.getItem('nomUsefulPhrasesClosed2')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow
this.form.currency = currency this.form.currency = currency
@ -156,13 +238,13 @@ export default{
this.getFormData() this.getFormData()
}, },
data(){ data () {
return{ return {
moduleName: 'usefulPhrases/accoumtClosed', moduleName: 'usefulPhrases/accoumtClosed',
idNumberJudge: false, idNumberJudge: false,
cardNumberJudge: false, cardNumberJudge: false,
visible: false, visible: false,
form:{ form: {
// //
idNumber: '', // idNumber: '', //
currency: '', // currency: '', //
@ -178,9 +260,9 @@ export default{
depositTerm: '', // depositTerm: '', //
interest: '', // interest: '', //
totalMoney: '', // totalMoney: '', //
signDate:'', // signDate: '', //
}, },
formName:{ formName: {
// //
idNumber: '身份证号码', // idNumber: '身份证号码', //
currency: '币种', // currency: '币种', //
@ -196,7 +278,7 @@ export default{
depositTerm: '存期', // depositTerm: '存期', //
interest: '利息', // interest: '利息', //
totalMoney: '总金额', // totalMoney: '总金额', //
signDate:'起息日期', // signDate: '起息日期', //
}, },
rules: { rules: {
voucherNumber: [ voucherNumber: [
@ -305,7 +387,7 @@ export default{
submited: 0 submited: 0
} }
}, },
mounted() { mounted () {
}, },
methods: { methods: {
@ -316,8 +398,8 @@ export default{
setPopId: 'system/setPopId', setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate' setTipsOperate: 'system/setTipsOperate'
}), }),
getDataBlur() { getDataBlur () {
if(!this.form.voucherNumber) { if (!this.form.voucherNumber) {
return return
} }
const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow const { currency, userName, depositNumber, goldLogo, capital, interestRate, interest, totalMoney, signDate, voucherNumber, depositTerm } = this.dataFlow
@ -333,7 +415,7 @@ export default{
// this.form.voucherNumber = voucherNumber // this.form.voucherNumber = voucherNumber
this.form.depositTerm = depositTerm this.form.depositTerm = depositTerm
}, },
getFormData(){ getFormData () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157'
const cards = { const cards = {
// 180: 'nomUsefulPhrasesClosed', // 180: 'nomUsefulPhrasesClosed',
@ -341,19 +423,19 @@ export default{
// 192: 'nomUsefulPhrasesClosedPassword' // 192: 'nomUsefulPhrasesClosedPassword'
} }
const callback = () => { const callback = () => {
if(this.form.idNumber) { if (this.form.idNumber) {
this.idNumberJudge = true this.idNumberJudge = true
} }
if(this.form.voucherNumber) { if (this.form.voucherNumber) {
this.cardNumberJudge = true this.cardNumberJudge = true
} }
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) { if (sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
} }
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
}, },
popUp(text) { popUp (text) {
// this.$store.commit('system/changePop',{show:true,text, id: '181'}) // this.$store.commit('system/changePop',{show:true,text, id: '181'})
this.setTipsOperate('请刷银行卡'); this.setTipsOperate('请刷银行卡');
@ -361,7 +443,7 @@ export default{
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp2(text) { popUp2 (text) {
// this.$store.commit('system/changePop',{show:true,text, id: '192'}) // this.$store.commit('system/changePop',{show:true,text, id: '192'})
this.setTipsOperate('请在密码器输入密码'); this.setTipsOperate('请在密码器输入密码');
@ -369,7 +451,7 @@ export default{
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
popUp3(text) { popUp3 (text) {
// this.$store.commit('system/changePop',{show:true,text, id: '180'}) // this.$store.commit('system/changePop',{show:true,text, id: '180'})
this.setTipsOperate('请刷身份证'); this.setTipsOperate('请刷身份证');
@ -377,9 +459,9 @@ export default{
sessionStorage.setItem('computerPath', this.$route.fullPath) sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/') this.$router.push('/counter/list/')
}, },
submitForm() { submitForm () {
if (this.submited) return this.$message.error('已提交!') if (this.submited) return this.$message.error('已提交!')
if(!this.form.idNumber) { if (!this.form.idNumber) {
messageIdCard() messageIdCard()
// let projectId = sessionStorage.getItem('projectId') // let projectId = sessionStorage.getItem('projectId')
// let startTime = sessionStorage.getItem('startTime') // let startTime = sessionStorage.getItem('startTime')
@ -407,12 +489,12 @@ export default{
// }) // })
return return
} }
if(!this.form.voucherNumber) { if (!this.form.voucherNumber) {
messageCard('请填写凭证号码') messageCard('请填写凭证号码')
return return
} }
if(!this.form.drawPassword) { if (!this.form.drawPassword) {
messagePassword() messagePassword()
return return
} }
@ -421,7 +503,7 @@ export default{
this.visible = true; this.visible = true;
}, this.$refs)); }, this.$refs));
}, },
submitForm2() { submitForm2 () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,157'
const nomUsefulPhrasesClosed = sessionStorage.getItem('nomUsefulPhrasesClosed') const nomUsefulPhrasesClosed = sessionStorage.getItem('nomUsefulPhrasesClosed')
const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2') const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2')
@ -442,7 +524,6 @@ export default{
// "subjectId": 32, // "subjectId": 32,
// } // }
] ]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.setNeedsModule(moduleName) this.setNeedsModule(moduleName)
this.submited = 1 this.submited = 1

@ -54,7 +54,7 @@ const allGoods = {
442: {name:'法人身份证',src:require('@/assets/img/goods/idCard.png'),id:442}, 442: {name:'法人身份证',src:require('@/assets/img/goods/idCard.png'),id:442},
431: {name:'法人身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:431}, 431: {name:'法人身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:431},
443: {name:'开立银行结算账户申请书',src:require('@/assets/img/goods/ApplicationBankSettlement.png'),id:432}, 443: {name:'开立银行结算账户申请书',src:require('@/assets/img/goods/ApplicationBankSettlement.png'),id:443},
434: {name:'统一社会信用代码证',src:require('@/assets/img/goods/营业执照.png'),id:434}, 434: {name:'统一社会信用代码证',src:require('@/assets/img/goods/营业执照.png'),id:434},
435: {name:'统一社会信用代码证复印件',src:require('@/assets/img/goods/营业执照复印件.png'),id:435}, 435: {name:'统一社会信用代码证复印件',src:require('@/assets/img/goods/营业执照复印件.png'),id:435},
@ -66,6 +66,7 @@ const allGoods = {
409: {name:'现金存款凭证',src:require('@/assets/img/goods/CashCertificate.png'),id:409}, 409: {name:'现金存款凭证',src:require('@/assets/img/goods/CashCertificate.png'),id:409},
487: {name:'现金存款凭证联',src:require('@/assets/img/goods/CashCertificate.png'),id:487}, 487: {name:'现金存款凭证联',src:require('@/assets/img/goods/CashCertificate.png'),id:487},
441: {name:'现金存款凭证回单',src:require('@/assets/img/goods/CashCertificate.png'),id:441}, 441: {name:'现金存款凭证回单',src:require('@/assets/img/goods/CashCertificate.png'),id:441},
440: {name:'现金存款凭证凭证联',src:require('@/assets/img/goods/CashCertificate.png'),id:440},
473: {name:'现金支票本联',src:require('@/assets/img/goods/xjzp.png'),id:473}, 473: {name:'现金支票本联',src:require('@/assets/img/goods/xjzp.png'),id:473},
472: {name:'现金支票存根',src:require('@/assets/img/goods/xjzp.png'),id:472}, 472: {name:'现金支票存根',src:require('@/assets/img/goods/xjzp.png'),id:472},
@ -655,7 +656,7 @@ const myInitState = {
'业务十一': { '业务十一': {
id: 500, id: 500,
name: '公司基本户开立', name: '公司基本户开立',
data: [ 442, 431, 432, 434, 435, 436, 437 ], data: [ 442, 431, 434, 435, 436, 437,443 ],
needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡 needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡
isStamp: { isStamp: {
'业务专用章': [ 432, 438 ], '业务专用章': [ 432, 438 ],
@ -1852,7 +1853,7 @@ export default {
'业务十一': { '业务十一': {
id: 500, id: 500,
name: '公司基本户开立', name: '公司基本户开立',
data: [ 442, 431, 432, 434, 435, 436, 437 ], data: [ 442, 431, 434, 435, 436, 437,443 ],
needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡 needs: [ 438, 439 ], // 多了普通空白凭证, 预留印鉴卡
isStamp: { isStamp: {
'业务专用章': [ 432, 438 ], '业务专用章': [ 432, 438 ],
@ -2763,6 +2764,12 @@ export default {
state.businessSelect[state.businessKey].data.push(482, 481) state.businessSelect[state.businessKey].data.push(482, 481)
judgeDelete = false judgeDelete = false
stampSuccess = '464' stampSuccess = '464'
}else if(id === 443) {
state.businessSelect[state.businessKey].data.push(432,433)
judgeDelete = false
cb([432, 433])
stampSuccess = '452'
}else if(id === 411) { }else if(id === 411) {
// judgeDelete = false // judgeDelete = false
} }
@ -2810,7 +2817,7 @@ export default {
judgeDelete = false judgeDelete = false
stampSuccess = '447' stampSuccess = '447'
}else if(id === 409) { }else if(id === 409) {
state.businessSelect[state.businessKey].data.push(487, 441) state.businessSelect[state.businessKey].data.push(440, 441)
judgeDelete = false judgeDelete = false
stampSuccess = '455' stampSuccess = '455'
} }
@ -2884,6 +2891,13 @@ export default {
if(findIt === -1) { if(findIt === -1) {
formList.push({"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,"+stampSuccess,"type": ""}) formList.push({"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,"+stampSuccess,"type": ""})
sessionStorage.setItem('stampList', JSON.stringify(formList)) sessionStorage.setItem('stampList', JSON.stringify(formList))
// 业务十一下给开立银行结算账户申请书盖完章后要调3次下面接口,因此这里特殊处理,手动添加两个
if (stampSuccess == 452 && id === 443) {
// formList.push(
// {"answerId":'432', "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,432","type": ""},
// {"answerId":'433', "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,433","type": ""}
// )
}
} }
// let formList = [ {"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,"+stampSuccess,"type": ""} ] // let formList = [ {"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,"+stampSuccess,"type": ""} ]
let params= { let params= {
@ -2901,8 +2915,8 @@ export default {
} }
// 给开立银行结算账户申请书凭证联盖业务专用章 // 给开立银行结算账户申请书凭证联盖业务专用章
if (sealArr[0] === '业务专用章' && id === 432) { if (sealArr[0] === '业务专用章' && id === 432) {
cb(432) // cb(432)
cb(433) // cb(433)
} }
if(judgeDelete) { if(judgeDelete) {
this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox])
@ -3029,15 +3043,7 @@ export default {
arr.push(allGoods[item]) arr.push(allGoods[item])
} }
}else if(state.businessKey == '业务十一') { }else if(state.businessKey == '业务十一') {
if (item ==432) {
arr.push({
id: 432,
name: '开户银行结算账户申请书',
src: 'static/img/ApplicationBankSettlement.1e0ce8b4.png'
})
}else {
arr.push(allGoods[item]) arr.push(allGoods[item])
}
} else { } else {
arr.push(allGoods[item]) arr.push(allGoods[item])
} }

Loading…
Cancel
Save