|
@@ -389,41 +389,27 @@
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view v-if="form.hasPay == 2" class="tui-title">应收金额</view>
|
|
<view v-if="form.hasPay == 2" class="tui-title">应收金额</view>
|
|
|
<view v-else class="tui-title">实收金额</view>
|
|
<view v-else class="tui-title">实收金额</view>
|
|
|
- <input
|
|
|
|
|
- style="border: 1upx solid #eee; color: #3385ff; width: 300upx; height: 70upx;text-align: center;"
|
|
|
|
|
- type="digit"
|
|
|
|
|
- @focus="modifyPrice = ''"
|
|
|
|
|
- v-model="modifyPrice"
|
|
|
|
|
- placeholder-class="tui-placeholder"
|
|
|
|
|
- />
|
|
|
|
|
- <text v-if="modifyPrice > 0 && modifyPrice > finalPrice" style="font-size: 25upx; margin-left: 20upx; color: red"
|
|
|
|
|
- >人工资材费 ¥{{ parseFloat((modifyPrice - finalPrice).toFixed(2)) }}</text
|
|
|
|
|
- >
|
|
|
|
|
- <text v-if="modifyPrice > 0 && modifyPrice < finalPrice" style="font-size: 25upx; margin-left: 20upx; color: green"
|
|
|
|
|
- >优惠 ¥{{ parseFloat((finalPrice - modifyPrice).toFixed(2)) }}</text
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <input style="border: 1upx solid #eee; color: #3385ff; width: 170upx; height: 70upx;text-align: center;" type="digit" @focus="modifyPrice = ''" v-model="modifyPrice" placeholder-class="tui-placeholder" />
|
|
|
|
|
+ <text v-if="modifyPrice > 0 && modifyPrice > finalPrice" style="font-size: 28upx; margin-left: 20upx; color: red" >人工资材费 ¥{{ parseFloat((modifyPrice - finalPrice).toFixed(2)) }}</text>
|
|
|
|
|
+ <text v-if="modifyPrice > 0 && modifyPrice < finalPrice" style="font-size: 28upx; margin-left: 20upx; color: green">优惠 ¥{{ parseFloat((finalPrice - modifyPrice).toFixed(2)) }}</text>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
|
<view class="tui-title">账单日期</view>
|
|
<view class="tui-title">账单日期</view>
|
|
|
- <view class="uni-input" v-if="form.historyDate == ''" style="color: #cccccc; width: 400upx; font-size: 34upx" @click="bindHistoryDateChange" >默认当天</view >
|
|
|
|
|
- <view class="uni-input" @click="bindHistoryDateChange" v-else style="width: 400upx; font-size: 34upx">{{ form.historyDate }}</view>
|
|
|
|
|
|
|
+ <view class="uni-input" v-if="form.historyDate == ''" style="color: #cccccc; width: 400upx; font-size: 32upx" @click="bindHistoryDateChange" >默认当天</view >
|
|
|
|
|
+ <view class="uni-input" @click="bindHistoryDateChange" v-else style="width: 400upx; font-size: 32upx">{{ form.historyDate }}</view>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
|
|
|
|
|
<tui-list-cell class="line-cell" :arrow="true">
|
|
<tui-list-cell class="line-cell" :arrow="true">
|
|
|
<div class="tui-title">开单人</div>
|
|
<div class="tui-title">开单人</div>
|
|
|
- <view class="uni-input" v-if="form.getStaffId == 0" style="color: #cccccc; width: 400upx; font-size: 34upx" @click="changeStaff()"
|
|
|
|
|
- >默认本人</view
|
|
|
|
|
- >
|
|
|
|
|
- <view class="uni-input" v-else @click="changeStaff()" style="width: 400upx; font-size: 34upx">{{
|
|
|
|
|
- form.getStaffName ? form.getStaffName : '请选择'
|
|
|
|
|
- }}</view>
|
|
|
|
|
|
|
+ <view class="uni-input" v-if="form.getStaffId == 0" style="color: #cccccc; width: 400upx; font-size: 32upx" @click="changeStaff()" >默认本人</view >
|
|
|
|
|
+ <view class="uni-input" v-else @click="changeStaff()" style="width: 400upx; font-size: 32upx">{{ form.getStaffName ? form.getStaffName : '请选择' }}</view>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="true">
|
|
|
<view class="tui-title">送货日期</view>
|
|
<view class="tui-title">送货日期</view>
|
|
|
- <view class="uni-input" v-if="form.sendTimeWant == ''" style="color: #cccccc; width: 400upx; font-size: 34upx" @click="bindDateChange" >默认当天</view >
|
|
|
|
|
- <view class="uni-input" @click="bindDateChange" v-else style="width: 400upx; font-size: 34upx">{{ form.sendTimeWant }}</view>
|
|
|
|
|
|
|
+ <view class="uni-input" v-if="form.sendTimeWant == ''" style="color: #cccccc; width: 400upx; font-size: 32upx" @click="bindDateChange" >默认当天</view >
|
|
|
|
|
+ <view class="uni-input" @click="bindDateChange" v-else style="width: 400upx; font-size: 32upx">{{ form.sendTimeWant }}</view>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|