二级明细状态展示
This commit is contained in:
		
							parent
							
								
									f12ac8ad1f
								
							
						
					
					
						commit
						dc61d5d7a3
					
				| 
						 | 
					@ -86,6 +86,11 @@
 | 
				
			||||||
            <div style="color: rgb(2, 167, 240);cursor: pointer;" @click="openFileDialog(scope.row)">报告管理</div>
 | 
					            <div style="color: rgb(2, 167, 240);cursor: pointer;" @click="openFileDialog(scope.row)">报告管理</div>
 | 
				
			||||||
          </template>
 | 
					          </template>
 | 
				
			||||||
        </el-table-column>
 | 
					        </el-table-column>
 | 
				
			||||||
 | 
					        <el-table-column label="状态" align="center" prop="status" :show-overflow-tooltip="true">
 | 
				
			||||||
 | 
					            <template slot-scope="scope">
 | 
				
			||||||
 | 
					                <dict-tag :options="dict.type.purchase_task_status" :value="scope.row.status"/>
 | 
				
			||||||
 | 
					            </template>
 | 
				
			||||||
 | 
					        </el-table-column>
 | 
				
			||||||
        <el-table-column label="验收结论" align="center" prop="checkResult" :show-overflow-tooltip="true"/>
 | 
					        <el-table-column label="验收结论" align="center" prop="checkResult" :show-overflow-tooltip="true"/>
 | 
				
			||||||
        <el-table-column label="操作" align="center" width="180">
 | 
					        <el-table-column label="操作" align="center" width="180">
 | 
				
			||||||
            <template slot-scope="scope">
 | 
					            <template slot-scope="scope">
 | 
				
			||||||
| 
						 | 
					@ -127,14 +132,14 @@
 | 
				
			||||||
            <el-table-column label="操作" align="center" width="100">
 | 
					            <el-table-column label="操作" align="center" width="100">
 | 
				
			||||||
            <template slot-scope="scope">
 | 
					            <template slot-scope="scope">
 | 
				
			||||||
              <div style="display: flex;align-items: center;justify-content: center;">
 | 
					              <div style="display: flex;align-items: center;justify-content: center;">
 | 
				
			||||||
                <el-upload ref="upload" :limit="1" :headers="upload.headers" v-show="!isView"
 | 
					                <!-- <el-upload ref="upload" :limit="1" :headers="upload.headers" v-show="!isView"
 | 
				
			||||||
                  :action="upload.url" :show-file-list="false" accept=".png, .jpg, .jpeg, .pdf, .doc, .docx"
 | 
					                  :action="upload.url" :show-file-list="false" accept=".png, .jpg, .jpeg, .pdf, .doc, .docx"
 | 
				
			||||||
                  :on-success="handleFileSuccess"   :auto-upload="true"
 | 
					                  :on-success="handleFileSuccess"   :auto-upload="true"
 | 
				
			||||||
                >
 | 
					                >
 | 
				
			||||||
                  <el-button size="mini" type="text" @click="beforeFileUpload(scope.row)">
 | 
					                  <el-button size="mini" type="text" @click="beforeFileUpload(scope.row)">
 | 
				
			||||||
                        上传
 | 
					                        上传
 | 
				
			||||||
                  </el-button>
 | 
					                  </el-button>
 | 
				
			||||||
                </el-upload>
 | 
					                </el-upload> -->
 | 
				
			||||||
                
 | 
					                
 | 
				
			||||||
                <el-button size="mini" type="text" @click="picturePreview(scope.row)" v-if="scope.row.url" style="margin-left: 10px;">
 | 
					                <el-button size="mini" type="text" @click="picturePreview(scope.row)" v-if="scope.row.url" style="margin-left: 10px;">
 | 
				
			||||||
                    查看
 | 
					                    查看
 | 
				
			||||||
| 
						 | 
					@ -175,6 +180,7 @@
 | 
				
			||||||
  import { getToken } from '@/utils/auth'
 | 
					  import { getToken } from '@/utils/auth'
 | 
				
			||||||
  export default {
 | 
					  export default {
 | 
				
			||||||
    name: "GoodsAcceptDetail",
 | 
					    name: "GoodsAcceptDetail",
 | 
				
			||||||
 | 
					    dicts: ['purchase_task_status'],
 | 
				
			||||||
    data() {
 | 
					    data() {
 | 
				
			||||||
      return {
 | 
					      return {
 | 
				
			||||||
        Id:'',
 | 
					        Id:'',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -212,7 +212,18 @@
 | 
				
			||||||
                <div style="color: rgb(2, 167, 240);cursor: pointer;" @click="openFileDialog(scope.row)">报告管理</div>
 | 
					                <div style="color: rgb(2, 167, 240);cursor: pointer;" @click="openFileDialog(scope.row)">报告管理</div>
 | 
				
			||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
            </el-table-column>
 | 
					            </el-table-column>
 | 
				
			||||||
 | 
					            <el-table-column label="状态" align="center" prop="status" :show-overflow-tooltip="true">
 | 
				
			||||||
 | 
					                <template slot-scope="scope">
 | 
				
			||||||
 | 
					                    <dict-tag :options="dict.type.purchase_task_status" :value="scope.row.status"/>
 | 
				
			||||||
 | 
					                </template>
 | 
				
			||||||
 | 
					            </el-table-column>
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
 | 
					            <!-- <el-table-column
 | 
				
			||||||
 | 
					                align="center"
 | 
				
			||||||
 | 
					                label="验收结论"
 | 
				
			||||||
 | 
					                prop="checkResult"
 | 
				
			||||||
 | 
					                show-overflow-tooltip
 | 
				
			||||||
 | 
					            ></el-table-column> -->
 | 
				
			||||||
            <el-table-column label="操作" align="center">
 | 
					            <el-table-column label="操作" align="center">
 | 
				
			||||||
                <template slot-scope="scope" v-if="scope.row.roleId !== 1">
 | 
					                <template slot-scope="scope" v-if="scope.row.roleId !== 1">
 | 
				
			||||||
                    <el-button
 | 
					                    <el-button
 | 
				
			||||||
| 
						 | 
					@ -296,7 +307,7 @@ import { uploadPurchaseFile,getPurchaseFileList } from "@/api/purchase/goodsAcce
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
    name: 'AddTools',
 | 
					    name: 'AddTools',
 | 
				
			||||||
    dicts: ['sys_normal_disable'],
 | 
					    dicts: ['purchase_task_status'],
 | 
				
			||||||
    // components: { Treeselect, HoldingpoleDialog },
 | 
					    // components: { Treeselect, HoldingpoleDialog },
 | 
				
			||||||
    props: {
 | 
					    props: {
 | 
				
			||||||
        isEdit: {
 | 
					        isEdit: {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -70,6 +70,11 @@
 | 
				
			||||||
                <div style="color: rgb(2, 167, 240);cursor: pointer;" @click="openFileDialog(scope.row)">报告管理</div>
 | 
					                <div style="color: rgb(2, 167, 240);cursor: pointer;" @click="openFileDialog(scope.row)">报告管理</div>
 | 
				
			||||||
            </template>
 | 
					            </template>
 | 
				
			||||||
            </el-table-column>
 | 
					            </el-table-column>
 | 
				
			||||||
 | 
					            <el-table-column label="状态" align="center" prop="status" :show-overflow-tooltip="true">
 | 
				
			||||||
 | 
					                <template slot-scope="scope">
 | 
				
			||||||
 | 
					                    <dict-tag :options="dict.type.purchase_task_status" :value="scope.row.status"/>
 | 
				
			||||||
 | 
					                </template>
 | 
				
			||||||
 | 
					            </el-table-column>
 | 
				
			||||||
        </el-table>
 | 
					        </el-table>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -129,7 +134,7 @@ import { uploadPurchaseFile,getPurchaseFileList } from "@/api/purchase/goodsAcce
 | 
				
			||||||
import { getToken } from '@/utils/auth'
 | 
					import { getToken } from '@/utils/auth'
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
    name: 'QueryTools',
 | 
					    name: 'QueryTools',
 | 
				
			||||||
    dicts: ['sys_normal_disable'],
 | 
					    dicts: ['purchase_task_status'],
 | 
				
			||||||
    components: {
 | 
					    components: {
 | 
				
			||||||
        // UploadImg,
 | 
					        // UploadImg,
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue