src/views/zzmx/jpgj.vue
@@ -262,7 +262,7 @@ <el-option v-for="item in partArr2" :key="item.partcode" :label="item.partname" :label="item.partname + ' / '+ item.partcode" :value="item.partcode" /> </el-select> @@ -696,6 +696,9 @@ }, // 保存行 async saveRow(row) { if (parseFloat(row.unprice) <= 0 && this.eqpTable.steptype !== 'W') { return this.$message.info('计件单价必须大于零!') } const data = { partcode: this.eqpTable.partcode, // 产品编码 routecode: this.eqpTable.routecode, // 工艺路线编码