da
jiangping
2023-08-22 41caeb2fcfa50ba120d4c8c89ff7386256abd885
da
已修改5个文件
20 ■■■■ 文件已修改
server/src/main/java/doumeemes/dao/ext/vo/WorkorderCheckExtListVO.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/src/main/resources/mappers/WorkPlansExtMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_standard/src/components/ext/OperaWInboundExtWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_standard/src/components/ext/SelectMaterail.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_standard/src/views/ext/workorderRecordExt.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/src/main/java/doumeemes/dao/ext/vo/WorkorderCheckExtListVO.java
@@ -41,7 +41,7 @@
    private String smodelMobile;
    @ApiModelProperty(value = "工装容器编号")
    @ExcelColumn(name="工装容器编号",index = 4,width =15)
//    @ExcelColumn(name="工装容器编号",index = 4,width =15)
    private String amodelcode;
server/src/main/resources/mappers/WorkPlansExtMapper.xml
@@ -182,7 +182,7 @@
        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
web_standard/src/components/ext/OperaWInboundExtWindow.vue
@@ -383,7 +383,7 @@
    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('删除物料')
web_standard/src/components/ext/SelectMaterail.vue
@@ -102,7 +102,8 @@
      form: {
        ids: '',
        multiple: false,
        isPurchase: false
        isPurchase: false,
        queryType: null
      },
      isSearch: false,
      materialTypes: [],
@@ -277,6 +278,7 @@
          cmodel2Id: this.selectedTree.meddileId,
          cmodel3Id: this.selectedTree.smallId,
          formation: this.form.isPurchase ? '1' : '',
          queryType: this.form.queryType,
          status: '1'
        },
        sorts: null
web_standard/src/views/ext/workorderRecordExt.vue
@@ -146,6 +146,16 @@
            <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>