Browse Source

RFQ 基于标准工序创建里的计算有问题,新创建的物料点计算后的结果是0,但物料的属性已维护,需要到属性里再点下保存才行

java8
han\hanst 7 months ago
parent
commit
00034044e6
  1. 13
      src/views/modules/part/routing_create.vue

13
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 = []

Loading…
Cancel
Save