diff --git a/klp-ui/src/components/KLPService/ProductSelect/index.vue b/klp-ui/src/components/KLPService/ProductSelect/index.vue
index c1d0da50..490756e5 100644
--- a/klp-ui/src/components/KLPService/ProductSelect/index.vue
+++ b/klp-ui/src/components/KLPService/ProductSelect/index.vue
@@ -6,13 +6,19 @@
filterable
@change="onChange"
style="width: 100%"
+ :value-key="'productId'"
>
+ >
+
+ {{ item.productName }}
+ {{ item.productCode }}
+
+
@@ -22,7 +28,7 @@ import { listProduct } from '@/api/wms/product';
export default {
name: 'ProductSelect',
props: {
- value: [String, Number],
+ value: [String, null],
disabled: Boolean,
placeholder: {
type: String,
@@ -59,3 +65,20 @@ export default {
}
};
+
+
diff --git a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue
index 291f1d74..06a98d65 100644
--- a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue
+++ b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue
@@ -6,13 +6,19 @@
clearable
@change="onChange"
style="width: 100%"
+ :value-key="'rawMaterialId'"
>
+ >
+
+ {{ item.rawMaterialName }}
+ {{ item.rawMaterialCode }}
+
+
@@ -22,7 +28,7 @@ import { listRawMaterial } from "@/api/wms/rawMaterial";
export default {
name: "RawMaterialSelect",
props: {
- value: [String, Number],
+ value: [String, null],
placeholder: {
type: String,
default: "请选择原材料"
@@ -37,6 +43,10 @@ export default {
watch: {
value(val) {
this.selected = val;
+ },
+ selected(val) {
+ this.$emit("input", val);
+ this.$emit("change", val);
}
},
mounted() {
@@ -55,3 +65,20 @@ export default {
}
};
+
+
diff --git a/klp-ui/src/views/wms/order/panels/detail.vue b/klp-ui/src/views/wms/order/panels/detail.vue
index 0f408a8c..183bbc10 100644
--- a/klp-ui/src/views/wms/order/panels/detail.vue
+++ b/klp-ui/src/views/wms/order/panels/detail.vue
@@ -78,12 +78,14 @@
-
+
+
+
+ {{ scope.row.productName }}({{ scope.row.productCode }})
+
+
diff --git a/klp-ui/src/views/wms/product/index.vue b/klp-ui/src/views/wms/product/index.vue
index a00a91ef..e5d6ca5d 100644
--- a/klp-ui/src/views/wms/product/index.vue
+++ b/klp-ui/src/views/wms/product/index.vue
@@ -25,49 +25,27 @@
@keyup.enter.native="handleQuery"
/>
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
搜索
@@ -126,22 +104,22 @@
-
+
-
+
-
+
-
+
@@ -149,7 +127,11 @@
-
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 分类信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 参数信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+