| | |
| | | private String smodelMobile; |
| | | |
| | | @ApiModelProperty(value = "工装容器编号") |
| | | @ExcelColumn(name="工装容器编号",index = 4,width =15) |
| | | // @ExcelColumn(name="工装容器编号",index = 4,width =15) |
| | | private String amodelcode; |
| | | |
| | | |
| | |
| | | a.DELETED = 0 AND a.ROOT_DEPART_ID = #{rootDepartId} AND a.DEPART_ID = #{departId} AND a.`STATUS` = 1 |
| | | </select> |
| | | <select id="selectStatisticsList" parameterType="doumeemes.dao.ext.dto.QueryWorkPlansDTO" resultType="doumeemes.dao.business.dto.statistics.WorkPlansPageModel"> |
| | | select a.status,a.id,a.NUM,m.id as materialId,m.name as categoryName,m.code as materialCode |
| | | select a.status,a.plan_code as code,a.num,a.id,a.NUM,m.id as materialId,m.name as materialName,m.code as materialCode |
| | | <!-- ,(select sum(b.num) from workorder_record b left join plans c on b.PLAN_ID=c.id where b.type=1 and b.DELETED=0 and c.WORK_PLANS_ID=a.id) as doneNum |
| | | ,(select sum(b.QUALIFIED_NUM) from workorder_record b left join plans c on b.PLAN_ID=c.id where b.type=1 and b.DELETED=0 and c.WORK_PLANS_ID=a.id) as qualifiedNum |
| | | -->,(select b.route_id from bom b where b.MATERIAL_ID=c.id and b.ROOT_DEPART_ID=a.ROOT_DEPART_ID) as routeId |
| | |
| | | addMaterial () { |
| | | // console.log('增加物料') |
| | | // const ids = this.form.woutboundInBodyBeanList.map(e => { return e.materialId }).join(',') |
| | | this.$refs.selectMaterail.open('选择物料', { ids: '', multiple: true, isPurchase:true }) |
| | | this.$refs.selectMaterail.open('选择物料', { ids: '', multiple: true, isPurchase:false,queryType:1 }) |
| | | }, |
| | | deleteMaterail (row) { |
| | | // console.log('删除物料') |
| | |
| | | form: { |
| | | ids: '', |
| | | multiple: false, |
| | | isPurchase: false |
| | | isPurchase: false, |
| | | queryType: null |
| | | }, |
| | | isSearch: false, |
| | | materialTypes: [], |
| | |
| | | cmodel2Id: this.selectedTree.meddileId, |
| | | cmodel3Id: this.selectedTree.smallId, |
| | | formation: this.form.isPurchase ? '1' : '', |
| | | queryType: this.form.queryType, |
| | | status: '1' |
| | | }, |
| | | sorts: null |
| | |
| | | <span>{{ timesToStr(row.duration) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="salaryType" label="计价方式" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | {{ row.salaryType == 0 ? '计件' : (row.salaryType == 1 ? '计时' : '-') }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="salary" label="计价工资(元)" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span>{{accDiv(Math.round(row.salary),1) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="deviceCode" label="设备" show-overflow-tooltip min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span class="long-title-style" :title="row.deviceCode + ' | ' + row.deviceName">{{ row.deviceCode + ' | ' + row.deviceName}}</span> |