20240205
luoJunYong.123 3 years ago
parent 0346aca60d
commit 7a74b1278c
  1. 4
      src/components/case/index.vue
  2. 25
      src/pages/manage/list/cityWide/cityWideIn.vue
  3. 15
      src/pages/manage/list/cityWide/cityWideOut.vue

@ -440,8 +440,12 @@ export default {
for (var i=0;i<data.data.projects.length;i++){ for (var i=0;i<data.data.projects.length;i++){
if (data.data.projects[i].projectId){ if (data.data.projects[i].projectId){
this.topicList.push(data.data.projects[i]) this.topicList.push(data.data.projects[i])
} }
} }
console.log('---this.topicList')
console.log(this.topicList)
if(this.topicList.length > 0){ if(this.topicList.length > 0){
// const projectIndex = JSON.parse(sessionStorage.getItem('projectIndex')) // const projectIndex = JSON.parse(sessionStorage.getItem('projectIndex'))
// const projectId = sessionStorage.getItem('projectId') // const projectId = sessionStorage.getItem('projectId')

@ -24,12 +24,13 @@
</el-form-item> </el-form-item>
<el-form-item label="票据类型" prop="billType"> <el-form-item label="票据类型" prop="billType">
<el-select v-model="form.billType" placeholder="请选择" ref="billType"> <el-select v-model="form.billType" placeholder="请选择" ref="billType">
<el-option label="银行本票" value="银行本票"> </el-option> <el-option v-for="item in billTypeSelect" :label="item.itemId" :key="item.itemId" >{{ item.description }}</el-option>
<el-option label="银行支票" value="银行支票"> </el-option> <!-- <el-option :label="119">银行本票</el-option>
<el-option label="银行汇票" value="银行汇票"> </el-option> <el-option :label="120">银行承兑汇票</el-option>
<el-option label="银行承兑汇票" value="银行承兑汇票"> </el-option> <el-option :label="136">银行汇票</el-option>
<el-option label="商业承兑汇票" value="商业承兑汇票"> </el-option> <el-option :label="137" value="银行承兑汇票"> </el-option>
<el-option label="其他" value="其他"> </el-option> <el-option :label="商业承兑汇票" value="商业承兑汇票"> </el-option>
<el-option :label="其他" value="其他"> </el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="交换行号" prop="exchangeNumber"> <el-form-item label="交换行号" prop="exchangeNumber">
@ -101,6 +102,7 @@
<script> <script>
import { mapState } from 'vuex' import { mapState } from 'vuex'
import { myValidate, ismoney, inputListen, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js' import { myValidate, ismoney, inputListen, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
import { getSubjectInfo } from '@/api/http.js'
import MyTitle from '@/components/myTitle' import MyTitle from '@/components/myTitle'
export default { export default {
name: 'index', name: 'index',
@ -110,6 +112,7 @@ export default {
data() { data() {
return { return {
text:'存款',/* 顶部文字 */ text:'存款',/* 顶部文字 */
billTypeSelect: [],
form:{ form:{
// //
shroffAccountNumber: '', // shroffAccountNumber: '', //
@ -302,6 +305,7 @@ export default {
this.form.insertDate = tmpFunc() this.form.insertDate = tmpFunc()
this.form.exchangeNumber = 20082289056288 this.form.exchangeNumber = 20082289056288
this.form.exchangeName = '交换行名' this.form.exchangeName = '交换行名'
this.getSubjectInfo()
}, },
mounted() { mounted() {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,359' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,29,345,359'
@ -316,6 +320,15 @@ export default {
autoPlay(parentId, this.form, this.myTable2, this.myTable) autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs)); }, this.$refs));
}, },
async getSubjectInfo() {
const { data: { items } } = await getSubjectInfo({
subject_id: 57
})
this.billTypeSelect.push(...items)
},
// export const getSubjectInfo= (params) => {
// return get( '/judgment/lcSubject/getSubjectInfo',params)
// }
getFocus() { getFocus() {
if(!this.form.shroffAccountNumber) { if(!this.form.shroffAccountNumber) {
this.$message({ this.$message({

@ -24,12 +24,7 @@
</el-form-item> </el-form-item>
<el-form-item label="票据类型" prop="billType"> <el-form-item label="票据类型" prop="billType">
<el-select v-model="form.billType" placeholder="请选择" ref="billType"> <el-select v-model="form.billType" placeholder="请选择" ref="billType">
<el-option label="银行本票" value="银行本票"> </el-option> <el-option v-for="item in billTypeSelect" :label="item.itemId" :key="item.itemId" >{{ item.description }}</el-option>
<el-option label="银行支票" value="银行支票"> </el-option>
<el-option label="银行汇票" value="银行汇票"> </el-option>
<el-option label="银行承兑汇票" value="银行承兑汇票"> </el-option>
<el-option label="商业承兑汇票" value="商业承兑汇票"> </el-option>
<el-option label="其他" value="其他"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="出票日期" prop="drawBillDate"> <el-form-item label="出票日期" prop="drawBillDate">
@ -110,6 +105,7 @@ export default {
return { return {
text:'存款',/* 顶部文字 */ text:'存款',/* 顶部文字 */
visible: false, visible: false,
billTypeSelect: [],
form:{ form:{
// //
shroffAccountNumber: '', // shroffAccountNumber: '', //
@ -284,6 +280,7 @@ export default {
return y + '-' + m + '-' + d; return y + '-' + m + '-' + d;
} }
this.form.proposeDate = tmpFunc() this.form.proposeDate = tmpFunc()
this.getSubjectInfo()
}, },
mounted() { mounted() {
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'
@ -291,6 +288,12 @@ export default {
this.$refs.shroffAccountNumber.focus() this.$refs.shroffAccountNumber.focus()
}, },
methods: { methods: {
async getSubjectInfo() {
const { data: { items } } = await getSubjectInfo({
subject_id: 57
})
this.billTypeSelect.push(...items)
},
submitForm() { submitForm() {
this.$refs.form.validate(myValidate(() => { this.$refs.form.validate(myValidate(() => {
// //

Loading…
Cancel
Save