Commit 88aab3df authored by 李晓兵's avatar 李晓兵

Merge branch 'develop' of https://hel.hand-china.com/xugong/hls-xcmg-vue-app into develop

parents 160771f4 167be69d
Pipeline #4499 canceled with stages
...@@ -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>
...@@ -570,8 +570,6 @@ export default { ...@@ -570,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)
} }
...@@ -978,6 +976,7 @@ export default { ...@@ -978,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)
}, },
}, },
......
...@@ -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>
......
...@@ -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;
......
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