Commit 0db52dac authored by JingChao's avatar JingChao

uat 1.1.0

parents aaa645c3 85290152
Pipeline #4504 canceled with stages
...@@ -11,5 +11,5 @@ module.exports = { ...@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"', ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="', fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app"', appId: '"com.xcmg.app"',
currentVersion: '"1.0.9"' currentVersion: '"1.1.0"'
} }
...@@ -11,5 +11,5 @@ module.exports = { ...@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"', ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="', fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="',
appId: '"com.xcmg.app.dev"', appId: '"com.xcmg.app.dev"',
currentVersion: '"1.3.7"' currentVersion: '"1.3.8"'
} }
...@@ -397,6 +397,7 @@ export default { ...@@ -397,6 +397,7 @@ export default {
if (vm.fromPage === 'sale') { if (vm.fromPage === 'sale') {
vm.fromList = false vm.fromList = false
vm.isReadOnly = false vm.isReadOnly = false
vm.rentInfoQuery()
} else if (vm.fromPage === 'list') { } else if (vm.fromPage === 'list') {
if (window.localStorage.contractReadonly === 'true') { if (window.localStorage.contractReadonly === 'true') {
vm.isReadOnly = true vm.isReadOnly = true
......
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
</div> </div>
</div> </div>
<div v-if="!fromPutted"> <div v-if="!fromPutted">
<item-option v-for="(item,index) in selectUdertake" :key="index" class="mySlider"> <item-option v-for="(item,index) in selectUdertake" ref="underTake" :key="index" class="mySlider">
<list-item :item-height="68"> <list-item :item-height="68">
<item> <item>
<span slot="left-icon" class="left-icon">{{ index+1 }}</span> <span slot="left-icon" class="left-icon">{{ index+1 }}</span>
...@@ -429,6 +429,11 @@ export default { ...@@ -429,6 +429,11 @@ export default {
} }
}, },
watch: { watch: {
$route (to, from) {
if(to.name === 'SalesInfo'){
this.routeGoCustom()
}
},
checked: { checked: {
handler (newVal, oldVal) { handler (newVal, oldVal) {
if (newVal === false) { if (newVal === false) {
...@@ -529,7 +534,9 @@ export default { ...@@ -529,7 +534,9 @@ export default {
} }
}) })
}, },
mounted () {}, mounted () {
},
methods: { methods: {
// 自定义返回逻辑:第一次新建时返回判断是否保存数据,未保存提示保存 // 自定义返回逻辑:第一次新建时返回判断是否保存数据,未保存提示保存
routeGoCustom () { routeGoCustom () {
...@@ -563,8 +570,6 @@ export default { ...@@ -563,8 +570,6 @@ 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') {
Object.assign(vm.saveInfo, res.info)
vm.selectUdertake = res.lists
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
...@@ -971,6 +976,7 @@ export default { ...@@ -971,6 +976,7 @@ export default {
} }
}) })
this.selectUdertake.splice(deleteIndex, 1) this.selectUdertake.splice(deleteIndex, 1)
this.$refs.underTake[0].reset()
this.deleteGuta(e) this.deleteGuta(e)
}, },
}, },
......
...@@ -154,6 +154,7 @@ export default { ...@@ -154,6 +154,7 @@ export default {
vm.cddItemList = [] vm.cddItemList = []
vm.bpClass = window.localStorage.bp_class vm.bpClass = window.localStorage.bp_class
vm.status = window.localStorage.user_bp_status vm.status = window.localStorage.user_bp_status
vm.fromPage = window.localStorage.fromPage
vm.loadItemList() vm.loadItemList()
vm.queryCheckId() vm.queryCheckId()
if (vm.fromPage === 'sale') { if (vm.fromPage === 'sale') {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
<item :showArrow="true" @click.native="picker"> <item :showArrow="true" @click.native="picker">
<div slot="name" class="font-color required">承租人</div> <div slot="name" class="font-color required">承租人</div>
<input slot="content" v-model="lessee" placeholder="请选择"> <input slot="content" v-model="lessee" readonly placeholder="请选择">
</item> </item>
<item :showArrow="true"> <item :showArrow="true">
<div slot="name" class="font-color required">业务类型</div> <div slot="name" class="font-color required">业务类型</div>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<item @click.native="showTime('YYYY-MM-DD')"> <item @click.native="showTime('YYYY-MM-DD')">
<div slot="name" class="font-color required">签约日期</div> <div slot="name" class="font-color required">签约日期</div>
<input <input
slot="content" v-model="salesInfo.sale_date" slot="content" v-model="salesInfo.sale_date" placeholder="请选择签约日期"
readonly> readonly>
<img src="@/assets/contractCreate/date.png" alt="" class="date-pic"> <img src="@/assets/contractCreate/date.png" alt="" class="date-pic">
</item> </item>
...@@ -168,7 +168,7 @@ export default { ...@@ -168,7 +168,7 @@ export default {
office_id: '', // 办事处id office_id: '', // 办事处id
factory: '', // 主机厂id factory: '', // 主机厂id
manu_manager: '', // 办事处业务员 manu_manager: '', // 办事处业务员
sale_date: '请选择签约日期', sale_date: '',
project_id: '', project_id: '',
}, },
} }
...@@ -216,7 +216,7 @@ export default { ...@@ -216,7 +216,7 @@ export default {
office_id: '', // 办事处id office_id: '', // 办事处id
factory: '', // 主机厂id factory: '', // 主机厂id
manu_manager: '', // 办事处业务员 manu_manager: '', // 办事处业务员
sale_date: '请选择', sale_date: '',
bp_type: window.localStorage.bp_type, bp_type: window.localStorage.bp_type,
project_id: '', project_id: '',
} }
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</div> </div>
</list-item> </list-item>
<div slot="buttons"> <div slot="buttons">
<option-button type="warn" text="删除" @click.native="deleteFun(parentIndex)" /> <option-button type="warn" text="删除" @click.native="deleteFun(parentIndex,item)" />
</div> </div>
</item-option> </item-option>
</section> </section>
...@@ -161,7 +161,23 @@ export default { ...@@ -161,7 +161,23 @@ export default {
} }
}) })
}, },
deleteFun (Index) { deleteData (item) {
let vm = this
let url = process.env.basePath + 'app_notice_delete'
let param = {
notice_id: item.notice_id,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
hlsPopup.showSuccess('删除成功')
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
deleteFun (Index, item) {
let vm = this let vm = this
hlsPopup.showConfirm({ hlsPopup.showConfirm({
title: '提示', title: '提示',
...@@ -171,6 +187,7 @@ export default { ...@@ -171,6 +187,7 @@ export default {
vm.list.remove(Index) vm.list.remove(Index)
vm.list.sort() vm.list.sort()
vm.$refs.itemOption[0].reset() vm.$refs.itemOption[0].reset()
vm.deleteData(item)
} }
}, },
}) })
......
...@@ -40,9 +40,7 @@ ...@@ -40,9 +40,7 @@
</div> </div>
<div class="pay-input"> <div class="pay-input">
<span>逾期利息</span> <span>逾期利息</span>
<CurrencyInput <span class="currencySpan">{{ liquidated_damages|currency }}</span>
v-model="liquidated_damages" class="currencyInput" readonly type="text"
placeholder="请输入支付金额" />
</div> </div>
</div> </div>
</div> </div>
...@@ -202,6 +200,7 @@ export default { ...@@ -202,6 +200,7 @@ export default {
</script> </script>
<style lang='less' > <style lang='less' >
#first-pay { #first-pay {
.currencyInput{ .currencyInput{
height:37px; height:37px;
line-height: 37px; line-height: 37px;
...@@ -300,7 +299,11 @@ export default { ...@@ -300,7 +299,11 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.currencySpan{
display: inline-block;
text-align: right;
padding-right:10px;
}
input { input {
flex: 3; flex: 3;
text-align: right; text-align: right;
......
...@@ -420,7 +420,7 @@ export default { ...@@ -420,7 +420,7 @@ export default {
color: #232323; color: #232323;
letter-spacing: 0; letter-spacing: 0;
font-weight: 600; font-weight: 600;
margin-top: 8px; margin-top: 25px;
} }
.pro-price { .pro-price {
width: 100%; width: 100%;
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.cde4bbe6ac973f69bb5ea25c8e369aa4.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.e547499500fbe65e7169.js></script><script type=text/javascript src=./static/js/app.9f360068f2fcc38c500b.js></script></body></html>
\ No newline at end of file
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