2
3
dubch 4 лет назад
Родитель
Сommit
d2114f1fef
1 измененных файлов с 110 добавлено и 110 удалено
  1. 110 110
      src/dashoo.cn/frontend_web/src/pages/oilcontract/contract-import/index.vue

+ 110 - 110
src/dashoo.cn/frontend_web/src/pages/oilcontract/contract-import/index.vue

@@ -78,7 +78,7 @@
                 description="确认要删除吗?"
                 type="warning"
                 :closable="false"
-                >
+              >
               </el-alert>
               <br/>
               <div style="text-align: right; margin: 0">
@@ -92,9 +92,9 @@
 
         <el-table-column v-for="column in tableColumns" :key="column.Id"
                          v-if="column.prop != 'CreateOn'" :prop="column.prop" sortable :min-width="140" :label="column.label" align="center" show-overflow-tooltip>
-                         <template slot-scope="scope">
-                           <div>{{tableFun(column.prop,scope.row[column.prop])}}</div>
-                         </template>
+          <template slot-scope="scope">
+            <div>{{tableFun(column.prop,scope.row[column.prop])}}</div>
+          </template>
         </el-table-column>
 
         <!--<el-table-column prop="CreateOn" sortable min-width="150" label="生成时间" align="center" show-overflow-tooltip>
@@ -290,21 +290,21 @@
         <el-form-item label="二级单位">
           <el-input size="mini" clearable v-model="searchForm.ImportUnitName" style="width: 150px;" placeholder="请输入二级单位"></el-input>
         </el-form-item>
-<!--        <el-form-item label="状态" style="width: 150px">-->
-<!--          <el-select size="mini" v-model="searchForm.Status" placeholder="请选择" style="width: 100px" clearable>-->
-<!--            <el-option label="全部" value="" key="01"></el-option>-->
-<!--            <el-option label="未履行" :value="1" key="02"></el-option>-->
-<!--            <el-option label="履行中" :value="2" key="03"></el-option>-->
-<!--            <el-option label="履行完毕" :value="3" key="04"></el-option>-->
-<!--          </el-select>-->
-<!--        </el-form-item>-->
-<!--        <el-form-item label="结算状态" style="width: 180px">-->
-<!--          <el-select size="mini" v-model="searchForm.SettleStatus" placeholder="请选择" style="width: 110px" clearable>-->
-<!--            <el-option label="全部" value="" key="01"></el-option>-->
-<!--            <el-option label="未结算" value="1" key="02"></el-option>-->
-<!--            <el-option label="阶段性结算" value="2" key="03"></el-option>-->
-<!--          </el-select>-->
-<!--        </el-form-item>-->
+        <!--        <el-form-item label="状态" style="width: 150px">-->
+        <!--          <el-select size="mini" v-model="searchForm.Status" placeholder="请选择" style="width: 100px" clearable>-->
+        <!--            <el-option label="全部" value="" key="01"></el-option>-->
+        <!--            <el-option label="未履行" :value="1" key="02"></el-option>-->
+        <!--            <el-option label="履行中" :value="2" key="03"></el-option>-->
+        <!--            <el-option label="履行完毕" :value="3" key="04"></el-option>-->
+        <!--          </el-select>-->
+        <!--        </el-form-item>-->
+        <!--        <el-form-item label="结算状态" style="width: 180px">-->
+        <!--          <el-select size="mini" v-model="searchForm.SettleStatus" placeholder="请选择" style="width: 110px" clearable>-->
+        <!--            <el-option label="全部" value="" key="01"></el-option>-->
+        <!--            <el-option label="未结算" value="1" key="02"></el-option>-->
+        <!--            <el-option label="阶段性结算" value="2" key="03"></el-option>-->
+        <!--          </el-select>-->
+        <!--        </el-form-item>-->
         <el-form-item>
           <el-dropdown split-button type="primary" size="mini" @click="handleSearch1" @command="searchCommand1">
             查询
@@ -316,14 +316,14 @@
       </el-form>
       <el-form :model="tableDataList" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
         <el-table
-            :data="tableDataList.tableData"
-            stripe
-            highlight-current-row
-            :border="true"
-            height="500"
-            size="small"
-            style="width: 100%" v-loading="tableSelectLoading">
-<!--           <el-table-column type="index"  min-width="70" label="序号" align="center" show-overflow-tooltip></el-table-column>-->
+          :data="tableDataList.tableData"
+          stripe
+          highlight-current-row
+          :border="true"
+          height="500"
+          size="small"
+          style="width: 100%" v-loading="tableSelectLoading">
+          <!--           <el-table-column type="index"  min-width="70" label="序号" align="center" show-overflow-tooltip></el-table-column>-->
           <el-table-column  prop="ClassName"  min-width="110" label="合同类别" align="center" show-overflow-tooltip></el-table-column>
           <el-table-column  prop="ContractClass"  min-width="140" label="选择类别" align="center" show-overflow-tooltip >
             <template slot-scope="scope">
@@ -334,20 +334,20 @@
                   <el-option label="服务商" value="03" key="03"></el-option>
                 </el-select>
               </el-form-item>
-              <el-button size="mini" type="primary" @click="allUpdate(scope.row.ContractClass,scope.row.ClassName,'ContractClass', 0, scope.row.SupplierId)">全部修改</el-button>
+              <!--              <el-button size="mini" type="primary" @click="allUpdate(scope.row.ContractClass,scope.row.ClassName,'ContractClass', 0, scope.row.SupplierId)">全部修改</el-button>-->
             </template>
           </el-table-column>
           <el-table-column  prop="ImportSupplierName"  min-width="250" label="企业名称" align="center" show-overflow-tooltip></el-table-column>
           <el-table-column  prop="SupplierName"  width="250" label="确认企业名称" align="center" show-overflow-tooltip >
-             <template slot-scope="scope">
-               <el-form-item  style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.SupplierId'" :rules="rules.name">
-                 <el-select style="width: 100%" size="mini" v-model="scope.row.SupplierId" filterable :ref="'supplierIdSelect'+scope.$index" placeholder="请选择" :disabled="nameDisabled(scope.row.ContractClass)" @change="allUpdate(scope.row.SupplierId,scope.row.ImportSupplierName,'SupplierId',scope.row.Id, scope.row.SupplierId)">
-                    <el-option v-for="(item,index) of (SupplierNameDataFun(scope.row.ImportSupplierName,scope.$index, scope.row.ContractClass))" :key="index" :label="item.SupplierName" :value="item.Id"></el-option>
-                 </el-select>
-               </el-form-item>
-               <el-button size="mini" type="primary" @click="allUpdate(scope.row.SupplierId,scope.row.ImportSupplierName,'SupplierId', 0, scope.row.SupplierId)">全部修改</el-button>
-             </template>
-           </el-table-column>
+            <template slot-scope="scope">
+              <el-form-item  style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.SupplierId'" :rules="rules.name">
+                <el-select style="width: 100%" size="mini" v-model="scope.row.SupplierId" filterable :ref="'supplierIdSelect'+scope.$index" placeholder="请选择" :disabled="nameDisabled(scope.row.ContractClass)" @change="allUpdate(scope.row.SupplierId,scope.row.ImportSupplierName,'SupplierId',scope.row.Id, scope.row.SupplierId)">
+                  <el-option v-for="(item,index) of (SupplierNameDataFun(scope.row.ImportSupplierName,scope.$index, scope.row.ContractClass))" :key="index" :label="item.SupplierName" :value="item.Id"></el-option>
+                </el-select>
+              </el-form-item>
+              <el-button size="mini" type="primary" @click="allUpdate(scope.row.SupplierId,scope.row.ImportSupplierName,'SupplierId', 0, scope.row.SupplierId)">全部修改</el-button>
+            </template>
+          </el-table-column>
           <el-table-column  prop="ContractNo"  min-width="200" label="合同编号" align="center" show-overflow-tooltip>
             <template slot-scope="scope">
               <el-form-item  style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.ContractNo'" :rules="rules.ContractNo">
@@ -357,26 +357,26 @@
             </template>
           </el-table-column>
           <!--          <el-table-column  prop="Status"  min-width="120" label="选择合同状态" align="center" show-overflow-tooltip >-->
-<!--            <template slot-scope="scope">-->
-<!--              <el-form-item  style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.Status'" :rules="rules.Status">-->
-<!--                <el-select size="mini" v-model="scope.row.Status" placeholder="请选择" style="width: 100%" @change="allUpdate(scope.row.Status,'','Status',scope.row.Id, scope.row.SupplierId)">-->
-<!--                  <el-option label="未履行" :value="1" key="01"></el-option>-->
-<!--                  <el-option label="履行中" :value="2" key="02"></el-option>-->
-<!--                  <el-option label="已完结" :value="3" key="03"></el-option>-->
-<!--                </el-select>-->
-<!--              </el-form-item>-->
-<!--            </template>-->
-<!--          </el-table-column>-->
-<!--          <el-table-column  prop="SettleStatus"  min-width="110" label="结算状态" align="center" show-overflow-tooltip >-->
-<!--            <template slot-scope="scope">-->
-<!--              <el-form-item  style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.SettleStatus'" :rules="rules.SettleStatus">-->
-<!--                <el-select size="mini" v-model="scope.row.SettleStatus" placeholder="请选择" style="width: 100%" @change="allUpdate(scope.row.SettleStatus,'','SettleStatus',scope.row.Id, scope.row.SupplierId)">-->
-<!--                  <el-option label="未结算" value="1" key="01"></el-option>-->
-<!--                  <el-option label="阶段性结算" value="2" key="02"></el-option>-->
-<!--                </el-select>-->
-<!--              </el-form-item>-->
-<!--            </template>-->
-<!--          </el-table-column>-->
+          <!--            <template slot-scope="scope">-->
+          <!--              <el-form-item  style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.Status'" :rules="rules.Status">-->
+          <!--                <el-select size="mini" v-model="scope.row.Status" placeholder="请选择" style="width: 100%" @change="allUpdate(scope.row.Status,'','Status',scope.row.Id, scope.row.SupplierId)">-->
+          <!--                  <el-option label="未履行" :value="1" key="01"></el-option>-->
+          <!--                  <el-option label="履行中" :value="2" key="02"></el-option>-->
+          <!--                  <el-option label="已完结" :value="3" key="03"></el-option>-->
+          <!--                </el-select>-->
+          <!--              </el-form-item>-->
+          <!--            </template>-->
+          <!--          </el-table-column>-->
+          <!--          <el-table-column  prop="SettleStatus"  min-width="110" label="结算状态" align="center" show-overflow-tooltip >-->
+          <!--            <template slot-scope="scope">-->
+          <!--              <el-form-item  style="margin-bottom: 0px;" :prop="'tableData.' + scope.$index + '.SettleStatus'" :rules="rules.SettleStatus">-->
+          <!--                <el-select size="mini" v-model="scope.row.SettleStatus" placeholder="请选择" style="width: 100%" @change="allUpdate(scope.row.SettleStatus,'','SettleStatus',scope.row.Id, scope.row.SupplierId)">-->
+          <!--                  <el-option label="未结算" value="1" key="01"></el-option>-->
+          <!--                  <el-option label="阶段性结算" value="2" key="02"></el-option>-->
+          <!--                </el-select>-->
+          <!--              </el-form-item>-->
+          <!--            </template>-->
+          <!--          </el-table-column>-->
           <el-table-column  prop="ContractName"  min-width="110" label="合同名称" align="center" show-overflow-tooltip></el-table-column>
           <el-table-column  prop="Amount"  min-width="110" label="标的金额" align="center" show-overflow-tooltip></el-table-column>
           <el-table-column  prop="ImportSecondUnit"  min-width="150" label="二级单位" align="center" show-overflow-tooltip></el-table-column>
@@ -394,18 +394,18 @@
           </el-table-column>
           <el-table-column  prop="ProjectOwner"  min-width="110" label="项目负责人" align="center" show-overflow-tooltip></el-table-column>
           <!--           <el-table-column  prop="ContractSonClass"  min-width="110" label="合同子类" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="SmallClass"  min-width="110" label="相应小类" align="center" show-overflow-tooltip></el-table-column>-->
-           <el-table-column  prop="SignedDate"  min-width="110" label="签订日期" align="center" show-overflow-tooltip>
-             <template slot-scope="scope">
-               {{ jstimehandle(scope.row.SignedDate+'') }}
-             </template>
-           </el-table-column>
-<!--           <el-table-column  prop="People"  min-width="110" label="相对人" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="ChooseWay"  min-width="110" label="选商方式" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="BudgetAmount"  min-width="110" label="预算金额" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="ContractMark"  min-width="110" label="合同标的" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="Currency"  min-width="110" label="币种" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="DisputeResolution"  min-width="110" label="纠纷解决方式" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="SmallClass"  min-width="110" label="相应小类" align="center" show-overflow-tooltip></el-table-column>-->
+          <el-table-column  prop="SignedDate"  min-width="110" label="签订日期" align="center" show-overflow-tooltip>
+            <template slot-scope="scope">
+              {{ jstimehandle(scope.row.SignedDate+'') }}
+            </template>
+          </el-table-column>
+          <!--           <el-table-column  prop="People"  min-width="110" label="相对人" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="ChooseWay"  min-width="110" label="选商方式" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="BudgetAmount"  min-width="110" label="预算金额" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="ContractMark"  min-width="110" label="合同标的" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="Currency"  min-width="110" label="币种" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="DisputeResolution"  min-width="110" label="纠纷解决方式" align="center" show-overflow-tooltip></el-table-column>-->
           <el-table-column  prop="StartDate"  min-width="110" label="履行期限(始)" align="center" show-overflow-tooltip>
             <template slot-scope="scope">
               {{ jstimehandle(scope.row.StartDate+'') }}
@@ -418,50 +418,50 @@
           </el-table-column>
           <el-table-column  prop="Number"  min-width="110" label="报审序号" align="center" show-overflow-tooltip></el-table-column>
           <!--           <el-table-column  prop="IsDeal"  min-width="110" label="是否关联交易" align="center" show-overflow-tooltip>-->
-<!--             <template slot-scope="scope">-->
-<!--               <el-select placeholder="请选择" v-model="scope.row.IsDeal" style="width: 100%" size="mini">-->
-<!--                 <el-option :key="1" label="是" :value="1"></el-option>-->
-<!--                 <el-option :key="0" label="否" :value="0"></el-option>-->
-<!--               </el-select>-->
-<!--             </template>-->
-<!--           </el-table-column>-->
-<!--           <el-table-column  prop="IsForeign"  min-width="110" label="是否涉外合同" align="center" show-overflow-tooltip>-->
-<!--             <template slot-scope="scope">-->
-<!--               <el-select placeholder="请选择" v-model="scope.row.IsForeign" style="width: 100%" size="mini">-->
-<!--                 <el-option :key="1" label="是" :value="1"></el-option>-->
-<!--                 <el-option :key="0" label="否" :value="0"></el-option>-->
-<!--               </el-select>-->
-<!--             </template>-->
-<!--           </el-table-column>-->
-<!--           <el-table-column  prop="IsInternal"  min-width="110" label="是否内部合同" align="center" show-overflow-tooltip>-->
-<!--             <template slot-scope="scope">-->
-<!--               <el-select placeholder="请选择" v-model="scope.row.IsInternal" style="width: 100%" size="mini">-->
-<!--                 <el-option :key="1" label="是" :value="1"></el-option>-->
-<!--                 <el-option :key="0" label="否" :value="0"></el-option>-->
-<!--               </el-select>-->
-<!--             </template>-->
-<!--           </el-table-column>-->
-<!--           <el-table-column  prop="MoneyChannel"  min-width="110" label="资金渠道" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="MoneyChannelSmall"  min-width="110" label="资金渠道小类" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="MoneyChannelSon"  min-width="110" label="资金渠道子类" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="MoneyFlows"  min-width="110" label="资金流向" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="PerformAmount"  min-width="110" label="履行金额" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="Place"  min-width="110" label="履行地点" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="PoNumber"  min-width="110" label="PO编码" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="Remark"  min-width="110" label="备注" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="SealName"  min-width="110" label="用章名称" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="SingUnit"  min-width="110" label="签约单位" align="center" show-overflow-tooltip></el-table-column>-->
-<!--           <el-table-column  prop="SubmitDate"  min-width="110" label="提交日期" align="center" show-overflow-tooltip>-->
-<!--             <template slot-scope="scope">-->
-<!--               {{ jstimehandle(scope.row.SubmitDate+'') }}-->
-<!--             </template>-->
-<!--           </el-table-column>-->
-
-          </el-table>
+          <!--             <template slot-scope="scope">-->
+          <!--               <el-select placeholder="请选择" v-model="scope.row.IsDeal" style="width: 100%" size="mini">-->
+          <!--                 <el-option :key="1" label="是" :value="1"></el-option>-->
+          <!--                 <el-option :key="0" label="否" :value="0"></el-option>-->
+          <!--               </el-select>-->
+          <!--             </template>-->
+          <!--           </el-table-column>-->
+          <!--           <el-table-column  prop="IsForeign"  min-width="110" label="是否涉外合同" align="center" show-overflow-tooltip>-->
+          <!--             <template slot-scope="scope">-->
+          <!--               <el-select placeholder="请选择" v-model="scope.row.IsForeign" style="width: 100%" size="mini">-->
+          <!--                 <el-option :key="1" label="是" :value="1"></el-option>-->
+          <!--                 <el-option :key="0" label="否" :value="0"></el-option>-->
+          <!--               </el-select>-->
+          <!--             </template>-->
+          <!--           </el-table-column>-->
+          <!--           <el-table-column  prop="IsInternal"  min-width="110" label="是否内部合同" align="center" show-overflow-tooltip>-->
+          <!--             <template slot-scope="scope">-->
+          <!--               <el-select placeholder="请选择" v-model="scope.row.IsInternal" style="width: 100%" size="mini">-->
+          <!--                 <el-option :key="1" label="是" :value="1"></el-option>-->
+          <!--                 <el-option :key="0" label="否" :value="0"></el-option>-->
+          <!--               </el-select>-->
+          <!--             </template>-->
+          <!--           </el-table-column>-->
+          <!--           <el-table-column  prop="MoneyChannel"  min-width="110" label="资金渠道" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="MoneyChannelSmall"  min-width="110" label="资金渠道小类" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="MoneyChannelSon"  min-width="110" label="资金渠道子类" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="MoneyFlows"  min-width="110" label="资金流向" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="PerformAmount"  min-width="110" label="履行金额" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="Place"  min-width="110" label="履行地点" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="PoNumber"  min-width="110" label="PO编码" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="Remark"  min-width="110" label="备注" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="SealName"  min-width="110" label="用章名称" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="SingUnit"  min-width="110" label="签约单位" align="center" show-overflow-tooltip></el-table-column>-->
+          <!--           <el-table-column  prop="SubmitDate"  min-width="110" label="提交日期" align="center" show-overflow-tooltip>-->
+          <!--             <template slot-scope="scope">-->
+          <!--               {{ jstimehandle(scope.row.SubmitDate+'') }}-->
+          <!--             </template>-->
+          <!--           </el-table-column>-->
+
+        </el-table>
         <el-pagination @size-change="handleSizeChange1" @current-change="handleCurrentChange1" :current-page="currentPage1"
                        :page-sizes="[10, 20, 50, 100, 200, 500]" :page-size="size1" layout="total, sizes, prev, pager, next, jumper" :total="currentItemCount1">
         </el-pagination>
-        </el-form>
+      </el-form>
 
       <div style="display: flex;justify-content: flex-end;margin-top: 16px;">
         <el-button v-if="importAuditProf" type="primary" :loading="uploadTrueClickLoading1" size="mini" @click="deleteList">清空列表</el-button>