tong 4 роки тому
батько
коміт
62946c6c15
1 змінених файлів з 15 додано та 1 видалено
  1. 15 1
      src/views/warehouseBusiness/inStock/index.vue

+ 15 - 1
src/views/warehouseBusiness/inStock/index.vue

@@ -612,6 +612,15 @@
               </el-date-picker>
             </el-form-item>
           </el-col>
+          <el-col :span="8">
+            <el-form-item label="唛头" prop="fbarks">
+              <el-input
+                v-model="form.fMarks"
+                style="width: 250px"
+                placeholder="唛头"
+              />
+            </el-form-item>
+          </el-col>
         </el-row>
       </el-form>
       <div class="dialogTableTitle flex a-center jlr">
@@ -2619,7 +2628,12 @@ export default {
       if (name == null || name === "") {
         return false;
       }
-      let queryParams = { pageNum: 1, pageSize: 10, fName: name };
+      if (!this.form.fWarehouseid) {
+        this.$message.error('请输入仓库!')
+        return false
+      }
+     
+      let queryParams = { pageNum: 1, pageSize: 10,  fWarehouseid:this.form.fWarehouseid , fName: name };
       listArea(queryParams).then((response) => {
         console.log(response);
         this.kqhouseOptions = response.rows;