|
@ -16,11 +16,13 @@ |
|
|
:rawLocationCode="toLocation.toLocationCode"></work-station> |
|
|
:rawLocationCode="toLocation.toLocationCode"></work-station> |
|
|
</view> |
|
|
</view> |
|
|
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" |
|
|
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" |
|
|
@updateData='updateData'> |
|
|
@updateData='updateData' |
|
|
|
|
|
@removeItemCode ="removeItemCode" |
|
|
|
|
|
> |
|
|
</com-issue-detail-card> |
|
|
</com-issue-detail-card> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
<button class="btn_add" @click="goScan(true)">+去添加</button> |
|
|
<button class="btn_add" @click="goScan(false)">+去添加</button> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="page-footer"> |
|
|
<view class="page-footer"> |
|
@ -35,13 +37,15 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<com-issue-request-popup ref="comIssueRequestPopup" @confirm='requestConfirm'></com-issue-request-popup> |
|
|
<com-issue-request-popup ref="comIssueRequestPopup" @confirm='requestConfirm'></com-issue-request-popup> |
|
|
<win-scan-button v-if='detailSource.length>0' @goScan='openScanDetailPopup'></win-scan-button> |
|
|
<win-scan-button v-if='detailSource.length>0' @goScan='openScanDetailPopup'></win-scan-button> |
|
|
<com-scan-issue-pack ref="comScanIssuePack" @closeScan='closeScan' @updateData='updateData'> |
|
|
<com-scan-issue-pack ref="comScanIssuePack" @closeScan='closeScan' @updateData='updateData'> |
|
|
</com-scan-issue-pack> |
|
|
</com-scan-issue-pack> |
|
|
<com-message ref="comMessage"></com-message> |
|
|
<comMessage ref="comMessage"></comMessage> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
@ -131,6 +135,7 @@ |
|
|
this.toInventoryStatuses = res.toInventoryStatuses |
|
|
this.toInventoryStatuses = res.toInventoryStatuses |
|
|
this.goScan(true) |
|
|
this.goScan(true) |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
|
|
|
this.showErrorMessage(res.message) |
|
|
this.showErrorMessage(res.message) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
@ -148,6 +153,7 @@ |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
goScan(editPosition) { |
|
|
goScan(editPosition) { |
|
|
|
|
|
|
|
|
this.$refs.comIssueRequestPopup.openRequestPopup(editPosition); |
|
|
this.$refs.comIssueRequestPopup.openRequestPopup(editPosition); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -267,6 +273,14 @@ |
|
|
// item.handleQty=itemHandleQty; |
|
|
// item.handleQty=itemHandleQty; |
|
|
// this.closeScan(); |
|
|
// this.closeScan(); |
|
|
}, |
|
|
}, |
|
|
|
|
|
removeItemCode(){ |
|
|
|
|
|
var isClear =this.detailSource[0].Items.length==0 |
|
|
|
|
|
if(isClear){ |
|
|
|
|
|
this.clearData(); |
|
|
|
|
|
this.$refs.comIssueRequestPopup.initData() |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
setParams() { |
|
|
setParams() { |
|
|
var subList = [] |
|
|
var subList = [] |
|
@ -381,10 +395,15 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
clearData() { |
|
|
clearData() { |
|
|
this.detailSource = []; |
|
|
this.subList= [], //接口返回的任务subList |
|
|
this.requestList = []; |
|
|
this.detailSource=[], //绑定在页面上的数据源 |
|
|
this.dataContent = {} |
|
|
this.detailOptions=[], |
|
|
this.managementList = [] |
|
|
this.scanOptions= [], |
|
|
|
|
|
this.workShopCode="", |
|
|
|
|
|
this.requestList= [], |
|
|
|
|
|
this.dataContent= {}, |
|
|
|
|
|
this.managementList= [] |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
showMessage(message) { |
|
|
showMessage(message) { |
|
|