|
|
@ -27,7 +27,7 @@ |
|
|
|
</image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='split_line'></view> |
|
|
|
<!-- <view class='split_line'></view> |
|
|
|
<view class="title " style="display: flex; align-items: center;padding: 10rpx;"> |
|
|
|
<text style=" flex-shrink: 0;width: 25%;">计划日期:</text> |
|
|
|
<view class="customerBorder" @click="showSelectDate"> |
|
|
@ -42,6 +42,7 @@ |
|
|
|
</image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
--> |
|
|
|
<view class='split_line'></view> |
|
|
|
<view class="title " style="display: flex;align-items: center;padding: 10rpx;"> |
|
|
|
<text style=" flex-shrink: 0; width: 25%;">物料代码:</text> |
|
|
@ -194,7 +195,7 @@ |
|
|
|
openRequestPopup() { |
|
|
|
this.initData(); |
|
|
|
this.planDate = getCurrDate() |
|
|
|
this.batch = this.planDate.replace('-', '') |
|
|
|
this.batch = this.planDate.replace('-', '').replace('-', '') |
|
|
|
this.$refs.popup.open('bottom') |
|
|
|
}, |
|
|
|
initData() { |
|
|
@ -321,11 +322,12 @@ |
|
|
|
this.planQty = 0; |
|
|
|
this.goodQty = 0 |
|
|
|
this.planNumber = "" |
|
|
|
this.bomVersion = "" |
|
|
|
}, |
|
|
|
|
|
|
|
confirmSelectDate(data) { |
|
|
|
this.planDate = data[0].label |
|
|
|
this.batch = this.planDate.replace('-', ''); |
|
|
|
this.batch = this.planDate.replace('-', '').replace('-', ''); |
|
|
|
}, |
|
|
|
|
|
|
|
showSelectDate() { |
|
|
@ -462,6 +464,7 @@ |
|
|
|
let pack = this.packUnitList.filter(r => r.packUnit == this.packUnit); |
|
|
|
this.packQtyHint = pack[0].packQty + "(" + this |
|
|
|
.getUomInfo(pack[0].uom) + ")"; |
|
|
|
this.uom = this.getUomInfo(pack[0].uom); |
|
|
|
this.packQty = pack[0].packQty |
|
|
|
}, |
|
|
|
getUomInfo(uom) { |
|
|
|