|
|
@ -99,6 +99,29 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='split_line'></view> |
|
|
|
<view class="uni-flex uni-row" style="align-items: center; margin-top: 20rpx; margin-bottom: 20rpx; margin-left: 10rpx;justify-content: space-between;"> |
|
|
|
<view class="title" > |
|
|
|
创建检验申请 |
|
|
|
</view> |
|
|
|
<view class="" style="margin-right: 20rpx;"> |
|
|
|
<u-switch v-model="putAwayRequestSwitch" active-color="#4DD865" inactive-color="#eee" size="35" |
|
|
|
@change="switchPutAwayRequest"></u-switch> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view class='split_line'></view> |
|
|
|
|
|
|
|
<view class="uni-flex uni-row" style="align-items: center; margin-top: 20rpx; margin-bottom: 20rpx; margin-left: 10rpx; justify-content: space-between;"> |
|
|
|
<view class="title" > |
|
|
|
创建上架申请 |
|
|
|
</view> |
|
|
|
<view class="" style="margin-right: 20rpx;"> |
|
|
|
<u-switch v-model="putAwayInspectSwitch" active-color="#4DD865" inactive-color="#eee" size="35" |
|
|
|
@change="switchPutAwayInspect"></u-switch> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view class="uni-flex uni-row hide_border"> |
|
|
|
<button class="btn_edit_big_cancle" hover-class="btn_edit_big_after" @click="cancel()">取消</button> |
|
|
@ -159,7 +182,6 @@ |
|
|
|
showProductLineSelect: false, |
|
|
|
productLineList: [], |
|
|
|
productionLineName: "请选择生产线", |
|
|
|
productLineCode: "", |
|
|
|
batch: "", |
|
|
|
packUnitName: "请选择包装规格", |
|
|
|
packUnit: "", |
|
|
@ -177,7 +199,8 @@ |
|
|
|
rawLocationCode: "", |
|
|
|
workshop: "", |
|
|
|
bomVersion: "", |
|
|
|
uom: "" |
|
|
|
putAwayRequestSwitch:true, |
|
|
|
putAwayInspectSwitch:true |
|
|
|
} |
|
|
|
}, |
|
|
|
props: { |
|
|
@ -226,6 +249,8 @@ |
|
|
|
this.rawLocationCode = "" |
|
|
|
this.workshop = "" |
|
|
|
this.bomVersion ="" |
|
|
|
this.putAwayRequestSwitch=true, |
|
|
|
this.putAwayInspectSwitch=true |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
@ -289,7 +314,10 @@ |
|
|
|
fgLocationCode: this.fgLocationCode, |
|
|
|
rawLocationCode: this.rawLocationCode, |
|
|
|
workshop: this.workshop, |
|
|
|
bomVersion :this.bomVersion |
|
|
|
bomVersion :this.bomVersion, |
|
|
|
putAwayRequestSwitch:this.putAwayRequestSwitch, |
|
|
|
putAwayInspectSwitch:this.putAwayInspectSwitch |
|
|
|
|
|
|
|
}; |
|
|
|
this.closeRequestPopup(); |
|
|
|
this.$emit("confirm", item); |
|
|
@ -477,6 +505,17 @@ |
|
|
|
return item.label |
|
|
|
} |
|
|
|
}, |
|
|
|
switchPutAwayRequest(value){ |
|
|
|
console.log(value) |
|
|
|
console.log("打印"+this.putAwayRequestSwitch) |
|
|
|
this.putAwayRequestSwitch =value; |
|
|
|
}, |
|
|
|
|
|
|
|
switchPutAwayInspect(value){ |
|
|
|
console.log(value) |
|
|
|
this.putAwayInspectSwitch =value; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|