|
|
@@ -23,7 +23,7 @@
|
|
|
</view>
|
|
|
<view class="work-item-detail">
|
|
|
|
|
|
- <view class="flex-space right-detail-title">单位用材</view>
|
|
|
+ <view class="flex-space right-detail-title">每份用材</view>
|
|
|
|
|
|
<view class="unit-use-item">
|
|
|
<view class="commodity-list">
|
|
|
@@ -42,18 +42,11 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="summary-bar">
|
|
|
- <view class="operate-view" ></view>
|
|
|
- <view class="describe-view">
|
|
|
- <text v-if="Number(unitUseItem.bigNum)>0">{{unitUseItem.bigNum}}扎</text>
|
|
|
- <text v-if="Number(unitUseItem.smallNum)>0">{{unitUseItem.smallNum}}支</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
</view>
|
|
|
|
|
|
<view style="height:2vh;background-color:#EEEEEE;"></view>
|
|
|
|
|
|
- <view class="flex-space right-detail-title"> 累计用材 </view>
|
|
|
+ <view class="flex-space right-detail-title"> 总共用材 </view>
|
|
|
|
|
|
<view class="total-use-item">
|
|
|
<view class="commodity-list">
|
|
|
@@ -74,20 +67,13 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="summary-bar">
|
|
|
- <view class="operate-view" ></view>
|
|
|
- <view class="describe-view">
|
|
|
- <text v-if="Number(totalUseItem.bigNum)>0">{{totalUseItem.bigNum}}扎</text>
|
|
|
- <text v-if="Number(totalUseItem.smallNum)>0">{{totalUseItem.smallNum}}支</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="button-area">
|
|
|
- <view :class="[orderInfo.status==0 ? 'active' : '']" @tap="finishFn()">完成</view>
|
|
|
- <view :class="[orderInfo.status != 2 && orderInfo.stockLock==0 ? 'active' : '']" @click="modifyItem(orderInfo)">修改</view>
|
|
|
<view :class="[orderInfo.status != 2 && orderInfo.stockLock==0 ? 'active' : '']" @click="lockFn()">锁定</view>
|
|
|
+ <view :class="[orderInfo.status != 2 && orderInfo.stockLock==0 ? 'active' : '']" @click="modifyItem(orderInfo)">修改</view>
|
|
|
+ <view :class="[orderInfo.status==0 ? 'active' : '']" @tap="finishFn()">完成</view>
|
|
|
<view :class="[orderInfo.status==1 ? 'active' : '']" @click="printFn(orderInfo)">打印</view>
|
|
|
<view :class="[orderInfo.status==0 ? 'active' : '']" @click="cancelFn()">取消</view>
|
|
|
</view>
|
|
|
@@ -99,7 +85,7 @@
|
|
|
</uni-popup>
|
|
|
|
|
|
<uni-popup ref="cancelWorkRef" type="dialog">
|
|
|
- <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="提示" content="确认取消?" @confirm="confirmCancel"></uni-popup-dialog>
|
|
|
+ <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="提示" content="确认取消工单?" @confirm="confirmCancel"></uni-popup-dialog>
|
|
|
</uni-popup>
|
|
|
|
|
|
<uni-popup ref="lockWorkRef" type="dialog">
|