|
@@ -90,7 +90,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 操作按钮 -->
|
|
|
- <view class="sales-btn-box">
|
|
|
+ <view class="sales-btn-box" v-if="detailData&&detailData.billStatus!='FINISH'">
|
|
|
<view v-if="pageData.type=='edit'" class="flex align_center justify_between">
|
|
|
<u-button class="handle-btn" shape="circle" size="medium" hover-class="none" @click="handleDel()">整单删除</u-button>
|
|
|
<u-button class="handle-btn search-btn" shape="circle" @click="handleSubmit" size="medium" hover-class="none" :custom-style="customBtnStyle">提交</u-button>
|
|
@@ -360,6 +360,7 @@
|
|
|
// 销售单详情
|
|
|
getDetail(){
|
|
|
salesDetail({ id: this.pageData.data.id }).then(res => {
|
|
|
+ console.log(res.data)
|
|
|
if(res.status == 200){
|
|
|
this.detailData = res.data
|
|
|
}else{
|
|
@@ -379,6 +380,9 @@
|
|
|
}else{
|
|
|
_this.scrollH = winH - 522 - totalH
|
|
|
}
|
|
|
+ if(_this.detailData&&_this.detailData.billStatus=='FINISH'){
|
|
|
+ _this.scrollH = _this.scrollH + 100
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
}
|