采购订单修改bug

dev
郑明梁 2 years ago
parent 29dc1ac139
commit aeb6218691

@ -165,7 +165,7 @@
<el-option v-for="item in suppliers" <el-option v-for="item in suppliers"
:key="item.erpId" :key="item.erpId"
:label="item.name" :label="item.name"
:value="item.erpId"> :value="item.name">
</el-option> </el-option>
</el-select> </el-select>
</template> </template>
@ -445,7 +445,7 @@ export default {
}, },
tableCountChange(row) { tableCountChange(row) {
if (this.$isNotBlank(row)) { if (this.$isNotBlank(row)) {
this.currentRow.supId = row.supName; this.currentRow.supId= this.suppliers.find(item => item.name == row.supName).erpId
updateDetail(this.currentRow); updateDetail(this.currentRow);
} }
}, },

Loading…
Cancel
Save