Explorar o código

前端质检 更改sdy

zhongtianhaoyuan %!s(int64=3) %!d(string=hai) anos
pai
achega
c70299ed1c

+ 2 - 2
src/views/houseSelfCollect/acquisitionManagementAdd.vue

@@ -1,7 +1,7 @@
 <!-- <!--收购管理新增-->
 <!-- <!--收购管理新增-->
 <template>
 <template>
   <el-container class="container">
   <el-container class="container">
-    <div class="type">{{type}}</div>
+    <!-- <div class="type">{{type}}</div> -->
     <el-header class="header">
     <el-header class="header">
       <img class="head-icon" src="../../../public/img/icons/acquisition6.png" alt="">
       <img class="head-icon" src="../../../public/img/icons/acquisition6.png" alt="">
       <div class="head-title">{{baseInfoForm.warehouseName}}</div>
       <div class="head-title">{{baseInfoForm.warehouseName}}</div>
@@ -1114,7 +1114,7 @@
     align-items: center;
     align-items: center;
     border-bottom: 1px solid #E9ECF7;
     border-bottom: 1px solid #E9ECF7;
     padding-bottom: 10px;
     padding-bottom: 10px;
-    width: 80%;
+    width: 100%;
 
 
     .head-icon {
     .head-icon {
       width: 19px;
       width: 19px;

+ 0 - 15
src/views/houseSelfCollect/component/routers/route.js

@@ -25,21 +25,6 @@ const houseSelfCollectRouter = {
         permissicon: [],
         permissicon: [],
         keepAlive: true
         keepAlive: true
       }
       }
-    },
-    //客户管理编辑
-    {
-      path: 'customerManagementEdit',
-      component: () =>
-        import(/* webpackChunkName: "sparepartList" */ '@/views/houseSelfCollect/customerManagementEdit'),
-      name: 'customerManagementEdit',
-      meta: {
-        title: 'customerManagementEdit',
-        shortcutEntrance: 'houseSelfCollect',
-        module: 'procurement.procurementOrder.delete',
-        permissicon: [],
-        keepAlive: true
-      },
-      hidden: true
     },
     },
         //客户管理添加
         //客户管理添加
         {
         {

+ 8 - 6
src/views/houseSelfCollect/customerManagementAdd.vue

@@ -52,7 +52,6 @@
               </el-upload>
               </el-upload>
             </div>
             </div>
           </div>
           </div>
-
           <ws-form-item label="姓名" span="1" prop="customerName" label-width="80px">
           <ws-form-item label="姓名" span="1" prop="customerName" label-width="80px">
             <ws-input v-model="customerList.customerName" placeholder="请输入姓名" maxlength="15" size="small"
             <ws-input v-model="customerList.customerName" placeholder="请输入姓名" maxlength="15" size="small"
               :disabled="disabled" />
               :disabled="disabled" />
@@ -268,12 +267,14 @@
           })
           })
           .toPromise()
           .toPromise()
           .then((response) => {
           .then((response) => {
-            if (response.recPerson != "") {
+            if (response.recPerson ) {
               this.customerList.customerName = response.recPerson
               this.customerList.customerName = response.recPerson
             }
             }
-            if (response.recPersonNo != "") {
+            console.log(this.customerList.customerName)
+            if (response.recPersonNo ) {
               this.customerList.customerNumberCard = response.recPersonNo
               this.customerList.customerNumberCard = response.recPersonNo
             }
             }
+            console.log(this.customerList.customerNumberCard)
           })
           })
       },
       },
       upLoadSuccess2(e) {
       upLoadSuccess2(e) {
@@ -285,13 +286,14 @@
           })
           })
           .toPromise()
           .toPromise()
           .then((response) => {
           .then((response) => {
-            if (response.recPerson != "") {
+            if (response.recPerson ) {
               this.customerList.customerName = response.recPerson
               this.customerList.customerName = response.recPerson
             }
             }
-            if (response.recPersonNo != "") {
+            
+            if (response.recPersonNo ) {
               this.customerList.customerNumberCard = response.recPersonNo
               this.customerList.customerNumberCard = response.recPersonNo
-
             }
             }
+            
           })
           })
       },
       },
       bankSuccess1(e) {
       bankSuccess1(e) {

+ 0 - 115
src/views/houseSelfCollect/customerManagementEdit.vue

@@ -1,115 +0,0 @@
-<!--客户管理-->
-<template>
-  <div class="content">
-    客户管理编辑
-  </div>
-</template>
-<script>
-// import xx
-// '@/model/houseSelfCollect/index'
-
-export default {
-  components: {},
-  watch: {},
-  data() {
-    return {
-      searchKeyWord: '',
-      customertList:{
-        records:[
-          {
-            contractNo:"小王",
-            goodsName:"17127741111",
-            weight:"111111111",
-            unitContractPrice:'312321312132321',
-            packingMethod:"12213321231fsfssfd",
-            status:"fsdfsdfsd"
-            
-          }
-        ]
-      },
-       currentPage: 1,
-      pageSize: 10,
-      deptBudgetTotal: 0,
-      deptCircularPage: {},
-    }
-  },
-  methods: {
-    find() {
-      console.log('搜索')
-    },
-    getCustomer() {},
-    createCustomer() {},
-        handleSizeChange(val) {
-      console.log(`每页 ${val} 条`)
-      this.pageSize = val
-      this.getList()
-    },
-    handleCurrentChange(val) {
-      this.currentPage = val
-      console.log(`当前页: ${val}`)
-      this.getList()
-    },
-        handleExamine(row) {
-      console.log(row)
-      // this.$router.push({
-      //   name: 'purchaseContractExamine',
-      //   query: { id: row.id, status: row.status },
-      // })
-    },
-        handleEdit(row) {
-          console.log(row)
-      this.$router.push({
-        name: 'purchaseContractEdit',
-        query: { id: row.id },
-      })
-    },
-        handleDelete(row) {
-          console.log(row)
-      // var text = ''
-      // if (row.deliverType == 1) {
-      //   text =
-      //     '删除该合同将同时永久删除合同对应的临时仓库相关数据,是否确定删除?'
-      // } else {
-      //   text = '合同删除后不可恢复,是否继续删除?'
-      // }
-      // this.$confirm(text, '提示', {
-      //   confirmButtonText: '确定',
-      //   cancelButtonText: '取消',
-      //   type: 'warning',
-      // })
-      //   .then(() => {
-      //     deletecontract({ id: row.id })
-      //       .toPromise()
-      //       .then((response) => {
-      //         this.$notify.success({
-      //           title: '成功',
-      //           message: '删除成功',
-      //         })
-      //         this.getList()
-      //       })
-      //       .catch((response) => {})
-      //   })
-      //   .catch(() => {
-      //     return false
-      //   })
-    },
-    getList(){}
-  }
-}
-</script>
-<style lang="scss" scoped>
-.content{
-  padding: 20px;
-}
-.seach {
-  display: flex;
-  justify-content: space-between;
-  align-items: center;
-  .find {
-    width: 32px;
-  }
-  .search-left {
-    display: flex;
-  }
-}
-</style>

+ 1 - 1
src/views/houseSelfCollect/inspectInfo.vue

@@ -412,7 +412,7 @@
         this.inspect.warehouseName = this.warehouseName
         this.inspect.warehouseName = this.warehouseName
         this.inspect.compId = sessionStorage.getItem('ws-pf_compId')
         this.inspect.compId = sessionStorage.getItem('ws-pf_compId')
         this.inspect.qualityInspector = sessionStorage.getItem('ws-pf_staffName')
         this.inspect.qualityInspector = sessionStorage.getItem('ws-pf_staffName')
-        if (this.types == null) {
+        if (this.types == 1) {
           this.$confirm('确定保存质检信息?', '提示', {
           this.$confirm('确定保存质检信息?', '提示', {
               confirmButtonText: '确定',
               confirmButtonText: '确定',
               cancelButtonText: '取消',
               cancelButtonText: '取消',