yujialong 2 months ago
parent 6a91504fc5
commit 8b5481c175
  1. 2
      src/api/api.js
  2. 76
      src/components/dialog/index.vue
  3. 12
      src/pages/manage/list/foreignExchange/puchasing.vue
  4. 16
      src/pages/manage/list/foreignExchange/settlement.vue
  5. 13
      src/pages/manage/list/onlineBank/openAccount.vue
  6. 8
      src/pages/report/index.vue
  7. 10
      src/store/modules/system.js

@ -10,7 +10,7 @@ if (dev) {
// 本地
host = 'http://121.37.12.51/' // 中台测试服
// host = 'https://www.occupationlab.com/' // 正式服
host = 'http://192.168.31.51:9000/'
// host = 'http://192.168.31.51:9000/'
const ip = localStorage.getItem('localIp')
const ips = ['http://192.168.31.217:9000/', 'http://192.168.31.51:9000/', 'http://121.37.12.51/']
host = ips[+ip]

@ -65,6 +65,7 @@
</template>
<script>
import { mapGetters } from 'vuex'
// objmoduleName,
const obj = {
@ -121,7 +122,32 @@ const nameMap = {
116: '现金支票'
},
currency: {
12: 'CNY人民币'
12: 'CNY人民币',
153: '美元 现汇',
163: '美元',
164: '澳大利亚元',
165: '加拿大元',
166: '港币',
167: '英镑',
168: '欧元',
169: '日元',
170: '新西兰元',
171: '新加坡元',
172: '泰国铢',
173: '韩元',
174: '新台币(不支持跨进汇款)',
175: '瑞土法郎',
176: '瑞典克朗',
177: '丹麦克朗',
178: '卢布',
179: '挪威克朗',
180: '菲律宾比索(不支持跨进汇款)',
181: '澳门元',
182: '印尼卢比 (不支持跨进汇款)',
183: '巴西里亚尔(不支持跨进汇款)',
184: '阿联酋迪拉姆(不支持跨进汇款)',
185: '印度卢比(不支持跨进汇款)',
186: '印度卢比(南非兰特)',
},
goldLogo: {
13: '钞户',
@ -309,6 +335,17 @@ const nameMap = {
201: '其他服务',
202: '其他经常转移',
},
fundingSource: {
154: '职工报酬和赡家款',
155: '旅游',
156: '金融和保险服务',
157: '专有权利使用费和特许费',
158: '咨询服务',
159: '其他服务',
160: '投资收益',
161: '其他经常转移',
162: '运输',
},
}
export default {
props: {
@ -335,14 +372,30 @@ export default {
moduleName: {
type: String,
default: 'spacial'
},
spare: {
type: Boolean,
default: true
},
},
data () {
return {
flow: 1, //
disForm: { //
name: '002288',
pass: '123456'
},
leftObj: {}, //
rightObj: {} //
}
},
created () {
// flow4
if (!this.needAuth) {
this.flow = 4
}
let num = 0;
let num = 0
// 1
for (const key in this.showForm) {
if (!this.showForm[key]) {
@ -383,7 +436,7 @@ export default {
return str;
}
if (this.spare) {
if (num % 2 === 1) {
//
this.leftObj['流水号'] = tmpFunc2()
@ -414,20 +467,8 @@ export default {
}
this.rightObj['会计时间'] = tmpFunc()
if (this.leftObj['支取方式'] == 114) this.leftObj['支取方式'] = '印鉴'
console.log("🚀 ~ file: index.vue ~ line 393 ~ created ~ this.rightObj", this.leftObj, this.rightObj, this.showForm, this.formName)
// 002110
},
data () {
return {
flow: 1, //
disForm: { //
name: '002288',
pass: '123456'
},
leftObj: {}, //
rightObj: {} //
}
},
methods: {
cancel () {
@ -464,7 +505,10 @@ export default {
// +
successName () {
return obj[this.moduleName] + '成功'
}
},
...mapGetters({
getSelectList: 'system/getSelectList'
}),
}
}
</script>

@ -23,7 +23,7 @@
<p>请刷卡</p>
</div>
<div v-else>
<el-input maxlength="20" ref="voucherNumber" disabled :value="form.voucherNumber"
<el-input maxlength="20" ref="voucherNumber" disabled v-model="form.voucherNumber"
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
<p style="color: #8f8f8f;">可用余额人民币 3,200,000.00</p>
</div>
@ -48,15 +48,15 @@
:key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="外汇金额" prop="money">
<el-input :value="form.money" maxlength="15" @input="val => ismoney(val, form, 'money')"></el-input>
<el-form-item label="外" prop="money">
<el-input v-model="form.money" maxlength="15" @input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUp2('密码器')">
<p>请输入密码</p>
</div>
<div v-else @click="popUp2('密码器')">
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
<el-input v-model="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
</el-col>
@ -64,7 +64,7 @@
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName"
@submitIt="submitForm2" :needAuth="needAuth" />
:spare="false" @submitIt="submitForm2" :needAuth="needAuth" />
</div>
</template>
<script>
@ -115,7 +115,7 @@ export default {
voucherNumber: '凭证号码',
currency: '币种',
goldLogo: '钞汇',
money: '外汇金额',
money: '外',
buyForeignPurpose: '购汇用途',
drawPassword: '支取密码',
},

@ -19,20 +19,21 @@
<p>请刷卡</p>
</div>
<div v-else>
<el-input maxlength="20" ref="voucherNumber" disabled :value="form.voucherNumber"
<el-input maxlength="20" ref="voucherNumber" disabled v-model="form.voucherNumber"
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input>
<p style="color: #8f8f8f;">可用余额人民币 3,200,000.00</p>
<p style="color: #8f8f8f;">可用余额美元 现汇 5000.00</p>
</div>
</el-form-item>
<el-form-item label="外币金额" prop="money">
<el-input :value="form.money" maxlength="15" @input="val => ismoney(val, form, 'money')"></el-input>
<el-input v-model="form.money" placeholder="最多可结汇5,000.00" maxlength="15"
@input="val => ismoney(val, form, 'money')"></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
<div v-if='!form.drawPassword' class="idCard" @click="popUp2('密码器')">
<p>请输入密码</p>
</div>
<div v-else @click="popUp2('密码器')">
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input>
<el-input v-model="form.drawPassword" ref="drawPassword" type="password"></el-input>
</div>
</el-form-item>
</el-col>
@ -53,7 +54,7 @@
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName"
@submitIt="submitForm2" :needAuth="needAuth" />
:spare="false" @submitIt="submitForm2" :needAuth="needAuth" />
</div>
</template>
<script>
@ -82,8 +83,7 @@ export default {
}
if (sessionStorage.getItem('foreignExchangeSettleBankCard')) {
this.cardNumberJudge = true
const { currency, voucherNumber } = this.dataFlow
this.form.currency = currency
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
// this.getFormData()
@ -95,7 +95,7 @@ export default {
cardNumberJudge: false,
form: {
voucherNumber: '', //
currency: '',
currency: 153,
money: '',
fundingSource: '',
drawPassword: '',

@ -78,14 +78,14 @@
</el-form-item>
</el-col>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form"
:formName="formName" @submitIt="submitForm2" depositNumber='0816' />
:formName="formName" :spare="false" @submitIt="submitForm2" depositNumber='0816' />
</el-form>
</el-row>
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button>
</div>
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName"
@submitIt="submitForm2()" />
:spare="false" @submitIt="submitForm2()" />
</div>
</template>
@ -114,8 +114,8 @@ export default {
idNumber: '',//
clientNumber: '', //
customerName: '', //
currency: '', //
goldLogo: '', //
currency: 12, //
goldLogo: 13, //
voucherType: 15, //
voucherNumber: '', //
openOnlineBanking: '',
@ -194,13 +194,10 @@ export default {
if (sessionStorage.getItem('onlineBankIdCard')) {
this.idNumberJudge = true
const { idNumber, userName, peopleNumber, currency, goldLogo } = this.dataFlow
const { idNumber, userName, peopleNumber } = this.dataFlow
this.form.clientNumber = peopleNumber
this.form.idNumber = idNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.voucherType = 15
}
if (sessionStorage.getItem('onlineBankBankCard')) {
this.cardNumberJudge = true

@ -187,16 +187,12 @@ export default {
summarize: form.summarize
}
const expData = report.data
this.userScores = userScores
// data使
if (!expData) {
this.userScores = userScores
this.handleList(userScores)
// this.$post(this.api.editExperimentalData, {
// reportId,
// data: JSON.stringify(userScores)
// }).then(res => { }).catch(err => { })
} else {
this.handleList(userScores)
this.handleList(JSON.parse(expData))
}
this.loading = false

@ -201,7 +201,7 @@ const allDataFlow = {
isSettle: false,
// 票据号码
ticketNumber: '00242986',
'corporateClient': false,
corporateClient: false,
nowDepositNumber
}
@ -1396,7 +1396,7 @@ const myInitState = {
'业务三十四': {
id: 704,
name: '网上银行',
data: [13, 16, 407],
data: [13, 16],
needs: [],
isStamp: {
// '业务专用章': [ 411 ]
@ -2716,7 +2716,7 @@ export default {
'业务三十四': {
id: 704,
name: '网上银行',
data: [13, 16, 407],
data: [13, 16],
needs: [],
isStamp: {
// '业务专用章': [ 411 ]
@ -2842,16 +2842,18 @@ export default {
}
for (const key in mapObj) {
const name = mapObj[key]
if (!state.selectList[name] || !state.selectList[name].length) {
getSubjectInfo({
subject_id: key
}).then((data) => {
const name = mapObj[key]
if (!state.selectList[name]) state.selectList[name] = []
if (data.status == 200 && !state.selectList[name].length) {
state.selectList[name].push(...data.data.items);
}
}).catch((error) => { })
}
}
},

Loading…
Cancel
Save