|
@@ -64,7 +64,7 @@
|
|
|
<view style="padding: 12px 0 8px 5px;color:#005DA6;" :style="{fontSize:(wxFontSize-3)+'px'}">
|
|
|
{{sitem.prodName}}
|
|
|
</view>
|
|
|
- <view style="padding: 8px 8px 0 5px;color:#333;display: flex;" :style="{fontSize:(wxFontSize-3)+'px'}">
|
|
|
+ <view style="padding: 0px 8px 0 5px;color:#333;display: flex;" :style="{fontSize:(wxFontSize-3)+'px'}">
|
|
|
<text style="color: #777;white-space: nowrap;">产品型号:</text>{{sitem.prodSpec}}
|
|
|
</view>
|
|
|
<view v-if="sitem.prodDesc" style="padding: 8px 8px 0 5px;color:#333;display: flex;" :style="{fontSize:(wxFontSize-3)+'px'}">
|
|
@@ -193,19 +193,6 @@
|
|
|
curItem:{},
|
|
|
showSheet:false,
|
|
|
collStatus:false,
|
|
|
- columns: [{
|
|
|
- fieldName: 'prodName',
|
|
|
- fieldDesc: '产品名称',
|
|
|
-
|
|
|
- }, {
|
|
|
- fieldName: 'prodSpec',
|
|
|
- fieldDesc: '产品型号',
|
|
|
-
|
|
|
- }, {
|
|
|
- fieldName: 'prodDesc',
|
|
|
- fieldDesc: '产品介绍',
|
|
|
-
|
|
|
- }],
|
|
|
curContact:{},
|
|
|
showContact: false,
|
|
|
wxFontSize:17
|
|
@@ -322,8 +309,14 @@
|
|
|
},
|
|
|
showActionSheet(item) {
|
|
|
let that = this;
|
|
|
- console.warn(item);
|
|
|
- this.curItem = item;
|
|
|
+ if(!this.curItem.id){
|
|
|
+ this.curItem = item;
|
|
|
+ }else{
|
|
|
+ this.curItem = {}
|
|
|
+ this.showSheet = false;
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ // this.curItem = item;
|
|
|
this.curItem.isNeed = 1;
|
|
|
this.collStatus = false;
|
|
|
this.showSheet = true;
|