移位盘点
							parent
							
								
									9ede258bea
								
							
						
					
					
						commit
						7fa8853c24
					
				| 
						 | 
					@ -45,6 +45,19 @@
 | 
				
			||||||
          :show-file-list="true">
 | 
					          :show-file-list="true">
 | 
				
			||||||
          <el-button size="mini" type="success"   v-permission="permission.import" icon="el-icon-upload">导入</el-button>
 | 
					          <el-button size="mini" type="success"   v-permission="permission.import" icon="el-icon-upload">导入</el-button>
 | 
				
			||||||
        </el-upload>
 | 
					        </el-upload>
 | 
				
			||||||
 | 
					        <el-upload
 | 
				
			||||||
 | 
					          class="upload-demo"
 | 
				
			||||||
 | 
					          ref="upload"
 | 
				
			||||||
 | 
					          slot='right'
 | 
				
			||||||
 | 
					          style="float: right;padding-left: 5px"
 | 
				
			||||||
 | 
					          :action="baseApi+'/api/importData/importPointUpdate'"
 | 
				
			||||||
 | 
					          :file-list="fileList"
 | 
				
			||||||
 | 
					          :on-success=handleSuccess
 | 
				
			||||||
 | 
					          :on-error="handleError"
 | 
				
			||||||
 | 
					          :headers="headers"
 | 
				
			||||||
 | 
					          :show-file-list="true">
 | 
				
			||||||
 | 
					          <el-button size="mini" type="success"   v-permission="permission.import" icon="el-icon-upload">更新导入</el-button>
 | 
				
			||||||
 | 
					        </el-upload>
 | 
				
			||||||
        <el-button
 | 
					        <el-button
 | 
				
			||||||
          slot="right"
 | 
					          slot="right"
 | 
				
			||||||
          class="filter-item"
 | 
					          class="filter-item"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -43,16 +43,8 @@
 | 
				
			||||||
      <el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="500px">
 | 
					      <el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="500px">
 | 
				
			||||||
        <el-form ref="form" :model="form" :rules="rules" size="small" label-width="80px">
 | 
					        <el-form ref="form" :model="form" :rules="rules" size="small" label-width="80px">
 | 
				
			||||||
          <el-form-item label="出库库区" prop="srcArea">
 | 
					          <el-form-item label="出库库区" prop="srcArea">
 | 
				
			||||||
            <!--            <el-input v-model="form.area" style="width: 370px;"/>-->
 | 
					          <AreaSelect v-model="form.srcArea" prop="srcArea" value-key="id" style="width: 250px"   class="filter-item"   clearable filterable :bexb="null">
 | 
				
			||||||
            <el-select v-model="form.srcArea" prop="srcArea" value-key="id" style="width: 250px" clearable filterable>
 | 
					          </AreaSelect>
 | 
				
			||||||
              <el-option
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                v-for="item in areaOptions"
 | 
					 | 
				
			||||||
                :key="item.id"
 | 
					 | 
				
			||||||
                :label="item.code"
 | 
					 | 
				
			||||||
                :value="item"
 | 
					 | 
				
			||||||
              />
 | 
					 | 
				
			||||||
            </el-select>
 | 
					 | 
				
			||||||
          </el-form-item>
 | 
					          </el-form-item>
 | 
				
			||||||
          <el-form-item label="目标库区" prop="dstArea">
 | 
					          <el-form-item label="目标库区" prop="dstArea">
 | 
				
			||||||
            <!--            <el-input v-model="form.area" style="width: 370px;"/>-->
 | 
					            <!--            <el-input v-model="form.area" style="width: 370px;"/>-->
 | 
				
			||||||
| 
						 | 
					@ -155,11 +147,12 @@ import pagination from '@crud/Pagination.vue'
 | 
				
			||||||
import {queryAreaList} from "@/api/area";
 | 
					import {queryAreaList} from "@/api/area";
 | 
				
			||||||
import {queryPointList} from "@/api/point";
 | 
					import {queryPointList} from "@/api/point";
 | 
				
			||||||
import {generatePrepFlag} from "@/api/pickInstruction";
 | 
					import {generatePrepFlag} from "@/api/pickInstruction";
 | 
				
			||||||
 | 
					import AreaSelect from "@/views/generic-component/AreaSelect.vue";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const defaultForm = { id: null, code: null, name: null, srcArea: null, dstArea: null, dstPoint: null,  type: null,  remark: null, sourceName: null, sourceId: null,}
 | 
					const defaultForm = { id: null, code: null, name: null, srcArea: null, dstArea: null, dstPoint: null,  type: null,  remark: null, sourceName: null, sourceId: null,}
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: 'CountMove',
 | 
					  name: 'CountMove',
 | 
				
			||||||
  components: { pagination, crudOperation, rrOperation, udOperation },
 | 
					  components: {AreaSelect, pagination, crudOperation, rrOperation, udOperation },
 | 
				
			||||||
  mixins: [presenter(), header(), form(defaultForm), crud()],
 | 
					  mixins: [presenter(), header(), form(defaultForm), crud()],
 | 
				
			||||||
  dicts: ['count_status', 'count_type'],
 | 
					  dicts: ['count_status', 'count_type'],
 | 
				
			||||||
  cruds() {
 | 
					  cruds() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -61,6 +61,8 @@
 | 
				
			||||||
        <el-table-column :show-overflow-tooltip="true" prop="srcPoint.code" label="原库位"/>
 | 
					        <el-table-column :show-overflow-tooltip="true" prop="srcPoint.code" label="原库位"/>
 | 
				
			||||||
        <el-table-column :show-overflow-tooltip="true" prop="dstPoint.code" label="目标库位"/>
 | 
					        <el-table-column :show-overflow-tooltip="true" prop="dstPoint.code" label="目标库位"/>
 | 
				
			||||||
        <el-table-column :show-overflow-tooltip="true" prop="itemKey.propC1" label="批次号"/>
 | 
					        <el-table-column :show-overflow-tooltip="true" prop="itemKey.propC1" label="批次号"/>
 | 
				
			||||||
 | 
					        <el-table-column :show-overflow-tooltip="true" prop="itemKey.propC2" label="税别"/>
 | 
				
			||||||
 | 
					        <el-table-column :show-overflow-tooltip="true" prop="srcStockCode" label="箱单号"/>
 | 
				
			||||||
      </el-table>
 | 
					      </el-table>
 | 
				
			||||||
      <!--分页组件-->
 | 
					      <!--分页组件-->
 | 
				
			||||||
      <pagination/>
 | 
					      <pagination/>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -128,9 +128,6 @@
 | 
				
			||||||
        <el-table-column label="操作" width="150px" align="center">
 | 
					        <el-table-column label="操作" width="150px" align="center">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <template slot-scope="scope">
 | 
					          <template slot-scope="scope">
 | 
				
			||||||
            <el-button size="mini" :disabled="scope.row.status!='OPEN'" type="primary" icon="el-icon-edit"
 | 
					 | 
				
			||||||
                       @click="editPick(scope.row)"
 | 
					 | 
				
			||||||
            />
 | 
					 | 
				
			||||||
            <template>
 | 
					            <template>
 | 
				
			||||||
              <el-popconfirm
 | 
					              <el-popconfirm
 | 
				
			||||||
                title="确定删除吗?"
 | 
					                title="确定删除吗?"
 | 
				
			||||||
| 
						 | 
					@ -231,7 +228,7 @@ export default {
 | 
				
			||||||
  cruds() {
 | 
					  cruds() {
 | 
				
			||||||
    return CRUD({
 | 
					    return CRUD({
 | 
				
			||||||
      title: '制造叫料明细',
 | 
					      title: '制造叫料明细',
 | 
				
			||||||
      url: 'api/pickDetail/queryPickDetailZsc',
 | 
					      url: 'api/pickDetail/queryPickDetailZzjl',
 | 
				
			||||||
      idField: 'id',
 | 
					      idField: 'id',
 | 
				
			||||||
      sort: 'id,desc',
 | 
					      sort: 'id,desc',
 | 
				
			||||||
      crudMethod: { ...crudPickDetail },
 | 
					      crudMethod: { ...crudPickDetail },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue