diff --git a/src/views/modules/part/routing_create.vue b/src/views/modules/part/routing_create.vue index a295778..8558fe9 100644 --- a/src/views/modules/part/routing_create.vue +++ b/src/views/modules/part/routing_create.vue @@ -1900,6 +1900,17 @@ export default { typeFlag: data.rows.modalData.typeFlag, netWeight: data.rows.modalData.netWeight, } + let tempData = { + site: this.modalData.site, + buNo: this.modalData.buNo, + partNo: this.modalData.partNo, + routingType: this.modalData.routingType, + } + getRoutingInformationByPartNo(tempData).then(({data}) => { + if (data && data.code === 0) { + this.modalData.codeNo = data.rows.codeNo + } + }) this.detailDataList = data.rows.detailDataList this.detailData = data.rows.detailData this.subDetailList = [] @@ -2099,7 +2110,7 @@ export default { // 基于标准工序快速创建 createByStandardOperation () { if (this.detailData.alternativeNo === '' || this.detailData.alternativeNo == null) { - this.$message.warning('请先选择替代!') + this.$message.warning('请先点击保存!') return } this.standardOperationSelections = []