Merge remote-tracking branch 'origin/master'
| | |
| | | @Excel(name = "CVT报工") |
| | | private String report30; |
| | | |
| | | private String[] dateConditions; |
| | | |
| | | private String startTime; |
| | | |
| | | private String endTime; |
| | | |
| | | public String[] getDateConditions() { |
| | | return dateConditions; |
| | | } |
| | | |
| | | public void setDateConditions(String[] dateConditions) { |
| | | this.dateConditions = dateConditions; |
| | | } |
| | | |
| | | public String getStartTime() { |
| | | return startTime; |
| | | } |
| | | |
| | | public void setStartTime(String startTime) { |
| | | this.startTime = startTime; |
| | | } |
| | | |
| | | public String getEndTime() { |
| | | return endTime; |
| | | } |
| | | |
| | | public void setEndTime(String endTime) { |
| | | this.endTime = endTime; |
| | | } |
| | | |
| | | public String getReport30() { |
| | | return report30; |
| | | } |
| | |
| | | @Override |
| | | public List<BsOrderScheduling> selectBsOrderSchedulingList(BsOrderScheduling bsOrderScheduling) |
| | | { |
| | | |
| | | // if(bsOrderScheduling.getOperateTime()!=null){ |
| | | // ObjectMapper objectMapper = new ObjectMapper(); |
| | | // try { |
| | | // String[] dateArray = objectMapper.readValue(bsOrderScheduling.getOperateTime(), String[].class); |
| | | // }catch (Exception e){ |
| | | // |
| | | // } |
| | | // |
| | | // } |
| | | if(bsOrderScheduling.getDateConditions()!=null){ |
| | | String[] conditions = bsOrderScheduling.getDateConditions(); |
| | | bsOrderScheduling.setStartTime(conditions[0]); |
| | | bsOrderScheduling.setEndTime(conditions[1]); |
| | | } |
| | | return bsOrderSchedulingMapper.selectBsOrderSchedulingList(bsOrderScheduling); |
| | | } |
| | | |
| | |
| | | <if test="updateUser != null and updateUser != ''"> and update_user = #{updateUser}</if> |
| | | <if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if> |
| | | <if test="report30 != null and report30 != ''"> and report_30 = #{report30}</if> |
| | | <if test="dateConditions != null and dateConditions != ''"> and operate_time BETWEEN #{startTime} AND #{endTime}</if> |
| | | |
| | | |
| | | </where> |
| | | </select> |
| | |
| | | </el-form-item> |
| | | <el-form-item label="操作时间" prop="operateTime"> |
| | | <el-date-picker |
| | | v-model="queryParams.operateTime" |
| | | v-model="queryParams.dateConditions" |
| | | type="datetimerange" |
| | | :picker-options="pickerOptions" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | |
| | | combinedBoxTime: null, |
| | | finalAssemblyTime: null, |
| | | operator: null, |
| | | operateTime: '', |
| | | operateTime: null, |
| | | status: null, |
| | | spareField1: null, |
| | | spareField2: null, |
| | |
| | | spareField4: null, |
| | | createUser: null, |
| | | updateUser: null, |
| | | remarks: null |
| | | remarks: null, |
| | | dateConditions: [], |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | /** 查询订单排产列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | console.log(this.queryParams) |
| | | listOrderScheduling(this.queryParams).then(response => { |
| | | this.orderSchedulingList = response.rows; |
| | | this.total = response.total; |
| | |
| | | this.saveBoxCode() |
| | | }else { |
| | | let maxNumValue = response.rows[0].maxnumValue; |
| | | if(startCode<maxNumValue){ |
| | | if(startCode<=maxNumValue){ |
| | | this.$message.error('箱体条码重复,请重新输入起始编号!'); |
| | | }else { |
| | | this.saveBoxCode() |