|
@@ -166,7 +166,14 @@
|
|
|
{{item.AmountMoney?item.AmountMoney:0}}
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+ <view class="itemWorkHoursBox">
|
|
|
+ <view class="itemWorkHours" v-if="itemWorkHours">
|
|
|
+ 工时:{{item.SaleQty}}
|
|
|
+ </view>
|
|
|
+ <view class="itemPrice" v-if="itemPrice">
|
|
|
+ 单价:{{item.SalePrice}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="secondBox" v-if="ItemComment" :class="{noLine:index == orderData.listItems.length-1}">
|
|
|
<view class="comment" >{{item.Comment}}</view>
|
|
|
<view class="secondRight">
|
|
@@ -189,14 +196,19 @@
|
|
|
|
|
|
<view class="goodTop">
|
|
|
<view class="detailedName"><span v-if="item.CardDetailID"
|
|
|
- class="kaColor">卡</span>{{item.Brand}} {{item.GoodsName}}</view>
|
|
|
- <view class="qty">x{{item.SaleQty}}</view>
|
|
|
+ class="kaColor">卡</span>
|
|
|
+ <span v-if="brandSetting">{{item.Brand}}</span>
|
|
|
+ {{item.GoodsName}}
|
|
|
+ <span v-if="specSetting">{{item.Spec}}</span>
|
|
|
+ <span v-if="factoryNumber">{{item.FactoryCode}}</span>
|
|
|
+ </view>
|
|
|
+ <view class="qty" v-if="goodsNumber">x{{item.SaleQty}}</view>
|
|
|
</view>
|
|
|
<view class="secondBox" :class="{noLine:index == orderData.listParts.length-1}">
|
|
|
<view class="comment" v-if="GoodsComment">{{item.Comment}}</view>
|
|
|
<view class="secondRight">
|
|
|
<!-- <view class="grayPrice">¥{{item.CheckOutTaxRate}}</view> -->
|
|
|
- <view class="price" v-if="ItemMoney">
|
|
|
+ <view class="price" v-if="goodsPrice">
|
|
|
<span>¥</span>
|
|
|
{{item.AmountMoney?item.AmountMoney:0}}
|
|
|
</view>
|
|
@@ -218,15 +230,15 @@
|
|
|
</view>
|
|
|
<view class="goodscostLine" v-if="TotalDiscountMoney">
|
|
|
<view class="goodscostTxt">优惠总计</view>
|
|
|
- <view class="goodsCostNum">¥{{orderData.billsheet.TotalDiscountMoney?orderData.billsheet.TotalDiscountMoney:0}}</view>
|
|
|
+ <view class="goodsCostNum3">¥{{orderData.billsheet.TotalDiscountMoney?orderData.billsheet.TotalDiscountMoney:0}}</view>
|
|
|
</view>
|
|
|
<view class="goodscostLine" v-if="CardMoneyT">
|
|
|
<view class="goodscostTxt">计次卡冲销</view>
|
|
|
- <view class="goodsCostNum">¥{{orderData.billsheet.CardMoneyT?orderData.billsheet.CardMoneyT:0}}</view>
|
|
|
+ <view class="goodsCostNum3">¥{{orderData.billsheet.CardMoneyT?orderData.billsheet.CardMoneyT:0}}</view>
|
|
|
</view>
|
|
|
<view class="goodscostLine" v-if="CardMoneyC">
|
|
|
<view class="goodscostTxt">储值卡冲销</view>
|
|
|
- <view class="goodsCostNum">¥{{orderData.billsheet.CardMoneyCWriteOff?orderData.billsheet.CardMoneyCWriteOff:0}}</view>
|
|
|
+ <view class="goodsCostNum3">¥{{orderData.billsheet.CardMoneyCWriteOff?orderData.billsheet.CardMoneyCWriteOff:0}}</view>
|
|
|
</view>
|
|
|
<view class="goodscostLine" v-if="ReceiptsMoney">
|
|
|
<view class="goodscostTxt">支付金额</view>
|
|
@@ -297,7 +309,15 @@
|
|
|
CardMoneyT: false, //计次卡冲销
|
|
|
CardMoneyC: false, //储值卡冲销
|
|
|
ReceiptsMoney: false, //支付金额
|
|
|
+ brandSetting:false,
|
|
|
+ specSetting:false,
|
|
|
+ factoryNumber:false,
|
|
|
+ goodsNumber:false,
|
|
|
+ goodsPrice:false,
|
|
|
+ itemWorkHours:false,
|
|
|
+ itemPrice:false,
|
|
|
iStatusBarHeight:'',
|
|
|
+ ShowSetting:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -308,20 +328,23 @@
|
|
|
this.ext = this.$common.getExtStoreId();
|
|
|
if (this.userInfo) {
|
|
|
this.getData()
|
|
|
+ this.myPower();
|
|
|
+ this.showPower();
|
|
|
} else {
|
|
|
this.$common.automaticlogin().then(val => {
|
|
|
this.userInfo = this.$store.state.userInfo;
|
|
|
this.wxOpenData = this.$store.state.wxOpenData;
|
|
|
this.themeColor = uni.getStorageSync("themeColor");
|
|
|
this.getData()
|
|
|
+ this.myPower();
|
|
|
+ this.showPower();
|
|
|
if(!this.userInfo){
|
|
|
this.authorizShow=true
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- this.myPower();
|
|
|
- this.showPower();
|
|
|
+
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
@@ -346,7 +369,7 @@
|
|
|
// CardMoneyC:false,//储值卡冲销
|
|
|
// ReceiptsMoney:false,//支付金额
|
|
|
|
|
|
-
|
|
|
+ this.ShowSetting=res.data
|
|
|
var list = res.data
|
|
|
list.forEach((item, index) => {
|
|
|
if (item.fieldValue == 'FaultDescription') {
|
|
@@ -382,7 +405,29 @@
|
|
|
if (item.fieldValue == 'TotalDiscountMoney') {
|
|
|
this.TotalDiscountMoney = item.isChecked
|
|
|
}
|
|
|
-
|
|
|
+ if (item.fieldValue == 'brand') {
|
|
|
+ this.brandSetting = item.isChecked
|
|
|
+ }
|
|
|
+ if (item.fieldValue == 'spec') {
|
|
|
+ this.specSetting = item.isChecked
|
|
|
+ }
|
|
|
+ if (item.fieldValue == 'factoryNumber') {
|
|
|
+ this.factoryNumber = item.isChecked
|
|
|
+ }
|
|
|
+ if (item.fieldValue == 'goodsNumber') {
|
|
|
+ this.goodsNumber = item.isChecked
|
|
|
+ }
|
|
|
+ if (item.fieldValue == 'goodsPrice') {
|
|
|
+ this.goodsPrice = item.isChecked
|
|
|
+ }
|
|
|
+ if (item.fieldValue == 'itemWorkHours') {
|
|
|
+ this.itemWorkHours = item.isChecked
|
|
|
+ }
|
|
|
+ if (item.fieldValue == 'itemPrice') {
|
|
|
+ this.itemPrice = item.isChecked
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
})
|
|
@@ -564,6 +609,19 @@
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+ .itemWorkHoursBox{
|
|
|
+ display: flex;
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
+ .itemWorkHours{
|
|
|
+ padding-top: 15rpx;padding-bottom: 15rpx;
|
|
|
+ padding-right: 50rpx;
|
|
|
+ }
|
|
|
+ .itemPrice{
|
|
|
+ padding-top: 15rpx;padding-bottom: 15rpx;
|
|
|
+ }
|
|
|
.newboxTop{
|
|
|
display: flex;
|
|
|
padding-left: 20rpx;
|
|
@@ -878,7 +936,7 @@
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
font-weight: 500;
|
|
|
- color: #FF0000;
|
|
|
+ /* color: #FF0000; */
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
@@ -918,6 +976,9 @@
|
|
|
.goodsCostNumJsfs{
|
|
|
color: #333333;
|
|
|
}
|
|
|
+ .goodsCostNum3{
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
.information {
|
|
|
width: 702rpx;
|
|
|
background: #FFFFFF;
|