mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
improve: 优化体验
This commit is contained in:
parent
b0b4243d61
commit
d676bb1e21
@ -24,7 +24,7 @@
|
||||
<div class="box">
|
||||
<div class="box-item" v-for="(item, index) in goodsList" :key="index">
|
||||
<img :src="item.image" alt="" />
|
||||
<Icon type="ios-close-circle" size="20" @click="bindDelete(index)" />
|
||||
<Icon type="ios-close-circle" size="20" @click="bindDelete(index,item)" />
|
||||
</div>
|
||||
<div class="upload-box" @click="selectGoods">
|
||||
<Icon type="ios-camera-outline" size="36" />
|
||||
@ -182,10 +182,10 @@ export default {
|
||||
}, 300);
|
||||
});
|
||||
},
|
||||
bindDelete(index) {
|
||||
bindDelete(index,item) {
|
||||
this.goodsList.splice(index, 1);
|
||||
if (this.tabList.length) {
|
||||
let i = this.tabList.findIndex((e) => e.id == row.id);
|
||||
let i = this.tabList.findIndex((e) => e.id == item.product_id);
|
||||
this.tabList.splice(i, 1);
|
||||
}
|
||||
},
|
||||
|
||||
@ -636,8 +636,9 @@ export default {
|
||||
h('InputNumber', {
|
||||
props: {
|
||||
min: 0,
|
||||
precision: key === 'price' ? 2 : 0,
|
||||
value: key === 'price' ? params.row.price : params.row.quota,
|
||||
formatter: (value) =>
|
||||
key === 'price' ? `${value}`.match(/^\d+(?:\.\d{0,2})?/) : `${value}`.match(/^\d+(?:\.\d{0,-1})?/),
|
||||
},
|
||||
on: {
|
||||
'on-change': (e) => {
|
||||
|
||||
@ -152,7 +152,7 @@
|
||||
<div class="title row">联系信息</div>
|
||||
<Row class="row">
|
||||
<Col span="12">真实姓名: {{ invoiceDetails.name }}</Col>
|
||||
<Col span="12">联系电话: {{ invoiceDetails.user_phone }}</Col>
|
||||
<Col span="12">联系电话: {{ invoiceDetails.drawer_phone }}</Col>
|
||||
</Row>
|
||||
<Row class="row">
|
||||
<Col span="12">联系邮箱: {{ invoiceDetails.email }}</Col>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user