潘超林 месяцев назад: 4
Родитель
Сommit
fcdc69bf62
4 измененных файлов с 26 добавлено и 8 удалено
  1. 2 1
      src/views/outbound/add.vue
  2. 1 1
      src/views/outbound/edit.vue
  3. 22 5
      src/views/storage/add.vue
  4. 1 1
      src/views/storage/edit.vue

+ 2 - 1
src/views/outbound/add.vue

@@ -314,6 +314,7 @@ export default {
         categoryId: "",
         pageNo: 1,
         pageSize: 10,
+        storeTime:[]
       },
       categoryprops: {
         checkStrictly: true,
@@ -421,7 +422,7 @@ export default {
         .catch(() => {
           this.$message({
             type: "info",
-            message: "已取消删除",
+            message: "已取消",
           });
         });
     },

+ 1 - 1
src/views/outbound/edit.vue

@@ -433,7 +433,7 @@ export default {
         .catch(() => {
           this.$message({
             type: "info",
-            message: "已取消删除",
+            message: "已取消",
           });
         });
     },

+ 22 - 5
src/views/storage/add.vue

@@ -112,14 +112,22 @@
               </el-table-column>
               <el-table-column label="浮动重量" align="center">
                 <template slot-scope="scope">
-                  <el-input v-model="scope.row.floatingWeight" clearable  oninput="value=value.replace(/[^\d.]/g,'')">
+                  <el-input
+                    v-model="scope.row.floatingWeight"
+                    clearable
+                    oninput="value=value.replace(/[^\d.]/g,'')"
+                  >
                     <span slot="suffix">{{ form.storeUnit }}</span>
                   </el-input>
                 </template>
               </el-table-column>
               <el-table-column label="入库数量" align="center">
                 <template slot-scope="scope">
-                  <el-input v-model="scope.row.storeNum" clearable  oninput="value=value.replace(/[^\d.]/g,'')">
+                  <el-input
+                    v-model="scope.row.storeNum"
+                    clearable
+                    oninput="value=value.replace(/[^\d.]/g,'')"
+                  >
                     <span slot="suffix">{{ scope.row.spuUnit }}</span>
                   </el-input>
                 </template>
@@ -129,7 +137,7 @@
                   <el-input
                     v-model="scope.row.storeUnitPrice"
                     clearable
-                   oninput="value=value.replace(/[^\d.]/g,'')"
+                    oninput="value=value.replace(/[^\d.]/g,'')"
                   >
                     <span slot="suffix"> 元/{{ form.storeUnit }}</span>
                   </el-input>
@@ -137,7 +145,11 @@
               </el-table-column>
               <el-table-column label="销售单价" align="center" width="120">
                 <template slot-scope="scope">
-                  <el-input v-model="scope.row.salePrice" clearable oninput="value=value.replace(/[^\d.]/g,'')">
+                  <el-input
+                    v-model="scope.row.salePrice"
+                    clearable
+                    oninput="value=value.replace(/[^\d.]/g,'')"
+                  >
                     <span slot="suffix"> 元/{{ scope.row.spuUnit }}</span>
                   </el-input>
                 </template>
@@ -332,6 +344,11 @@
             }}
           </template>
         </el-table-column>
+        <el-table-column label="创建时间" align="center">
+          <template slot-scope="scope">
+            {{ scope.row.skuCreateTime }}
+          </template>
+        </el-table-column>
       </el-table>
       <pagination
         v-show="total > 0"
@@ -481,7 +498,7 @@ export default {
         .catch(() => {
           this.$message({
             type: "info",
-            message: "已取消删除",
+            message: "已取消",
           });
         });
     },

+ 1 - 1
src/views/storage/edit.vue

@@ -512,7 +512,7 @@ export default {
         .catch(() => {
           this.$message({
             type: "info",
-            message: "已取消删除",
+            message: "已取消",
           });
         });
     },