소스 검색

中石油准入证号添加,“企业名称”改为“推荐单位”

Signed-off-by: lijunqing <lijunqing@dashoo.cn>
lijunqing 6 년 전
부모
커밋
501cb0b91a

+ 1 - 0
src/dashoo.cn/backend/api/business/oilsupplier/supplier/oilsupplier.go

@@ -78,6 +78,7 @@ type OilSupplier struct {
 	ModifiedOn         time.Time `xorm:"DATETIME"`
 	ModifiedUserId     int       `xorm:"INT(10)"`
 	ModifiedBy         string    `xorm:"VARCHAR(50)"`
+	PACNumber          string    `xorm:"comment('中石油准入证编号') VARCHAR(50)"`
 }
 
 type OilSupplierView struct {

+ 9 - 2
src/dashoo.cn/frontend_web/src/components/oilsupplier/goodsinfo.vue

@@ -81,6 +81,13 @@
           </el-form-item>
         </el-col>
 
+          <el-col :span="8">
+          <el-form-item label="中石油准入证编号" >
+            <el-input v-model="formData.PACNumber" maxlength="255" :readonly="!canUpdateSupplier" placeholder="请输入" style="width: 100%">
+            </el-input>
+          </el-form-item>
+        </el-col>
+
 
 
         <el-col :span="8">
@@ -563,10 +570,10 @@
         CityAry: [],
         LinkCityAry: [],
         HSEOptions: [{
-          value: 1,
+          value: '1',
           label: '是'
         }, {
-          value: 0,
+          value: '0',
           label: '否'
         }],
 

+ 11 - 10
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -578,20 +578,21 @@
           NationalCertTotal: 0,
           DesignerTotal: 0,
           SkillerTotal: 0,
-          Remark: "",
-          IsDelete: "",
-          CreateOn: "",
-          CreateUserId: "",
-          CreateBy: "",
-          ModifiedOn: "",
-          ModifiedUserId: "",
-          ModifiedBy: "",
+          // Remark: "",
+          // IsDelete: 0,
+          // CreateOn: "",
+          // CreateUserId: "",
+          // CreateBy: "",
+          // ModifiedOn: "",
+          // ModifiedUserId: "",
+          // ModifiedBy: "",
           CertId: 0,
           SupplierTypeCode: "01",
           SupplierTypeName: "物资类",
           Step: 0,
-          HseTraining: 0,
-          AuditIndex: 0
+          HseTraining: '0',
+          AuditIndex: 0,
+          PACNumber: ""
         },
 
         formDataCert: {

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/select/informationreporting/index.vue

@@ -19,7 +19,7 @@
           :inline="true"
           style="float: right;position:absolute;right:15px;top:10.5px"
         >
-          <el-form-item label="企业名称">
+          <el-form-item label="推荐单位">
             <el-input size="mini" v-model="searchForm.SupplierName" placeholder="请输入内容"></el-input>
           </el-form-item>
           <el-form-item>
@@ -54,7 +54,7 @@
         @sort-change="orderby"
       >
         <!--内框表格剩余栏显示-->
-        <el-table-column label="企业名称" prop="SupplierName" align="center"></el-table-column>
+        <el-table-column label="推荐单位" prop="SupplierName" align="center"></el-table-column>
         <el-table-column label="准入类别" prop="SupplierTypeName" align="center"></el-table-column>
         <el-table-column label="上报数量" prop="AllUpNum" align="center"></el-table-column>
         <el-table-column label="合格数量" prop="AllUpNum" align="center"></el-table-column>