소스 검색

前端sdy

zhongtianhaoyuan 4 년 전
부모
커밋
3a726d79f0

+ 1 - 1
src/views/contractManagement/purchaseContractAdd.vue

@@ -16,7 +16,7 @@
         >
       </el-col>
     </el-row>
-
+   
     <ws-form
       ref="deptBudgetList"
       :rules="mainReportAdd"

+ 4 - 5
src/views/contractManagement/salesContract.vue

@@ -462,10 +462,10 @@ export default {
 
     // 关闭 dialog时 处理文件url 初始化upload组件
     handleExamine(row) {
-      console.log(row)
+    
       this.$router.push({
         name: 'salesContractExamine',
-        query: { id: row.id, status: row.status },
+        query: { id: row.id },
       })
     },
     handleAdd() {
@@ -481,10 +481,9 @@ export default {
     handleEdit(row) {
       this.$router.push({
         name: 'salesContractEdit',
-        query: { id: row.id },
+        params: { id: row.id },
       })
     },
-
     approve() {},
     listQuery() {},
     total() {},
@@ -498,8 +497,8 @@ export default {
         handleDelete = '已完成'
       }
       this.$confirm(`合同删除后不可恢复,是否继续删除?`, '提示', {
-        confirmButtonText: '确定',
         cancelButtonText: '取消',
+        confirmButtonText: '确定',
         type: 'warning',
       })
         .then(() => {

+ 53 - 15
src/views/contractManagement/salesContractAdd.vue

@@ -636,9 +636,6 @@ export default {
     this.showType = this.isShow
   },
   methods: {
-    
-
-
     // 关闭 dialog时 处理文件url 初始化upload组件
     handleClose() {
       this.dialogViewSpareMoney = false
@@ -831,14 +828,7 @@ export default {
         });
         return
       }
-      //时间
-        if(this.deptBudgetList.deliveryDateStart>this.deptBudgetList.deliveryDateEnd){
-           this.$message({
-          message:'时间输入有误!',
-          type:'warning'
-        });
-        return
-        }
+     
       this.$refs.deptBudgetList.validate((valid) => {
         if (valid) {
           this.deptBudgetList.compId = this.compId
@@ -1143,11 +1133,59 @@ export default {
   overflow: scroll;
   height: 93vh;
 }
-/deep/.ws-info-table[data-v-850a44a6] .el-form-item .el-form-item__label{
-  width: 130px;
+//*号
+.unchangeable{
+position: absolute;
+ width: 9px;
+height: 22px;
+font-size: 16px;
+font-family: PingFangSC-Medium, PingFang SC;
+font-weight: 500;
+color: #FF2727;
+line-height: 22px;
+display: inline-block;
+right: 14px;
 }
-/deep/.el-date-editor.el-input{
-  width: 232px;
+// /deep/.ws-info-table[data-v-850a44a6] .el-form-item .el-form-item__label{
+//   width: 130px;
+// }
+// /deep/.el-date-editor.el-input{
+//   width: 232px;
+// }
+// /deep/.el-input--small .el-input__inner {
+//     height: 32px;
+//     line-height: 32px;
+//     width: 232px;
+// }
+// /deep/.el-form-item__content .el-select {
+//     width: 232px;
+// }
+// /deep/.el-input--small{
+//   width: 232px;
+// }
+/deep/.el-input ,/deep/.el-date-editor{
+    font-size: 13px;
+    width: 232px;
+    left: 21px;
+}
+/deep/.el-textarea{
+  width: 900px;
+  margin: 0px;
+}
+/deep/el-date-editor--date{
+  width: 200px;
+}
+.unchanged{
+  position: absolute;
+  left: 37px;
+  width: 102px;
+height: 14px;
+font-size: 14px;
+font-family: PingFangSC-Regular, PingFang SC;
+font-weight: 400;
+color: #AFB5CB;
+line-height: 14px;
+
 }
 /deep/.el-input--small .el-input__inner {
     height: 32px;

+ 57 - 9
src/views/contractManagement/salesContractExamine.vue

@@ -20,7 +20,12 @@
         >
       </el-col>
     </el-row>
-
+     <div class="state">
+      <h2>销售合同</h2>
+      <p>【编号:{{deptBudgetList.contractNo}}】</p>
+      <span class="icon">&nbsp;&nbsp;{{ deptBudgetList.status }}</span>
+    </div>
+     <div class="center">
     <ws-form
       ref="deptBudgetList"
       :rules="mainReportAdd"
@@ -235,23 +240,24 @@
             {{ deptBudgetList.contractProcessInfo.imperfectGrain }}
           </div>
         </ws-form-item>
-        <ws-form-item label="双章原件回收情况" span="1" prop="grade">
+        <!-- <ws-form-item label="双章原件回收情况" span="1" prop="grade">
           <div class="unchanged">
             {{ deptBudgetList.contractProcessInfo.grade }}
           </div>
 
           >{{ deptBudgetList.contractProcessInfo.imperfectGrain }}
-        </ws-form-item>
-        <ws-form-item label="双章原件回收情况" span="1" prop="grade"
-          >{{deptBudgetList.contractProcessInfo.grade}}
-
+        </ws-form-item> -->
+        <ws-form-item label="双章原件回收情况" span="1" prop="grade" >
+           <div class="unchanged">
+          {{deptBudgetList.contractProcessInfo.grade}}
+           </div>
         </ws-form-item>
       </ws-info-table>
       <div class="remark">
         <h3>备注信息</h3>
       </div>
 
-        <div class="unchanged">
+        <div class="unchanged beizhu">
       {{ deptBudgetList.remarks }}
         </div> 
 
@@ -268,6 +274,7 @@
         >关闭</el-button
       >
     </div>
+    </div>
   </div>
 </template>
 
@@ -548,8 +555,41 @@ export default {
 .container {
   overflow: scroll;
   height: 93vh;
+  
+}
+.state{
+  width: 900px;
+  margin: 0 auto;
+}
+.state h2,.state p{
+   display: inline-block;
+}
+.state p{
+   display: inline-block;
+   margin-left: 10px;
+   width: 170px;
+height: 20px;
+font-size: 14px;
+font-family: PingFangSC-Regular, PingFang SC;
+font-weight: 400;
+color: #000000;
+line-height: 20px;
+}
+.icon{
+  display: inline-block;
+  width: 60px;
+height: 24px;
+background: #ECFEFF;
+border-radius: 12px;
+border: 1px solid #50CAD4;
+position: relative;
+font-family: PingFangSC-Regular, PingFang SC;
+font-size: 14px;
+color: #50CAD4;
+line-height: 24px;
 }
-//*号
+
+ //*号
 .unchangeable{
 position: absolute;
  width: 9px;
@@ -574,16 +614,24 @@ right: 14px;
 /deep/el-date-editor--date{
   width: 200px;
 }
+.beizhu{
+   position: absolute;
+
+  margin: 0 auto;
+ 
+}
 .unchanged{
   position: absolute;
   left: 37px;
-  width: 102px;
+  width: 900px;
 height: 14px;
 font-size: 14px;
 font-family: PingFangSC-Regular, PingFang SC;
 font-weight: 400;
 color: #AFB5CB;
 line-height: 14px;
+
+
 }
 /deep/.ws-info-table[data-v-850a44a6] .el-form-item .el-form-item__label{
   width: 130px;