|
|
@@ -46,6 +46,14 @@
|
|
|
<AppDatePicker v-if="canIEdit" :dateVal.sync="form.entryTime" :placeholder="'今天'"/>
|
|
|
<view v-else>{{ form.entryTime || "默认今天" }}</view>
|
|
|
</tui-list-cell>
|
|
|
+
|
|
|
+<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
+<view class="tui-title">打印小票</view>
|
|
|
+<button @click="form.needPrint = 1" class="admin-button-com middle" :class="form.needPrint == 1 ? 'blue' : 'default'">打印</button>
|
|
|
+<button style="margin-left:30upx;" @tap="form.needPrint = 2"
|
|
|
+class="admin-button-com middle" :class="form.needPrint == 2? 'blue' : 'default'">不打</button>
|
|
|
+</tui-list-cell>
|
|
|
+
|
|
|
<block v-if="location == 0">
|
|
|
<tui-list-cell v-if="myShopInfo.cgModel == 0" class="line-cell" :hover="false">
|
|
|
<view class="tui-title ">打包费</view>
|
|
|
@@ -170,7 +178,8 @@ export default {
|
|
|
entryTime: "",
|
|
|
yfPayWay:1,
|
|
|
remark:"",
|
|
|
- avgKgWeight:''
|
|
|
+ avgKgWeight:'',
|
|
|
+ needPrint:2
|
|
|
},
|
|
|
showCustomer: false,
|
|
|
detailsInfo: {},
|
|
|
@@ -187,6 +196,9 @@ export default {
|
|
|
}
|
|
|
if(this.option.location){
|
|
|
this.location = this.option.location
|
|
|
+ if(this.location == 1){
|
|
|
+ this.form.needPrint = 1
|
|
|
+ }
|
|
|
}
|
|
|
this.initData();
|
|
|
},
|