|
|
@@ -132,6 +132,19 @@ class="admin-button-com middle" :class="form.needPrint == 2? 'blue' : 'default'"
|
|
|
<view>{{(totalPrice - modifyPrice).toFixed(2) }}</view>
|
|
|
</tui-list-cell>
|
|
|
<block v-if="location == 0">
|
|
|
+ <tui-list-cell class="line-cell" :hover="false">
|
|
|
+ <view class="tui-title">物流费用</view>
|
|
|
+ <radio-group class="tui-input" @change="isCostChange">
|
|
|
+ <label class="list" for="isCost01">
|
|
|
+ <radio id="isCost01" value="1" :checked="form.isCost == 1" style="transform:scale(0.7,0.7)" />
|
|
|
+ <span class="checkbox-text">算成本</span>
|
|
|
+ </label>
|
|
|
+ <label class="list" for="isCost0">
|
|
|
+ <radio id="isCost0" value="0" :checked="form.isCost == 0" style="transform:scale(0.7,0.7)" />
|
|
|
+ <span class="checkbox-text">不算成本</span>
|
|
|
+ </label>
|
|
|
+ </radio-group>
|
|
|
+ </tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<view class="tui-title ">总运费</view>
|
|
|
<view>{{totalFreight}}</view>
|
|
|
@@ -210,7 +223,8 @@ export default {
|
|
|
needPrint:2,
|
|
|
fistWcPrintNum:1,
|
|
|
cgStaffId:0,
|
|
|
- cgStaffName:''
|
|
|
+ cgStaffName:'',
|
|
|
+ isCost:1
|
|
|
},
|
|
|
showCustomer: false,
|
|
|
detailsInfo: {},
|
|
|
@@ -317,6 +331,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ isCostChange(e){
|
|
|
+ this.form.isCost = e.detail.value
|
|
|
+ },
|
|
|
cgManChange(e){
|
|
|
let index = e.detail.value
|
|
|
if(!this.$util.isEmpty(this.staffList)){
|