|  | @@ -111,8 +111,7 @@
 | 
	
		
			
				|  |  |          type="primary"
 | 
	
		
			
				|  |  |          icon="el-icon-search"
 | 
	
		
			
				|  |  |          @click="form_search"
 | 
	
		
			
				|  |  | -        >搜索</el-button
 | 
	
		
			
				|  |  | -      >
 | 
	
		
			
				|  |  | +      >搜索</el-button>
 | 
	
		
			
				|  |  |        <div>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="isSubscribeAdd"
 | 
	
	
		
			
				|  | @@ -120,24 +119,21 @@
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            icon="el-icon-edit"
 | 
	
		
			
				|  |  |            @click="apply_subscribe"
 | 
	
		
			
				|  |  | -          >新增</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >新增</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="isSubscribeSpecial"
 | 
	
		
			
				|  |  |            class="filter-item"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            icon="el-icon-edit"
 | 
	
		
			
				|  |  |            @click="handle_specialSubscription"
 | 
	
		
			
				|  |  | -          >特殊申购</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >特殊申购</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="isSubscribeMilk"
 | 
	
		
			
				|  |  |            class="filter-item"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            icon="el-icon-edit"
 | 
	
		
			
				|  |  |            @click="handle_milkSubscription"
 | 
	
		
			
				|  |  | -          >奶厅申购</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >奶厅申购</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="isSubscribeExport"
 | 
	
		
			
				|  |  |            v-waves
 | 
	
	
		
			
				|  | @@ -145,8 +141,7 @@
 | 
	
		
			
				|  |  |            type="success"
 | 
	
		
			
				|  |  |            icon="el-icon-upload2"
 | 
	
		
			
				|  |  |            @click="handleDownload"
 | 
	
		
			
				|  |  | -          >导出</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >导出</el-button>
 | 
	
		
			
				|  |  |          <el-radio-group
 | 
	
		
			
				|  |  |            v-model="radioAll"
 | 
	
		
			
				|  |  |            style="margin-top: -9px"
 | 
	
	
		
			
				|  | @@ -225,68 +220,62 @@
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="form_see(row)"
 | 
	
		
			
				|  |  | -            >查看</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >查看</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                row.statue == 4 ||
 | 
	
		
			
				|  |  | -              row.statue == 6 ||
 | 
	
		
			
				|  |  | -              row.statue == 8 ||
 | 
	
		
			
				|  |  | -              row.statue == 10 ||
 | 
	
		
			
				|  |  | -              row.statue == 12 ||
 | 
	
		
			
				|  |  | -              row.statue == 14
 | 
	
		
			
				|  |  | +                row.statue == 6 ||
 | 
	
		
			
				|  |  | +                row.statue == 8 ||
 | 
	
		
			
				|  |  | +                row.statue == 10 ||
 | 
	
		
			
				|  |  | +                row.statue == 12 ||
 | 
	
		
			
				|  |  | +                row.statue == 14
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              style="display: inline-block"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="form_edit(row)"
 | 
	
		
			
				|  |  | -            >编辑</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >编辑</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-else
 | 
	
		
			
				|  |  |              style="display: none"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="form_edit(row)"
 | 
	
		
			
				|  |  | -            >编辑</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >编辑</el-button>
 | 
	
		
			
				|  |  |            <!-- 库管 -->
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                isSubscribeExamineKG &&
 | 
	
		
			
				|  |  | -              row.statue == 2 &&
 | 
	
		
			
				|  |  | -              row.departmentName == '挤奶处'
 | 
	
		
			
				|  |  | +                row.statue == 2 &&
 | 
	
		
			
				|  |  | +                row.departmentName == '挤奶处'
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              style="display: inline-block"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="handleExamine1(row)"
 | 
	
		
			
				|  |  | -            >审核</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >审核</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                isSubscribeExamineKG &&
 | 
	
		
			
				|  |  | -              row.statue == 2 &&
 | 
	
		
			
				|  |  | -              row.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  | +                row.statue == 2 &&
 | 
	
		
			
				|  |  | +                row.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              style="display: inline-block"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="form_edit1(row)"
 | 
	
		
			
				|  |  | -            >合单</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >合单</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                isSubscribeExamineKG &&
 | 
	
		
			
				|  |  | -              row.statue == 2 &&
 | 
	
		
			
				|  |  | -              row.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  | +                row.statue == 2 &&
 | 
	
		
			
				|  |  | +                row.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              style="display: inline-block"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="form_modify1(row)"
 | 
	
		
			
				|  |  | -            >提交</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >提交</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <!-- 设备 -->
 | 
	
		
			
				|  |  |            <el-button
 | 
	
	
		
			
				|  | @@ -295,8 +284,7 @@
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="handleExamine2(row)"
 | 
	
		
			
				|  |  | -            >审核</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <!-- 供应商主管 -->
 | 
	
		
			
				|  |  |            <el-button
 | 
	
	
		
			
				|  | @@ -305,50 +293,42 @@
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="handleExamine3(row)"
 | 
	
		
			
				|  |  | -            >审核</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <!-- 场长 -->
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                sdchangzhangshenhe &&
 | 
	
		
			
				|  |  | -              row.statue == 5 &&
 | 
	
		
			
				|  |  | -              row.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -              row.examine == 1
 | 
	
		
			
				|  |  | +                row.statue == 5 &&
 | 
	
		
			
				|  |  | +                row.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | +                row.examine == 1
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              style="display: inline-block"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="handleExamine4(row)"
 | 
	
		
			
				|  |  | -            >审核</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >审核</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-else-if="
 | 
	
		
			
				|  |  |                sdchangzhangshenhe &&
 | 
	
		
			
				|  |  | -              row.statue == 5 &&
 | 
	
		
			
				|  |  | -              row.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  | +                row.statue == 5 &&
 | 
	
		
			
				|  |  | +                row.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              style="display: inline-block"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="handleExamine4(row)"
 | 
	
		
			
				|  |  | -            >审核</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <!-- 采购 -->
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  | -              (isSubscribeExamineCG &&
 | 
	
		
			
				|  |  | -                row.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -                row.statue == 15) ||
 | 
	
		
			
				|  |  | -              (row.departmentName !== '挤奶处' && row.statue == 11)
 | 
	
		
			
				|  |  | -            "
 | 
	
		
			
				|  |  | +              isSubscribeExamineCG && (row.statue == 11 && row.departmentName != '挤奶处') || (row.departmentName == '挤奶处' && row.statue == 15) "
 | 
	
		
			
				|  |  |              style="display: inline-block"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="handleExamine5(row)"
 | 
	
		
			
				|  |  | -            >审核</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <!-- 财务 -->
 | 
	
		
			
				|  |  |            <el-button
 | 
	
	
		
			
				|  | @@ -359,26 +339,24 @@
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="handleExamine6(row)"
 | 
	
		
			
				|  |  | -            >审核</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >审核</el-button>
 | 
	
		
			
				|  |  |            <!-- 奶厅 -->
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                isSubscribeExamineNT &&
 | 
	
		
			
				|  |  | -              row.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -              ((row.examine !== 1 && row.statue == 5) || row.statue == 11)
 | 
	
		
			
				|  |  | +                row.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | +                ((row.examine !== 1 && row.statue == 5) || row.statue == 11)
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              style="display: inline-block"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="handleExamine7(row)"
 | 
	
		
			
				|  |  | -            >审核</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                isSubscribeDelete &&
 | 
	
		
			
				|  |  | -              (row.statue == 4 ||
 | 
	
		
			
				|  |  | +                (row.statue == 4 ||
 | 
	
		
			
				|  |  |                  row.statue == 6 ||
 | 
	
		
			
				|  |  |                  row.statue == 8 ||
 | 
	
		
			
				|  |  |                  row.statue == 10 ||
 | 
	
	
		
			
				|  | @@ -390,8 +368,7 @@
 | 
	
		
			
				|  |  |              type="danger"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="form_delete(row)"
 | 
	
		
			
				|  |  | -            >删除</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >删除</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-else
 | 
	
	
		
			
				|  | @@ -399,8 +376,7 @@
 | 
	
		
			
				|  |  |              type="danger"
 | 
	
		
			
				|  |  |              size="mini"
 | 
	
		
			
				|  |  |              @click="form_delete(row)"
 | 
	
		
			
				|  |  | -            >删除</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >删除</el-button>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |        </el-table-column>
 | 
	
		
			
				|  |  |      </el-table>
 | 
	
	
		
			
				|  | @@ -555,10 +531,7 @@
 | 
	
		
			
				|  |  |                      <div class="name" style="display: inline">
 | 
	
		
			
				|  |  |                        {{ item.partCode }}
 | 
	
		
			
				|  |  |                      </div>
 | 
	
		
			
				|  |  | -                      |  <b>备件名称:</b
 | 
	
		
			
				|  |  | -                    ><span class="addr">{{ item.partName }}</span
 | 
	
		
			
				|  |  | -                    >  |  <b>备件规格:</b
 | 
	
		
			
				|  |  | -                    ><span class="addr">{{ item.specification }}</span>
 | 
	
		
			
				|  |  | +                      |  <b>备件名称:</b><span class="addr">{{ item.partName }}</span>  |  <b>备件规格:</b><span class="addr">{{ item.specification }}</span>
 | 
	
		
			
				|  |  |                    </template>
 | 
	
		
			
				|  |  |                  </el-autocomplete>
 | 
	
		
			
				|  |  |                </el-form-item>
 | 
	
	
		
			
				|  | @@ -624,14 +597,14 @@
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <template slot-scope="scope">
 | 
	
		
			
				|  |  |                <el-popover placement="right" title="" trigger="hover">
 | 
	
		
			
				|  |  | -                <img v-if="scope.row.picpath !== ''" :src="scope.row.picpath" />
 | 
	
		
			
				|  |  | +                <img v-if="scope.row.picpath !== ''" :src="scope.row.picpath">
 | 
	
		
			
				|  |  |                  <img
 | 
	
		
			
				|  |  |                    v-if="scope.row.picpath !== ''"
 | 
	
		
			
				|  |  |                    slot="reference"
 | 
	
		
			
				|  |  |                    :src="scope.row.picpath"
 | 
	
		
			
				|  |  |                    :alt="scope.row.srcpath"
 | 
	
		
			
				|  |  |                    style="height: 100px; width: 100px"
 | 
	
		
			
				|  |  | -                />
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  |                </el-popover>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </el-table-column>
 | 
	
	
		
			
				|  | @@ -670,10 +643,9 @@
 | 
	
		
			
				|  |  |                <span
 | 
	
		
			
				|  |  |                  v-if="
 | 
	
		
			
				|  |  |                    createTemp.providerId == '' ||
 | 
	
		
			
				|  |  | -                  parseFloat(createTemp.purchaseType) > 0
 | 
	
		
			
				|  |  | +                    parseFloat(createTemp.purchaseType) > 0
 | 
	
		
			
				|  |  |                  "
 | 
	
		
			
				|  |  | -                >{{ scope.row.reportery }}</span
 | 
	
		
			
				|  |  | -              >
 | 
	
		
			
				|  |  | +              >{{ scope.row.reportery }}</span>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </el-table-column>
 | 
	
		
			
				|  |  |            <el-table-column
 | 
	
	
		
			
				|  | @@ -686,8 +658,8 @@
 | 
	
		
			
				|  |  |                <div
 | 
	
		
			
				|  |  |                  v-if="
 | 
	
		
			
				|  |  |                    scope.row.contractId == '' ||
 | 
	
		
			
				|  |  | -                  parseInt(scope.row.contractId) < 0 ||
 | 
	
		
			
				|  |  | -                  parseInt(scope.row.contractId) == 0
 | 
	
		
			
				|  |  | +                    parseInt(scope.row.contractId) < 0 ||
 | 
	
		
			
				|  |  | +                    parseInt(scope.row.contractId) == 0
 | 
	
		
			
				|  |  |                  "
 | 
	
		
			
				|  |  |                >
 | 
	
		
			
				|  |  |                  <el-form :model="scope.row" :rules="rules">
 | 
	
	
		
			
				|  | @@ -718,7 +690,7 @@
 | 
	
		
			
				|  |  |            <el-table-column
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                dialogStatus === 'create' ||
 | 
	
		
			
				|  |  | -              (createTemp.purchase_type !== 1 && createTemp.purchase_type !== 3)
 | 
	
		
			
				|  |  | +                (createTemp.purchase_type !== 1 && createTemp.purchase_type !== 3)
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              label="使用周期"
 | 
	
		
			
				|  |  |              min-width="120px"
 | 
	
	
		
			
				|  | @@ -744,7 +716,7 @@
 | 
	
		
			
				|  |  |            <el-table-column
 | 
	
		
			
				|  |  |              v-if="
 | 
	
		
			
				|  |  |                dialogStatus === 'create' ||
 | 
	
		
			
				|  |  | -              (createTemp.purchase_type !== 1 && createTemp.purchase_type !== 3)
 | 
	
		
			
				|  |  | +                (createTemp.purchase_type !== 1 && createTemp.purchase_type !== 3)
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  |              label="合同差异项"
 | 
	
		
			
				|  |  |              min-width="120px"
 | 
	
	
		
			
				|  | @@ -822,22 +794,19 @@
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              :disabled="isokDisable"
 | 
	
		
			
				|  |  |              @click="add_dialog_save()"
 | 
	
		
			
				|  |  | -            >保存并关闭</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >保存并关闭</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              v-else-if="dialogStatus === 'update'"
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              :disabled="isokDisable"
 | 
	
		
			
				|  |  |              @click="edit_dialog_save()"
 | 
	
		
			
				|  |  | -            >保存并关闭</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >保存并关闭</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              @click="
 | 
	
		
			
				|  |  |                dialogFormVisible = false
 | 
	
		
			
				|  |  |                get_table_data()
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  | -            >取消并关闭</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >取消并关闭</el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
	
		
			
				|  | @@ -941,7 +910,7 @@
 | 
	
		
			
				|  |  |                v-if="
 | 
	
		
			
				|  |  |                  (dialogStatus === 'special' &&
 | 
	
		
			
				|  |  |                    createTemp.purchaseType == '1') ||
 | 
	
		
			
				|  |  | -                createTemp.purchaseType == '3'
 | 
	
		
			
				|  |  | +                  createTemp.purchaseType == '3'
 | 
	
		
			
				|  |  |                "
 | 
	
		
			
				|  |  |                :span="8"
 | 
	
		
			
				|  |  |              >
 | 
	
	
		
			
				|  | @@ -1011,15 +980,13 @@
 | 
	
		
			
				|  |  |                    v-model="createTemp.purchaseType"
 | 
	
		
			
				|  |  |                    label="1"
 | 
	
		
			
				|  |  |                    @change="changeType()"
 | 
	
		
			
				|  |  | -                  >暂估</el-radio
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >暂估</el-radio>
 | 
	
		
			
				|  |  |                  <!-- <el-radio v-model="createTemp.purchaseType" label="2" @change="changeType()">垫付</el-radio> -->
 | 
	
		
			
				|  |  |                  <el-radio
 | 
	
		
			
				|  |  |                    v-model="createTemp.purchaseType"
 | 
	
		
			
				|  |  |                    label="3"
 | 
	
		
			
				|  |  |                    @change="changeType()"
 | 
	
		
			
				|  |  | -                  >赠品</el-radio
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >赠品</el-radio>
 | 
	
		
			
				|  |  |                </el-form-item>
 | 
	
		
			
				|  |  |              </el-col>
 | 
	
		
			
				|  |  |            </el-row>
 | 
	
	
		
			
				|  | @@ -1041,10 +1008,7 @@
 | 
	
		
			
				|  |  |                      <div class="name" style="display: inline">
 | 
	
		
			
				|  |  |                        {{ item.partCode }}
 | 
	
		
			
				|  |  |                      </div>
 | 
	
		
			
				|  |  | -                      |  <b>备件名称:</b
 | 
	
		
			
				|  |  | -                    ><span class="addr">{{ item.partName }}</span
 | 
	
		
			
				|  |  | -                    >  |  <b>备件规格:</b
 | 
	
		
			
				|  |  | -                    ><span class="addr">{{ item.specification }}</span>
 | 
	
		
			
				|  |  | +                      |  <b>备件名称:</b><span class="addr">{{ item.partName }}</span>  |  <b>备件规格:</b><span class="addr">{{ item.specification }}</span>
 | 
	
		
			
				|  |  |                    </template>
 | 
	
		
			
				|  |  |                  </el-autocomplete>
 | 
	
		
			
				|  |  |                </el-form-item>
 | 
	
	
		
			
				|  | @@ -1108,14 +1072,14 @@
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <template slot-scope="scope">
 | 
	
		
			
				|  |  |                <el-popover placement="right" title="" trigger="hover">
 | 
	
		
			
				|  |  | -                <img v-if="scope.row.picpath !== ''" :src="scope.row.picpath" />
 | 
	
		
			
				|  |  | +                <img v-if="scope.row.picpath !== ''" :src="scope.row.picpath">
 | 
	
		
			
				|  |  |                  <img
 | 
	
		
			
				|  |  |                    v-if="scope.row.picpath !== ''"
 | 
	
		
			
				|  |  |                    slot="reference"
 | 
	
		
			
				|  |  |                    :src="scope.row.picpath"
 | 
	
		
			
				|  |  |                    :alt="scope.row.srcpath"
 | 
	
		
			
				|  |  |                    style="height: 100px; width: 100px"
 | 
	
		
			
				|  |  | -                />
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  |                </el-popover>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </el-table-column>
 | 
	
	
		
			
				|  | @@ -1165,10 +1129,9 @@
 | 
	
		
			
				|  |  |                <span
 | 
	
		
			
				|  |  |                  v-if="
 | 
	
		
			
				|  |  |                    createTemp.providerId == '' ||
 | 
	
		
			
				|  |  | -                  parseFloat(createTemp.purchaseType) > 0
 | 
	
		
			
				|  |  | +                    parseFloat(createTemp.purchaseType) > 0
 | 
	
		
			
				|  |  |                  "
 | 
	
		
			
				|  |  | -                >{{ scope.row.reportery }}</span
 | 
	
		
			
				|  |  | -              >
 | 
	
		
			
				|  |  | +              >{{ scope.row.reportery }}</span>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </el-table-column>
 | 
	
		
			
				|  |  |            <!-- <el-table-column  v-if="createTemp.purchaseType == '1'" label="价格" prop="price" align="center" min-width="150">
 | 
	
	
		
			
				|  | @@ -1252,15 +1215,13 @@
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  |              :disabled="isokDisable"
 | 
	
		
			
				|  |  |              @click="special_dialog_save()"
 | 
	
		
			
				|  |  | -            >保存并关闭</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >保存并关闭</el-button>
 | 
	
		
			
				|  |  |            <el-button
 | 
	
		
			
				|  |  |              @click="
 | 
	
		
			
				|  |  |                dialogFormVisible2 = false
 | 
	
		
			
				|  |  |                get_table_data()
 | 
	
		
			
				|  |  |              "
 | 
	
		
			
				|  |  | -            >取消并关闭</el-button
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | +          >取消并关闭</el-button>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
	
		
			
				|  | @@ -1383,9 +1344,11 @@
 | 
	
		
			
				|  |  |                <el-form-item label="申购类型:" prop="purchaseType">
 | 
	
		
			
				|  |  |                  <!-- <el-radio v-model="seeTemp.purchaseType" disabled label="1">暂估</el-radio> -->
 | 
	
		
			
				|  |  |                  <!-- <el-radio v-model="seeTemp.purchaseType" disabled label="2">垫付</el-radio> -->
 | 
	
		
			
				|  |  | -                <el-radio v-model="seeTemp.purchaseType" disabled label="3"
 | 
	
		
			
				|  |  | -                  >赠品</el-radio
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                <el-radio
 | 
	
		
			
				|  |  | +                  v-model="seeTemp.purchaseType"
 | 
	
		
			
				|  |  | +                  disabled
 | 
	
		
			
				|  |  | +                  label="3"
 | 
	
		
			
				|  |  | +                >赠品</el-radio>
 | 
	
		
			
				|  |  |                </el-form-item>
 | 
	
		
			
				|  |  |              </el-col>
 | 
	
		
			
				|  |  |            </el-row>
 | 
	
	
		
			
				|  | @@ -1448,14 +1411,14 @@
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <template slot-scope="scope">
 | 
	
		
			
				|  |  |                <el-popover placement="right" title="" trigger="hover">
 | 
	
		
			
				|  |  | -                <img v-if="scope.row.picpath !== ''" :src="scope.row.picpath" />
 | 
	
		
			
				|  |  | +                <img v-if="scope.row.picpath !== ''" :src="scope.row.picpath">
 | 
	
		
			
				|  |  |                  <img
 | 
	
		
			
				|  |  |                    v-if="scope.row.picpath !== ''"
 | 
	
		
			
				|  |  |                    slot="reference"
 | 
	
		
			
				|  |  |                    :src="scope.row.picpath"
 | 
	
		
			
				|  |  |                    :alt="scope.row.srcpath"
 | 
	
		
			
				|  |  |                    style="height: 100px; width: 100px"
 | 
	
		
			
				|  |  | -                />
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  |                </el-popover>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </el-table-column>
 | 
	
	
		
			
				|  | @@ -1618,99 +1581,85 @@
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  |                      isSubscribeExamineKG &&
 | 
	
		
			
				|  |  | -                    seeTemp.statue == 2 &&
 | 
	
		
			
				|  |  | -                    seeTemp.departmentName == '挤奶处'
 | 
	
		
			
				|  |  | +                      seeTemp.statue == 2 &&
 | 
	
		
			
				|  |  | +                      seeTemp.departmentName == '挤奶处'
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine1(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <!-- 设备 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="isSubscribeExamineSBZG && seeTemp.statue == 3"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine2(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <!-- 供应商主管 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="isSubscribeExamineZG && seeTemp.statue == 9"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine3(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  <!-- 场长 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  |                      sdchangzhangshenhe &&
 | 
	
		
			
				|  |  | -                    seeTemp.statue == 5 &&
 | 
	
		
			
				|  |  | -                    seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -                    seeTemp.examine == 1
 | 
	
		
			
				|  |  | +                      seeTemp.statue == 5 &&
 | 
	
		
			
				|  |  | +                      seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | +                      seeTemp.examine == 1
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine4(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-else-if="
 | 
	
		
			
				|  |  |                      sdchangzhangshenhe &&
 | 
	
		
			
				|  |  | -                    seeTemp.statue == 5 &&
 | 
	
		
			
				|  |  | -                    seeTemp.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  | +                      seeTemp.statue == 5 &&
 | 
	
		
			
				|  |  | +                      seeTemp.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine4(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  <!-- 采购 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  | -                    (isSubscribeExamineCG &&
 | 
	
		
			
				|  |  | -                      seeTemp.statue == 11 &&
 | 
	
		
			
				|  |  | -                      seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -                      seeTemp.statue == 15) ||
 | 
	
		
			
				|  |  | -                    (seeTemp.departmentName !== '挤奶处' &&
 | 
	
		
			
				|  |  | -                      seeTemp.statue == 11)
 | 
	
		
			
				|  |  | -                  "
 | 
	
		
			
				|  |  | +                    isSubscribeExamineCG && (seeTemp.statue == 11 && seeTemp.departmentName != '挤奶处') || (seeTemp.departmentName == '挤奶处' && seeTemp.statue == 15)"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine5(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  <!-- 财务 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  |                      isSubscribeExamineCW &&
 | 
	
		
			
				|  |  | -                    seeTemp.purchase_type > 0 &&
 | 
	
		
			
				|  |  | -                    seeTemp.statue == 7
 | 
	
		
			
				|  |  | +                      seeTemp.purchase_type > 0 &&
 | 
	
		
			
				|  |  | +                      seeTemp.statue == 7
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    size="mini"
 | 
	
		
			
				|  |  |                    @click="handleExamine6(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <!-- 奶厅 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  |                      isSubscribeExamineNT &&
 | 
	
		
			
				|  |  | -                    seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -                    ((seeTemp.examine !== 1 && seeTemp.statue == 5) ||
 | 
	
		
			
				|  |  | +                      seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | +                      ((seeTemp.examine !== 1 && seeTemp.statue == 5) ||
 | 
	
		
			
				|  |  |                        seeTemp.statue == 11)
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    size="mini"
 | 
	
		
			
				|  |  |                    @click="handleExamine7(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                </el-form-item>
 | 
	
		
			
				|  |  |              </el-col>
 | 
	
		
			
				|  |  |            </el-row>
 | 
	
	
		
			
				|  | @@ -1768,50 +1717,43 @@
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="isokDisable"
 | 
	
		
			
				|  |  |            @click="createExamineData1()"
 | 
	
		
			
				|  |  | -          >确认</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >确认</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="dialogStatus === 'examine2'"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="isokDisable"
 | 
	
		
			
				|  |  |            @click="createExamineData2()"
 | 
	
		
			
				|  |  | -          >确认</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >确认</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="dialogStatus === 'examine3'"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="isokDisable"
 | 
	
		
			
				|  |  |            @click="createExamineData3()"
 | 
	
		
			
				|  |  | -          >确认</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >确认</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="dialogStatus === 'examine4'"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="isokDisable"
 | 
	
		
			
				|  |  |            @click="createExamineData4()"
 | 
	
		
			
				|  |  | -          >确认</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >确认</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="dialogStatus === 'examine5'"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="isokDisable"
 | 
	
		
			
				|  |  |            @click="createExamineData5()"
 | 
	
		
			
				|  |  | -          >确认</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >确认</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="dialogStatus === 'examine6'"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="isokDisable"
 | 
	
		
			
				|  |  |            @click="createExamineData6()"
 | 
	
		
			
				|  |  | -          >确认</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >确认</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            v-if="dialogStatus === 'examine7'"
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            :disabled="isokDisable"
 | 
	
		
			
				|  |  |            @click="createExamineData7()"
 | 
	
		
			
				|  |  | -          >确认</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >确认</el-button>
 | 
	
		
			
				|  |  |          <el-button @click="dialogFormVisible_Examine = false">关闭</el-button>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
	
		
			
				|  | @@ -1836,8 +1778,7 @@
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            icon="el-icon-search"
 | 
	
		
			
				|  |  |            @click="seepart_search"
 | 
	
		
			
				|  |  | -          >搜索</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >搜索</el-button>
 | 
	
		
			
				|  |  |          <h3
 | 
	
		
			
				|  |  |            v-if="seepartList.length == 0"
 | 
	
		
			
				|  |  |            style="text-align: center; height: 300px; line-height: 300px"
 | 
	
	
		
			
				|  | @@ -1900,14 +1841,14 @@
 | 
	
		
			
				|  |  |                    <img
 | 
	
		
			
				|  |  |                      v-if="scope.row.picpath !== ''"
 | 
	
		
			
				|  |  |                      :src="scope.row.picpath"
 | 
	
		
			
				|  |  | -                  />
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  |                    <img
 | 
	
		
			
				|  |  |                      v-if="scope.row.picpath !== ''"
 | 
	
		
			
				|  |  |                      slot="reference"
 | 
	
		
			
				|  |  |                      :src="scope.row.picpath"
 | 
	
		
			
				|  |  |                      :alt="scope.row.srcpath"
 | 
	
		
			
				|  |  |                      style="height: 100px; width: 100px"
 | 
	
		
			
				|  |  | -                  />
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  |                  </el-popover>
 | 
	
		
			
				|  |  |                </template>
 | 
	
		
			
				|  |  |              </el-table-column>
 | 
	
	
		
			
				|  | @@ -1967,16 +1908,17 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  | -        <el-button type="primary" :disabled="isokDisable" @click="form_add()"
 | 
	
		
			
				|  |  | -          >继续申购</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        <el-button
 | 
	
		
			
				|  |  | +          type="primary"
 | 
	
		
			
				|  |  | +          :disabled="isokDisable"
 | 
	
		
			
				|  |  | +          @click="form_add()"
 | 
	
		
			
				|  |  | +        >继续申购</el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            @click="
 | 
	
		
			
				|  |  |              dialogFormVisible_seepart = false
 | 
	
		
			
				|  |  |              seepart.getdataListParm.parammaps.partName = ''
 | 
	
		
			
				|  |  |            "
 | 
	
		
			
				|  |  | -          >取消</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >取消</el-button>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
		
			
				|  |  |      <!-- 合单 -->
 | 
	
	
		
			
				|  | @@ -2029,8 +1971,7 @@
 | 
	
		
			
				|  |  |          <span
 | 
	
		
			
				|  |  |            v-if="modifyTemp.purchase_type == 1"
 | 
	
		
			
				|  |  |            style="float: right; font-size: 16px; margin-bottom: 10px"
 | 
	
		
			
				|  |  | -          >总金额:{{ modifyTemp.sumPrices }}</span
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >总金额:{{ modifyTemp.sumPrices }}</span>
 | 
	
		
			
				|  |  |          <el-table
 | 
	
		
			
				|  |  |            :key="tableKey"
 | 
	
		
			
				|  |  |            v-loading="listLoading"
 | 
	
	
		
			
				|  | @@ -2205,9 +2146,11 @@
 | 
	
		
			
				|  |  |          </el-table>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  | -        <el-button type="primary" :disabled="isokDisable" @click="form_modify()"
 | 
	
		
			
				|  |  | -          >提交</el-button
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        <el-button
 | 
	
		
			
				|  |  | +          type="primary"
 | 
	
		
			
				|  |  | +          :disabled="isokDisable"
 | 
	
		
			
				|  |  | +          @click="form_modify()"
 | 
	
		
			
				|  |  | +        >提交</el-button>
 | 
	
		
			
				|  |  |          <el-button @click="dialogFormVisible_modify = false">取消</el-button>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
	
		
			
				|  | @@ -2260,8 +2203,7 @@
 | 
	
		
			
				|  |  |          <span
 | 
	
		
			
				|  |  |            v-if="seeTemp.purchase_type == 1"
 | 
	
		
			
				|  |  |            style="float: right; font-size: 16px; margin-bottom: 10px"
 | 
	
		
			
				|  |  | -          >总金额:{{ seeTemp.sumPrices }}</span
 | 
	
		
			
				|  |  | -        >
 | 
	
		
			
				|  |  | +        >总金额:{{ seeTemp.sumPrices }}</span>
 | 
	
		
			
				|  |  |          <el-table
 | 
	
		
			
				|  |  |            :key="tableKey"
 | 
	
		
			
				|  |  |            v-loading="listLoadingSee"
 | 
	
	
		
			
				|  | @@ -2480,96 +2422,82 @@
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  |                      isSubscribeExamineKG &&
 | 
	
		
			
				|  |  | -                    seeTemp.statue == 2 &&
 | 
	
		
			
				|  |  | -                    seeTemp.departmentName == '挤奶处'
 | 
	
		
			
				|  |  | +                      seeTemp.statue == 2 &&
 | 
	
		
			
				|  |  | +                      seeTemp.departmentName == '挤奶处'
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine1(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <!-- 设备 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="isSubscribeExamineSBZG && seeTemp.statue == 3"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine2(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <!-- 供应商主管 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="isSubscribeExamineZG && seeTemp.statue == 9"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine3(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  <!-- 场长 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  |                      sdchangzhangshenhe &&
 | 
	
		
			
				|  |  | -                    seeTemp.statue == 5 &&
 | 
	
		
			
				|  |  | -                    seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -                    seeTemp.examine == 1
 | 
	
		
			
				|  |  | +                      seeTemp.statue == 5 &&
 | 
	
		
			
				|  |  | +                      seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | +                      seeTemp.examine == 1
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine4(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-else-if="
 | 
	
		
			
				|  |  |                      sdchangzhangshenhe &&
 | 
	
		
			
				|  |  | -                    seeTemp.statue == 5 &&
 | 
	
		
			
				|  |  | -                    seeTemp.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  | +                      seeTemp.statue == 5 &&
 | 
	
		
			
				|  |  | +                      seeTemp.departmentName !== '挤奶处'
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine4(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  <!-- 采购 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  | -                    (isSubscribeExamineCG &&
 | 
	
		
			
				|  |  | -                      seeTemp.statue == 11 &&
 | 
	
		
			
				|  |  | -                      seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -                      seeTemp.statue == 15) ||
 | 
	
		
			
				|  |  | -                    (seeTemp.departmentName !== '挤奶处' &&
 | 
	
		
			
				|  |  | -                      seeTemp.statue == 11)
 | 
	
		
			
				|  |  | -                  "
 | 
	
		
			
				|  |  | +                    isSubscribeExamineCG && (seeTemp.statue == 11 && seeTemp.departmentName != '挤奶处') || (seeTemp.departmentName == '挤奶处' && seeTemp.statue == 15)"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    @click="handleExamine5(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <!-- 财务 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  |                      isSubscribeExamineCW &&
 | 
	
		
			
				|  |  | -                    seeTemp.purchase_type > 0 &&
 | 
	
		
			
				|  |  | -                    seeTemp.statue == 7
 | 
	
		
			
				|  |  | +                      seeTemp.purchase_type > 0 &&
 | 
	
		
			
				|  |  | +                      seeTemp.statue == 7
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    @click="handleExamine6(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                  <!-- 奶厅 -->
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  |                    v-if="
 | 
	
		
			
				|  |  |                      isSubscribeExamineNT &&
 | 
	
		
			
				|  |  | -                    seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | -                    ((seeTemp.examine !== 1 && seeTemp.statue == 5) ||
 | 
	
		
			
				|  |  | +                      seeTemp.departmentName == '挤奶处' &&
 | 
	
		
			
				|  |  | +                      ((seeTemp.examine !== 1 && seeTemp.statue == 5) ||
 | 
	
		
			
				|  |  |                        seeTemp.statue == 11)
 | 
	
		
			
				|  |  |                    "
 | 
	
		
			
				|  |  |                    style="display: inline-block"
 | 
	
		
			
				|  |  |                    type="success"
 | 
	
		
			
				|  |  |                    @click="handleExamine7(row)"
 | 
	
		
			
				|  |  | -                  >审核</el-button
 | 
	
		
			
				|  |  | -                >
 | 
	
		
			
				|  |  | +                >审核</el-button>
 | 
	
		
			
				|  |  |                </el-form-item>
 | 
	
		
			
				|  |  |              </el-col>
 | 
	
		
			
				|  |  |            </el-row>
 | 
	
	
		
			
				|  | @@ -2653,7 +2581,7 @@ export default {
 | 
	
		
			
				|  |  |            pagecount: 0,
 | 
	
		
			
				|  |  |            parammaps: { pastureId: Cookies.get('pastureid') }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | -        { name: 'getflexProviderList', offset: 0, pagecount: 0, parammaps: {} }
 | 
	
		
			
				|  |  | +        { name: 'getflexProviderList', offset: 0, pagecount: 0, parammaps: {}}
 | 
	
		
			
				|  |  |        ],
 | 
	
		
			
				|  |  |        getDepartParam: {
 | 
	
		
			
				|  |  |          name: 'findAllDepart',
 | 
	
	
		
			
				|  | @@ -2854,6 +2782,7 @@ export default {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    created() {
 | 
	
		
			
				|  |  |      const that = this
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      GetDataByName({
 | 
	
		
			
				|  |  |        name: 'getUserPCButtons',
 | 
	
		
			
				|  |  |        parammaps: { jwt_username: Cookies.get('name') }
 | 
	
	
		
			
				|  | @@ -3016,6 +2945,7 @@ export default {
 | 
	
		
			
				|  |  |          Cookies.get('pastureid')
 | 
	
		
			
				|  |  |        this.pending.getdataListParm.parammaps.deptId =
 | 
	
		
			
				|  |  |          Cookies.get('departmentid')
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        GetDataByName(this.pending.getdataListParm).then((response) => {
 | 
	
		
			
				|  |  |          this.pending.total = response.data.total3
 | 
	
		
			
				|  |  |        })
 | 
	
	
		
			
				|  | @@ -3110,7 +3040,7 @@ export default {
 | 
	
		
			
				|  |  |          this.get_table_data()
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    statue: function (cellValue) {
 | 
	
		
			
				|  |  | +    statue: function(cellValue) {
 | 
	
		
			
				|  |  |        // console.log(cellValue)
 | 
	
		
			
				|  |  |        // departmentName
 | 
	
		
			
				|  |  |        // purchase_type
 | 
	
	
		
			
				|  | @@ -3386,7 +3316,7 @@ export default {
 | 
	
		
			
				|  |  |        this.seepartList = []
 | 
	
		
			
				|  |  |        this.dialogFormVisible_seepart = true
 | 
	
		
			
				|  |  |        // 点击新增 判断是否是在 挤奶处 id=46
 | 
	
		
			
				|  |  | -      this.isDepartmentId = parseInt(Cookies.get('departmentid')) == 46 ? true : false
 | 
	
		
			
				|  |  | +      this.isDepartmentId = parseInt(Cookies.get('departmentid')) == 46
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      seepart_search() {
 | 
	
		
			
				|  |  |        this.get_seepart_data()
 | 
	
	
		
			
				|  | @@ -5417,7 +5347,7 @@ export default {
 | 
	
		
			
				|  |  |            this.listAdd = response.data.list
 | 
	
		
			
				|  |  |            this.modifylist = response.data.list
 | 
	
		
			
				|  |  |            var sumPrices = 0
 | 
	
		
			
				|  |  | -          response.data.list.forEach(function (i, j) {
 | 
	
		
			
				|  |  | +          response.data.list.forEach(function(i, j) {
 | 
	
		
			
				|  |  |              sumPrices = sumPrices + parseFloat(i.price1) * parseFloat(i.amount)
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  |            this.$set(this.seeTemp, 'sumPrices', sumPrices)
 | 
	
	
		
			
				|  | @@ -5425,7 +5355,7 @@ export default {
 | 
	
		
			
				|  |  |            console.log('总价sumPrices', sumPrices)
 | 
	
		
			
				|  |  |            var priceObj = false
 | 
	
		
			
				|  |  |            var priceArr = []
 | 
	
		
			
				|  |  | -          response.data.list.forEach(function (i, j) {
 | 
	
		
			
				|  |  | +          response.data.list.forEach(function(i, j) {
 | 
	
		
			
				|  |  |              if (parseFloat(i.price1) >= 500) {
 | 
	
		
			
				|  |  |                priceArr.push(true)
 | 
	
		
			
				|  |  |              } else {
 | 
	
	
		
			
				|  | @@ -5703,15 +5633,15 @@ export default {
 | 
	
		
			
				|  |  |              )
 | 
	
		
			
				|  |  |            ) {
 | 
	
		
			
				|  |  |              // 如果是新增并且在挤奶处 则申请部门名称和id为数组的第一个 TODO:
 | 
	
		
			
				|  |  | -            if(this.isDepartmentId){
 | 
	
		
			
				|  |  | -              this.createTemp.departmentId = this.createDepartList[0].id;
 | 
	
		
			
				|  |  | -              this.createTemp.departmentName=this.createDepartList[0].name;
 | 
	
		
			
				|  |  | -            }else{
 | 
	
		
			
				|  |  | -            this.createTemp.departmentId = parseInt(Cookies.get('departmentid'))
 | 
	
		
			
				|  |  | -            this.createTemp.departmentName = this.createDepartList.find(
 | 
	
		
			
				|  |  | -              (obj) => obj.id == Cookies.get('departmentid')
 | 
	
		
			
				|  |  | -            ).name
 | 
	
		
			
				|  |  | -                  }
 | 
	
		
			
				|  |  | +            if (this.isDepartmentId) {
 | 
	
		
			
				|  |  | +              this.createTemp.departmentId = this.createDepartList[0].id
 | 
	
		
			
				|  |  | +              this.createTemp.departmentName = this.createDepartList[0].name
 | 
	
		
			
				|  |  | +            } else {
 | 
	
		
			
				|  |  | +              this.createTemp.departmentId = parseInt(Cookies.get('departmentid'))
 | 
	
		
			
				|  |  | +              this.createTemp.departmentName = this.createDepartList.find(
 | 
	
		
			
				|  |  | +                (obj) => obj.id == Cookies.get('departmentid')
 | 
	
		
			
				|  |  | +              ).name
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |            } else {
 | 
	
		
			
				|  |  |              this.createTemp.departmentId = response.data.list[0].id
 | 
	
		
			
				|  |  |              this.createTemp.departmentName = response.data.list[0].name
 |