Commit 2490cf2a authored by linxin's avatar linxin

add

parent 6f78a0b3
...@@ -13,7 +13,6 @@ export default { ...@@ -13,7 +13,6 @@ export default {
name: 'CurrencyInput', name: 'CurrencyInput',
props: { props: {
value: { value: {
type: Number,
default: 0, default: 0,
}, },
disable: { disable: {
......
...@@ -64,7 +64,9 @@ ...@@ -64,7 +64,9 @@
<span>合同明细</span> <span>合同明细</span>
</div> </div>
</h-header> </h-header>
<Tab :title="text" @getTabNum="getTabNum" />
<h-content> <h-content>
<div v-show="tabNum===0">
<div class="userInfo">承租人信息</div> <div class="userInfo">承租人信息</div>
<list-item :item-height="44"> <list-item :item-height="44">
<item> <item>
...@@ -124,14 +126,25 @@ ...@@ -124,14 +126,25 @@
<img src="@/assets/contractStart/into.png" > <img src="@/assets/contractStart/into.png" >
</div> </div>
</div> </div>
</div>
<div v-show="tabNum===1">
1
</div>
</h-content> </h-content>
<bottom-tab v-if="!flag"> <bottom-tab v-if="!flag">
<tab-button class="before" @click.native="takePhonto">
<img src="@/assets/constractSigning/certification.png" >认证
</tab-button>
<tab-button class="approve" @click.native="isConfirm">确定</tab-button> <tab-button class="approve" @click.native="isConfirm">确定</tab-button>
</bottom-tab> </bottom-tab>
</h-view> </h-view>
</template> </template>
<script> <script>
import Tab from '@/pages/carConfirm/tab'
export default { export default {
components: {
Tab,
},
filters: { filters: {
lengthCheck: function (value) { lengthCheck: function (value) {
if ((value.toString()).length === 1) { if ((value.toString()).length === 1) {
...@@ -147,6 +160,12 @@ export default { ...@@ -147,6 +160,12 @@ export default {
downNum: false, downNum: false,
show: false, show: false,
flag: false, // 判断是否为已确认 flag: false, // 判断是否为已确认
confirm_id: '',
tabNum: 0,
text: {
first: '合同详情',
second: '合同文本',
},
info: { info: {
product_plan_id: '', product_plan_id: '',
product_num: '', product_num: '',
...@@ -185,6 +204,7 @@ export default { ...@@ -185,6 +204,7 @@ export default {
next(vm => { next(vm => {
vm.getDetail() vm.getDetail()
vm.getEquipment() vm.getEquipment()
vm.confirm_id = vm.$route.params.confirm_id
if (vm.$route.params.confirm_status === 'SUBMIT') { if (vm.$route.params.confirm_status === 'SUBMIT') {
vm.flag = false vm.flag = false
} else if (vm.$route.params.confirm_status === 'APPROVED') { } else if (vm.$route.params.confirm_status === 'APPROVED') {
...@@ -193,6 +213,151 @@ export default { ...@@ -193,6 +213,151 @@ export default {
}) })
}, },
methods: { methods: {
getTabNum (i) {
this.tabNum = i
},
takePhonto () {
let vm = this
hlsPopup.showPopup({
title: '提示',
content: `请自拍一张`,
onConfirm: () => {
vm.takePhontoOpenCamera()
},
})
},
// 打开相机自拍
takePhontoOpenCamera () {
let vm = this
vm.faceListUpload = []
let obj = {
'pkvalue': vm.$route.params.check_id,
'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '',
'filePath': '',
'attachment_id': '',
'user_id': 1,
'fileName': 'face',
}
let cameraoptions = {
quality: 100,
cameraDirection: 1,
}
let success = function (imgdata) {
obj.filePath = imgdata
// obj.filePath = 'http://hlsapp.hand-china.com/file/XCMG/2.jpg'
vm.confirmContractSign(imgdata)
vm.faceListUpload.push(obj)
}
let error = function () {
hlsPopup.showLongCenter('请拍照')
}
hlsUtil.openCamera(cameraoptions, success, error)
},
// 执行同意的逻辑(查询对应的身份证正面图片->人脸识别->确认签约)
async confirmContractSign (faceImg) {
let idCardImgUrl = await this.idCardImgUrlGet()
if (idCardImgUrl) {
this.faceIdentify(faceImg, idCardImgUrl)
}
},
// 获取身份证照片
async idCardImgUrlGet () {
let vm = this
let url = $config.basePath + 'prj_id_card_query'
let param = {
confirm_id: vm.confirm_id,
}
hlsPopup.showLoading('请稍候')
let res = await vm.$post(url, param)
hlsPopup.hideLoading()
if (res.result === 'S' && res.info) {
let cardUrl = process.env.filePath + 'attachment_id=' + res.info.attachment_id + '&access_token=' + window.localStorage.access_token
return cardUrl
} else if (res.result === 'S' && !res.info) {
hlsPopup.showLongCenter('未找到身份证照片')
return null
} else {
hlsPopup.showLongCenter(res.message)
return null
}
},
// 人脸比对
faceIdentify (faceImg, idCardImgUrl) {
let vm = this
let obj = {
'fileUrl': faceImg,
'idCardImgUrl': idCardImgUrl,
}
hlsPopup.showLoading('正在比对')
let url = process.env.ocrPath + '/baidu/ocr/face'
hlsUtil.baiduOcrFace(obj, url, function (res) {
hlsPopup.hideLoading()
if (res.success) {
vm.save_picture(vm.faceListUpload)
let identifyScore = res.result.result.score.toFixed(0)
hlsPopup.showPopup({
title: '提示',
content: `识别分数为${identifyScore},请进行活体检测`,
onConfirm: () => {
// 进入活体检测页面
vm.goBodyCheck(vm.confirm_id)
},
})
} else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
}
})
},
goBodyCheck (confirm_id) { // 活体检测
this.$router.push({
name: 'BodyCheck',
params: {
check_id: this.$route.params.check_id,
confirm_id: confirm_id,
},
})
},
// 图片保存
save_picture (list) {
// alert('list' + JSON.stringify(list))
let vm = this
if (list.length) {
// hlsPopup.showLoading('图片上传请稍候')
var alreadyUploadNum = 0
var attLength = 0
var recordUploadInterval = setInterval(function () {
if (alreadyUploadNum === attLength) {
clearInterval(recordUploadInterval)
/* hlsPopup.hideLoading()
hlsPopup.showLongCenter('图片上传成功') */
}
}, 500)
for (var i = 0; i < list.length; i++) {
let uploadSuccess = function (res) {
if (res.result === 'S') {
alreadyUploadNum++
for (var j = 0; j < list.length; j++) {
if (list[j].filePath === res.response.filePath) {
list[j].attachment_id = res.response.attachment_id
vm.faceListUpload.push(list[j])
// alert('faceListUpload' + JSON.stringify(vm.faceListUpload))
break
}
}
} else {
hlsPopup.hideLoading()
}
}
if (!list[i].attachment_id) {
attLength++
hlsUtil.fileUploadSvc(list[i], uploadSuccess)
}
}
} else {
hlsPopup.hideLoading()
}
},
isConfirm () { isConfirm () {
this.hlsPopup.showConfirm({ this.hlsPopup.showConfirm({
title: '提示', title: '提示',
...@@ -471,5 +636,13 @@ export default { ...@@ -471,5 +636,13 @@ export default {
color: #fff; color: #fff;
background-color: #0041c4; background-color: #0041c4;
} }
.before {
border: 1px solid #fdb62f;
border-radius: 4px;
color: #fdb62f;
img{
width: 18px;
}
}
} }
</style> </style>
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<span>发车确认</span> <span>发车确认</span>
</div> </div>
</h-header> </h-header>
<Tab @getTabNum="getTabNum" /> <Tab :title="text" @getTabNum="getTabNum" />
<div class="search has-header"> <div class="search has-header">
<input v-model="keyWord" placeholder="请输入合同号/产品名称/承租人名称" > <input v-model="keyWord" placeholder="请输入合同号/产品名称/承租人名称" >
</div> </div>
...@@ -51,6 +51,7 @@ export default { ...@@ -51,6 +51,7 @@ export default {
}, },
data () { data () {
return { return {
text: {first: '待签约', second: '已签约'},
tabNum: 0, tabNum: 0,
keyWord: '', keyWord: '',
status: '', status: '',
...@@ -139,6 +140,8 @@ export default { ...@@ -139,6 +140,8 @@ export default {
params: { params: {
project_id: e.project_id, project_id: e.project_id,
confirm_status: e.confirm_status, confirm_status: e.confirm_status,
check_id: e.check_id,
confirm_id: e.confirm_id,
}, },
}) })
}, },
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
<template> <template>
<div class="tab-style"> <div class="tab-style">
<div :class="{'tab-content-bg':tabNum == 0}" class="tab-content" @click="tabNum = 0;sendTabNum()"><img :src="tabNum == 0?signed:sign"><span <div :class="{'tab-content-bg':tabNum == 0}" class="tab-content" @click="tabNum = 0;sendTabNum()"><img :src="tabNum == 0?signed:sign"><span
:class="{'colored':tabNum == 0}">待确认</span></div> :class="{'colored':tabNum == 0}">{{ title.first }}</span></div>
<div :class="{'tab-content-bg':tabNum == 1}" class="tab-content" @click="tabNum = 1;sendTabNum()"><img :src="tabNum == 1?finished:finish"><span <div :class="{'tab-content-bg':tabNum == 1}" class="tab-content" @click="tabNum = 1;sendTabNum()"><img :src="tabNum == 1?finished:finish"><span
:class="{'colored':tabNum == 1}">已确认</span></div> :class="{'colored':tabNum == 1}">{{ title.second }}</span></div>
</div> </div>
</template> </template>
<script> <script>
...@@ -20,6 +20,14 @@ import sign from '@/assets/contractStart/noN.png' ...@@ -20,6 +20,14 @@ import sign from '@/assets/contractStart/noN.png'
import finish from '@/assets/contractStart/confirmN.png' import finish from '@/assets/contractStart/confirmN.png'
export default { export default {
props: {
title: {
type: Function,
default: function () {
return {}
},
},
},
data () { data () {
return { return {
tabNum: 0, tabNum: 0,
......
...@@ -31,11 +31,11 @@ ...@@ -31,11 +31,11 @@
</item> </item>
<item :showArrow="true" @click.native="getProduct"> <item :showArrow="true" @click.native="getProduct">
<div slot="name">产品型号</div> <div slot="name">产品型号</div>
<input slot="content" v-model="saveInfo.product_id_n" readonly placeholder="请选择" > <input slot="content" v-model="productInfo.product_id_n" readonly placeholder="请选择" >
</item> </item>
<item> <item>
<div slot="name">产品数量</div> <div slot="name">产品数量</div>
<input slot="content" v-model="saveInfo.product_num" placeholder="请填写产品数量" > <input slot="content" v-model="productInfo.product_num" placeholder="请填写产品数量" >
</item> </item>
</list-item> </list-item>
<div class="userInfo">融资信息</div> <div class="userInfo">融资信息</div>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<img src="@/assets/contractCreate/hint.png" >提示 以下为单个设备商务政策 <img src="@/assets/contractCreate/hint.png" >提示 以下为单个设备商务政策
</div> </div>
<list-item :item-height="44"> <list-item :item-height="44">
<item :showArrow="true" @click.native="getBusinessPolicy"> <item :showArrow="true" @click.native="showModalBusiness=true">
<div slot="name">商务政策</div> <div slot="name">商务政策</div>
<input slot="content" v-model="saveInfo.product_plan_name" readonly placeholder="请选择" > <input slot="content" v-model="saveInfo.product_plan_name" readonly placeholder="请选择" >
</item> </item>
...@@ -122,8 +122,8 @@ ...@@ -122,8 +122,8 @@
</list-item> </list-item>
</h-content> </h-content>
<bottom-tab class="add-box"> <bottom-tab class="add-box">
<tab-button class="before">计算</tab-button> <tab-button class="before" @click.native="save">计算</tab-button>
<tab-button class="next" @click.native="save">下一步</tab-button> <tab-button class="next" @click.native="next">下一步</tab-button>
</bottom-tab> </bottom-tab>
<h-modal ref="modal" v-model="showModalValue" class="flow" position="bottom"> <h-modal ref="modal" v-model="showModalValue" class="flow" position="bottom">
<h-view id="product-list"> <h-view id="product-list">
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<p class="seconds1">{{ item.bp_name }}</p> <p class="seconds1">{{ item.bp_name }}</p>
</div> </div>
<div class="centers"> <div class="centers">
<p class="firsts1">参数项</p> <p class="firsts1">设备识别号</p>
<p class="seconds1">{{ item.product_code }}</p> <p class="seconds1">{{ item.product_code }}</p>
</div> </div>
</div> </div>
...@@ -174,8 +174,9 @@ ...@@ -174,8 +174,9 @@
<div class="search has-header"> <div class="search has-header">
<input v-model="policyKeyWord" placeholder="请输入商务政策名称" > <input v-model="policyKeyWord" placeholder="请输入商务政策名称" >
</div> </div>
<div class="division-box">
<scroll ref="scroll" :updateData="[businessLists]" :pullUp="true" @pullingUp="getBusinessPolicy"> <scroll ref="scroll" :updateData="[businessLists]" :pullUp="true" @pullingUp="getBusinessPolicy">
<div class="division-box">
<section v-for="(item,index) in businessLists" :key="index" @click="selectBusinessPolicy(item)"> <section v-for="(item,index) in businessLists" :key="index" @click="selectBusinessPolicy(item)">
<div class="descript"> <div class="descript">
<img src="@/assets/trial/product.png" alt > <img src="@/assets/trial/product.png" alt >
...@@ -204,7 +205,7 @@ ...@@ -204,7 +205,7 @@
</div> </div>
</div> </div>
</section> </section>
</scroll></div> </div></scroll>
</h-content> </h-content>
</h-view> </h-view>
</h-modal> </h-modal>
...@@ -220,6 +221,7 @@ export default { ...@@ -220,6 +221,7 @@ export default {
return { return {
showModalValue: false, showModalValue: false,
showModalBusiness: false, showModalBusiness: false,
isComputed: false,
keyWordProduct: '', keyWordProduct: '',
keyWord: '', keyWord: '',
policyKeyWord: '', policyKeyWord: '',
...@@ -251,13 +253,16 @@ export default { ...@@ -251,13 +253,16 @@ export default {
url: '', url: '',
}], }],
productLine: [], // 产品线 productLine: [], // 产品线
saveInfo: { productInfo: {
project_id: window.localStorage.project_id, project_id: window.localStorage.project_id,
product_plan_id: '',
product_plan_name: '',
product_id: '', product_id: '',
product_id_n: '', product_id_n: '',
product_num: '', product_num: '',
},
saveInfo: {
project_id: window.localStorage.project_id,
product_plan_id: '',
product_plan_name: '',
equip_price: '', equip_price: '',
int_rate: '', int_rate: '',
int_rate_n: '', int_rate_n: '',
...@@ -285,17 +290,24 @@ export default { ...@@ -285,17 +290,24 @@ export default {
}, },
} }
}, },
watch: {
policyKeyWord (newVal, oldVal) {
this.getBusinessPolicy()
},
},
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
vm.showModalBusiness = false vm.showModalBusiness = false
vm.showModalValue = false vm.showModalValue = false
vm.businessLists = []
if (from.name === 'CreateBaseInfo') { if (from.name === 'CreateBaseInfo') {
vm.businessLists = []
vm.pagenum = 1 vm.pagenum = 1
vm.pagenumPolicy = 1 vm.pagenumPolicy = 1
vm.isComputed = false
vm.getProductLine() // 产品线查询 vm.getProductLine() // 产品线查询
vm.repayPeriod()// 还款周期查询 vm.repayPeriod()// 还款周期查询
vm.getPayWay()// 支付方式查询 vm.getPayWay()// 支付方式查询
vm.getBusinessPolicy()// 获取商务政策
} }
}) })
}, },
...@@ -327,16 +339,33 @@ export default { ...@@ -327,16 +339,33 @@ export default {
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
// vm.$router.push({ vm.isComputed = true
// name: 'CreateRentInfo', } else {
// params: { hlsPopup.showLongCenter(res.message)
// bp_agent_id: vm.bp_agent_id, }
// }, })
// }) },
next () {
let vm = this
if (vm.isComputed) {
let url = process.env.basePath + 'prj_product_info_save'
let param = {
master: vm.productInfo,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.$router.push({
name: 'CreateEnclosureInfo',
})
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
}) })
} else {
hlsPopup.showLongCenter('请先进行计算')
}
}, },
showTime (format) { // 预计付款日 showTime (format) { // 预计付款日
let vm = this let vm = this
...@@ -412,9 +441,48 @@ export default { ...@@ -412,9 +441,48 @@ export default {
}, },
}) })
}, },
searchBusinessPolicy () {
let vm = this
let randomString = Math.floor(Math.random() * 21)
let url =
process.env.basePath +
'prj_product_plan_query' +
'&index' +
`'${randomString}'`
let param = {
bp_agent_id: vm.$route.params.bp_agent_id,
pagesize: 10,
pagenumPolicy: vm.pagenumPolicy,
searchInput: vm.policyKeyWord,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
let returnData = []
returnData = res.lists
if (returnData.length === 0) {
vm.$refs.scroll.update(true)
} else if (returnData.length > 0 && returnData.length < 10) {
vum.forEach(returnData, function (data, index, array) {
vm.businessLists.push(array[index])
})
vm.pagenumPolicy++
vm.$refs.scroll.update(true)
} else if (returnData.length === 10) {
vum.forEach(returnData, function (data, index, array) {
vm.businessLists.push(array[index])
})
vm.pagenumPolicy++
vm.$refs.scroll.update(false)
}
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
getBusinessPolicy () { getBusinessPolicy () {
let vm = this let vm = this
vm.showModalBusiness = true
let randomString = Math.floor(Math.random() * 21) let randomString = Math.floor(Math.random() * 21)
let url = let url =
process.env.basePath + process.env.basePath +
...@@ -455,8 +523,8 @@ export default { ...@@ -455,8 +523,8 @@ export default {
}, },
selectProduct (e) { selectProduct (e) {
let vm = this let vm = this
this.saveInfo.product_id_n = e.product_name this.productInfo.product_id_n = e.product_name
this.saveInfo.product_id = e.product_id this.productInfo.product_id = e.product_id
setTimeout(() => { setTimeout(() => {
vm.showModalValue = false vm.showModalValue = false
}, 100) }, 100)
...@@ -540,8 +608,8 @@ export default { ...@@ -540,8 +608,8 @@ export default {
this.$router.push({ this.$router.push({
name: 'ContractRepayPlan', name: 'ContractRepayPlan',
params: { params: {
product_num: 2, product_num: this.productInfo.product_num,
project_id: 123, project_id: this.project_id,
}, },
}) })
}, },
......
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
</div> </div>
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
<item> <item>
<div slot="name" class="font-color">参数项</div> <div slot="name" class="font-color">设备识别号</div>
<input slot="content" v-model="info.product_code" readonly > <input slot="content" v-model="info.product_code" readonly >
</item> </item>
<item> <item>
...@@ -583,7 +583,7 @@ export default { ...@@ -583,7 +583,7 @@ export default {
} else { } else {
hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人') hlsPopup.showLongCenter('比对失败,请保证和绑定时是同一个人')
} }
})*/ }) */
vm.save_picture(vm.faceListUpload) vm.save_picture(vm.faceListUpload)
let identifyScore = 90 let identifyScore = 90
......
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
<div class="bottom-top"> <div class="bottom-top">
<input placeholder="请输入产品名称" > <input placeholder="请输入产品名称" >
<img src="@/assets/contractStart/delete.png" > <img src="@/assets/contractStart/delete.png" >
<input placeholder="请输入参数项" > <input placeholder="请输入设备识别号" >
<img src="@/assets/contractStart/delete.png" > <img src="@/assets/contractStart/delete.png" >
<span /> <span />
</div> </div>
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</span> </span>
</li> </li>
<li> <li>
<span class="name">参数项</span>&ensp; &ensp; GTZ226 <span class="name">设备识别号</span>&ensp; &ensp; GTZ226
<span class="to-right"> <span class="to-right">
<span class="name">产品名称</span>&ensp; &ensp; ***** <span class="name">产品名称</span>&ensp; &ensp; *****
</span> </span>
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<p>设备清单</p></div> <p>设备清单</p></div>
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
<item> <item>
<div slot="name" class="font-color">参数项</div> <div slot="name" class="font-color">设备识别号</div>
<input slot="content" v-model="info.product_code" readonly> <input slot="content" v-model="info.product_code" readonly>
</item> </item>
<item> <item>
...@@ -283,7 +283,7 @@ export default { ...@@ -283,7 +283,7 @@ export default {
vm.hlsPopup.showLongCenter(res.info.msg) vm.hlsPopup.showLongCenter(res.info.msg)
} }
}) })
},*/ }, */
// 签约确认 // 签约确认
contractConfirm () { contractConfirm () {
let vm = this let vm = this
...@@ -419,7 +419,7 @@ export default { ...@@ -419,7 +419,7 @@ export default {
}, },
// 图片保存 // 图片保存
save_picture (list) { save_picture (list) {
//alert('list' + JSON.stringify(list)) // alert('list' + JSON.stringify(list))
let vm = this let vm = this
if (list.length) { if (list.length) {
// hlsPopup.showLoading('图片上传请稍候') // hlsPopup.showLoading('图片上传请稍候')
...@@ -440,7 +440,7 @@ export default { ...@@ -440,7 +440,7 @@ export default {
if (list[j].filePath === res.response.filePath) { if (list[j].filePath === res.response.filePath) {
list[j].attachment_id = res.response.attachment_id list[j].attachment_id = res.response.attachment_id
vm.faceListUpload.push(list[j]) vm.faceListUpload.push(list[j])
//alert('faceListUpload' + JSON.stringify(vm.faceListUpload)) // alert('faceListUpload' + JSON.stringify(vm.faceListUpload))
break break
} }
} }
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<div class="top">{{ list.product_name }}</div> <div class="top">{{ list.product_name }}</div>
<img src="@/assets/homePage/hot.png" class="hot"> <img src="@/assets/homePage/hot.png" class="hot">
<div class="center"><span class="firsts">经销商</span> <span class="seconds">{{ list.bp_name }}</span></div> <div class="center"><span class="firsts">经销商</span> <span class="seconds">{{ list.bp_name }}</span></div>
<div class="center"><span class="firsts">参数项</span> <span class="seconds">{{ list.product_code }}</span></div> <div class="center"><span class="firsts">设备识别号</span> <span class="seconds">{{ list.product_code }}</span></div>
<div class="center"><span class="firsts">地址</span> <span class="seconds">{{ list.province_id_n + list.city_id_n + list.district_id_n }}</span></div> <div class="center"><span class="firsts">地址</span> <span class="seconds">{{ list.province_id_n + list.city_id_n + list.district_id_n }}</span></div>
</div> </div>
</item> </item>
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</div> </div>
<list-item> <list-item>
<item> <item>
<div slot="name">参数项</div> <div slot="name">设备识别号</div>
<input slot="content" v-model="rentInfo.product_code" readonly> <input slot="content" v-model="rentInfo.product_code" readonly>
</item> </item>
<item> <item>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<!-- 搜索 --> <!-- 搜索 -->
<div class="search has-header"> <div class="search has-header">
<input v-model="searchInput" type="text" placeholder="请输入经销商/产品名称/参数项"> <input v-model="searchInput" type="text" placeholder="请输入经销商/产品名称/设备识别号">
</div> </div>
<scroll <scroll
ref="scroll" ref="scroll"
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<p class="seconds1">{{ item.bp_name }}</p> <p class="seconds1">{{ item.bp_name }}</p>
</div> </div>
<div class="centers"> <div class="centers">
<p class="firsts1">参数项</p> <p class="firsts1">设备识别号</p>
<p class="seconds1">{{ item.product_code }}</p> <p class="seconds1">{{ item.product_code }}</p>
</div> </div>
</div> </div>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</div> </div>
<div class="list"> <div class="list">
<div> <div>
<span>参数项</span> <span>设备识别号</span>
<span>{{ detail.product_code }}</span> <span>{{ detail.product_code }}</span>
</div> </div>
<div> <div>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</swipe> </swipe>
<div class="base-content"> <div class="base-content">
<div class="top-code"> <div class="top-code">
<div>参数项 &nbsp;{{ baseInfo.product_code }}</div> <div>设备识别号 &nbsp;{{ baseInfo.product_code }}</div>
<div>{{ baseInfo.division_n }}</div> <div>{{ baseInfo.division_n }}</div>
</div> </div>
<div class="pro-name">{{ baseInfo.product_name }}</div> <div class="pro-name">{{ baseInfo.product_name }}</div>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</h-header> </h-header>
<!-- 搜索 --> <!-- 搜索 -->
<div class="search has-header"> <div class="search has-header">
<input v-model="searchInput" type="text" placeholder="请输入经销商/产品名称/参数项"> <input v-model="searchInput" type="text" placeholder="请输入经销商/产品名称/设备识别号">
</div> </div>
<scroll <scroll
ref="scroll" ref="scroll"
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<p class="seconds1">{{ item.bp_name }}</p> <p class="seconds1">{{ item.bp_name }}</p>
</div> </div>
<div class="centers"> <div class="centers">
<p class="firsts1">参数项</p> <p class="firsts1">设备识别号</p>
<p class="seconds1">{{ item.product_code }}</p> <p class="seconds1">{{ item.product_code }}</p>
</div> </div>
</div> </div>
......
...@@ -174,6 +174,7 @@ export default { ...@@ -174,6 +174,7 @@ export default {
}, },
showModal () { showModal () {
this.showModalValue = true this.showModalValue = true
this.bankImg = ''
}, },
async checkElectonic () { async checkElectonic () {
let vm = this let vm = this
......
...@@ -123,6 +123,10 @@ export default { ...@@ -123,6 +123,10 @@ export default {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.invoiceInfo = res.info vm.invoiceInfo = res.info
console.log(111111111111111111, res.info.invoice_title)
if (res.info.invoice_title == '' || res.info.invoice_title == null || res.info.invoice_title == undefined) {
vm.invoiceInfo.invoice_title = window.localStorage.bp_name
}
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment