diff --git a/klp-ui/src/components/KLPService/ProductSelect/index.vue b/klp-ui/src/components/KLPService/ProductSelect/index.vue index a091ae06..7bf381b3 100644 --- a/klp-ui/src/components/KLPService/ProductSelect/index.vue +++ b/klp-ui/src/components/KLPService/ProductSelect/index.vue @@ -7,7 +7,7 @@
未搜索到产品
+ :label="`${item.productName}(${getSku(item)})`" :value="item.productId">
{{ item.productName }} @@ -117,7 +117,7 @@ export default { value(val) { console.log(val, 'value'); if (!val) { - this.selected = []; + this.selected = ''; return; } if (this.multiple) { diff --git a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue index fe2cfb7e..5eddac8f 100644 --- a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue +++ b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue @@ -7,7 +7,7 @@
未搜索到原材料
+ :label="`${item.rawMaterialName}(${getSku(item)})`" :value="item.rawMaterialId">
{{ item.rawMaterialName }} @@ -117,7 +117,7 @@ export default { watch: { value(val) { if (!val) { - this.selected = []; + this.selected = ''; return; } if (this.multiple) {