luobang 2 年之前
父節點
當前提交
234212823b
共有 2 個文件被更改,包括 31 次插入5 次删除
  1. 1 1
      build/utils.js
  2. 30 4
      src/views/inward/components/inwardBillet/addInwardBillet.vue

+ 1 - 1
build/utils.js

@@ -15,7 +15,7 @@ const devPathSrc = path.resolve(__dirname, '../../../src') // node_modules应用
 // ['index','appoint','configManager','homepage',''inward,'queue','RMS','sale','serviceManager','SporadicManage'
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
-// let devModules = ['index', 'statisticalReport']
+// let devModules = ['index', 'statisticalReport', 'inward']
 let devModules = ['all']
 //let devModules=['index']
 if (pathSrc.indexOf('node_modules') > -1) {

+ 30 - 4
src/views/inward/components/inwardBillet/addInwardBillet.vue

@@ -237,6 +237,21 @@
             </el-option>
           </el-select>
         </el-form-item>
+        <el-form-item label="卸货点">
+          <el-select
+            class="inline-select"
+            v-model="queryPoint"
+            style="width:150px"
+          >
+            <el-option
+              v-for="item in optionWarehouse"
+              :key="item.value"
+              :label="item.value"
+              :value="item.value"
+            >
+            </el-option>
+          </el-select>
+        </el-form-item>
         <el-form-item label="炉号" style="margin-left:10px">
           <el-input
             v-model="queryHeatNo"
@@ -278,6 +293,7 @@ export default {
   components: { PageTitle },
   data() {
     return {
+      queryPoint: null,
       queryHeatNo: null,
       startTime: null,
       endTime: null,
@@ -308,6 +324,14 @@ export default {
           value: '夜'
         }
       ],
+      optionWarehouse: [
+        {
+          value: '轧钢厂-一棒车间'
+        },
+        {
+          value: '轧钢厂-高线车间'
+        }
+      ],
       options: [
         {
           value: '甲'
@@ -437,14 +461,16 @@ export default {
         endTime = sjTime(this.endTime)
       }
       if (this.clazz) {
-        obj.clazz = this.clazz
+        obj.clazz = `%${this.clazz}%`
       }
       if (this.shift) {
-        obj.shift = this.shift
+        obj.shift = `%${this.shift}%`
       }
       if (this.queryHeatNo) {
-        console.log(this.queryHeatNo)
-        obj.queryHeatNo = this.queryHeatNo
+        obj.queryHeatNo = `%${this.queryHeatNo}%`
+      }
+      if (this.queryPoint) {
+        obj.queryPoint = `%${this.queryPoint}%`
       }
       this.first.requestQuery = obj
       this.first.requestUrl =