Browse Source

维多利亚产品信息增加材质列

cz 1 year ago
parent
commit
05390fa668

+ 11 - 1
src/components/WDLY/product/SelectGoods.vue

@@ -133,6 +133,12 @@ const config = computed(() => {
     },
     {
       attrs: {
+        label: "材质",
+        prop: "materialQuality",
+      },
+    },
+    {
+      attrs: {
         label: "单位",
         prop: "unit",
       },
@@ -264,7 +270,11 @@ const getList = async (req = {}) => {
   proxy
     .post("/productInfo/pageByWdly", sourceList.value.pagination)
     .then((message) => {
-      sourceList.value.data = message.rows.map((x) => ({ ...x, fileList: [] }));
+      sourceList.value.data = message.rows.map((x) => ({
+        ...x,
+        fileList: [],
+        ...JSON.parse(x.victoriatouristJson),
+      }));
       sourceList.value.pagination.total = message.total;
       setTimeout(() => {
         loading.value = false;

+ 6 - 0
src/components/WDLY/product/SelectProduct.vue

@@ -364,6 +364,12 @@ const config = computed(() => {
     },
     {
       attrs: {
+        label: "材质",
+        prop: "materialQuality",
+      },
+    },
+    {
+      attrs: {
         label: "管理部门",
         prop: "deptName",
       },

+ 6 - 0
src/views/WDLY/basic/product/index.vue

@@ -445,6 +445,12 @@ const config = computed(() => {
     },
     {
       attrs: {
+        label: "材质",
+        prop: "materialQuality",
+      },
+    },
+    {
+      attrs: {
         label: "管理部门",
         prop: "deptName",
       },

+ 2 - 1
src/views/WDLY/purchaseManage/alreadyPurchase/index.vue

@@ -435,7 +435,8 @@
                       v-model="row.quantity"
                       :precision="0"
                       :controls="false"
-                      :min="1"
+                      :min="0"
+                      onmousewheel="return false;"
                     />
                   </el-form-item>
                 </template>