|
@@ -391,6 +391,7 @@
|
|
|
placeholder=""
|
|
|
clearable
|
|
|
filterable
|
|
|
+ @change="handleProductChange(scope.row.productNo, scope.row)"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in productionOptions"
|
|
@@ -860,6 +861,15 @@ export default {
|
|
|
}),
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 产品名称改变
|
|
|
+ handleProductChange(productNo, row) {
|
|
|
+ if (!productNo) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ row.productName = this.productionOptions.find(
|
|
|
+ (item) => item.productNo == productNo
|
|
|
+ )?.productName;
|
|
|
+ },
|
|
|
// 订单类型改变回调
|
|
|
orderTypeChange(type) {
|
|
|
this.getList(false, type);
|