gjy 4 éve
szülő
commit
8baf0375be

+ 2 - 0
src/model/procurement/spare.js

@@ -78,6 +78,7 @@ import {
   API_POST_PURSPAPPLDETAIL_DELETEPART,
   API_POST_PURSPAPPLDETAIL_DELETEPART,
   API_POST_UPLOAD,
   API_POST_UPLOAD,
   API_POST_DELFILE,
   API_POST_DELFILE,
+  API_GET_CONTRACT_TENANT
 } from '@/api/V2/purchase'
 } from '@/api/V2/purchase'
 export const fetchList = appRx.get(API_GET_SP_PAGE, errorCatcher, errorHandle, filter)
 export const fetchList = appRx.get(API_GET_SP_PAGE, errorCatcher, errorHandle, filter)
 export const selectHistory = appRx.get(API_GET_SP_PUR_HISTORY, errorCatcher, errorHandle, filter)
 export const selectHistory = appRx.get(API_GET_SP_PUR_HISTORY, errorCatcher, errorHandle, filter)
@@ -157,3 +158,4 @@ export const getMailHostTypeListByTypeId = appRx.get(API_GET_MAIL_DETAIL, errorC
 export const delApplTempOther = appRx.post(API_POST_PURSPAPPLDETAIL_DELETEPART, errorCatcher, errorHandle, filter)
 export const delApplTempOther = appRx.post(API_POST_PURSPAPPLDETAIL_DELETEPART, errorCatcher, errorHandle, filter)
 export const upload = appRx.post(API_POST_UPLOAD, errorCatcher, errorHandle, filter)
 export const upload = appRx.post(API_POST_UPLOAD, errorCatcher, errorHandle, filter)
 export const delFile = appRx.post(API_POST_DELFILE, errorCatcher, errorHandle, filter)
 export const delFile = appRx.post(API_POST_DELFILE, errorCatcher, errorHandle, filter)
+export const getList = appRx.get(API_GET_CONTRACT_TENANT, errorCatcher, errorHandle, filter)

+ 6 - 2
src/views/contractManagement/purchaseContract.vue

@@ -72,7 +72,7 @@
         >
         >
       </template>
       </template>
     </BaseHeaderLayout>
     </BaseHeaderLayout>
-    <el-table
+    <el-table class="wenzi"
       :data="contractList.records"
       :data="contractList.records"
       style="width: 100%; margin-top: 10px"
       style="width: 100%; margin-top: 10px"
     >
     >
@@ -254,7 +254,7 @@ export default {
       this.$router.push({ path: 'purchaseContractEdit' })
       this.$router.push({ path: 'purchaseContractEdit' })
     },
     },
     // 关闭 dialog时 处理文件url 初始化upload组件
     // 关闭 dialog时 处理文件url 初始化upload组件
-    handleClose() {
+    handleCloe() {
       this.dialogViewSpareMoney = false
       this.dialogViewSpareMoney = false
     },
     },
     find() {},
     find() {},
@@ -284,6 +284,10 @@ export default {
 }
 }
 </script>
 </script>
 <style lang="scss" scoped>
 <style lang="scss" scoped>
+
+/deep/.cell{
+  text-align: center;
+}
 .typeselect {
 .typeselect {
   width: 500px;
   width: 500px;
 }
 }

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

@@ -274,7 +274,7 @@
         />
         />
           </ws-form-item>
           </ws-form-item>
         </ws-info-table>
         </ws-info-table>
-      </base-card>
+      <base-card>
       <!--面试信息-->
       <!--面试信息-->
       <div class="remark">
       <div class="remark">
       <h3>货物信息</h3>
       <h3>货物信息</h3>

+ 48 - 39
src/views/contractManagement/salesContract.vue

@@ -2,41 +2,12 @@
 <!--2019年5月30日 20:25:16 by jlx-->
 <!--2019年5月30日 20:25:16 by jlx-->
 <template>
 <template>
   <div>
   <div>
-    <BaseHeaderLayout :leftSpan="10">
+    <BaseHeaderLayout :leftSpan="16"> 
+     
       <template slot="left">
       <template slot="left">
-        <ws-button
-          type="primary"
-          :disable="checkBtn"
-          @click="handleAdd()"
-          v-hasPermission="
-            `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-          "
-          >添加</ws-button
-        >
-        <ws-button
-          :disable="checkBtn"
-          @click="enquiry(3)"
-          v-hasPermission="
-            `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
-          "
-          >导出</ws-button
-        >
-      </template>
-      <template slot="right">
-        <ws-select
-          v-model="deptBudgetList.crtDutyId"
-          placeholder=""
-          class="typeselect"
-          @change="selectCrtDuty"
-        >
-          <ws-option
-            v-for="item in taskTypeList"
-            :key="item.value"
-            :label="item.value"
-            :value="item.value"
-          />
-        </ws-select>
-        <ws-date-picker
+       
+       
+        <ws-date-picker class="times"
           :picker-options="pickerBeginDateBefore"
           :picker-options="pickerBeginDateBefore"
           v-model="deptBudgetList.birthday"
           v-model="deptBudgetList.birthday"
           type="date"
           type="date"
@@ -46,7 +17,7 @@
           value-format="yyyy-MM-dd"
           value-format="yyyy-MM-dd"
         />
         />
         <span>至</span>
         <span>至</span>
-        <ws-date-picker
+        <ws-date-picker class="times"
           :picker-options="pickerBeginDateBefore"
           :picker-options="pickerBeginDateBefore"
           v-model="deptBudgetList.birthday"
           v-model="deptBudgetList.birthday"
           type="date"
           type="date"
@@ -55,7 +26,7 @@
           format="yyyy-MM-dd"
           format="yyyy-MM-dd"
           value-format="yyyy-MM-dd"
           value-format="yyyy-MM-dd"
         />
         />
-        <ws-input
+        <ws-input 
           v-model="deptBudgetList.interviewOpinion"
           v-model="deptBudgetList.interviewOpinion"
           placeholder="可按照合同编号、买方名称、卖方名称进行查找"
           placeholder="可按照合同编号、买方名称、卖方名称进行查找"
           clearable
           clearable
@@ -73,8 +44,42 @@
           "
           "
           >查找</ws-button
           >查找</ws-button
         >
         >
+          <ws-select
+          v-model="deptBudgetList.crtDutyId"
+          placeholder=""
+          class="typeselect"
+          @change="selectCrtDuty"
+        >
+       
+          <ws-option class="topcenter"
+            v-for="item in taskTypeList"
+            :key="item.value"
+            :label="item.value"
+            :value="item.value"
+          />
+        </ws-select>
+      </template>
+       <template slot="right" >
+         
+        <ws-button
+          type="primary"
+          :disable="checkBtn"
+          @click="handleAdd()"
+          v-hasPermission="
+            `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
+          "
+          >添加</ws-button
+        >
+        <ws-button
+          :disable="checkBtn"
+          @click="enquiry(3)"
+          v-hasPermission="
+            `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
+          "
+          >导出</ws-button
+        >
       </template>
       </template>
-    </BaseHeaderLayout>
+    </BaseHeaderLayout> 
     <el-table :data="tableData" style="width: 100%; margin-top: 10px">
     <el-table :data="tableData" style="width: 100%; margin-top: 10px">
       <el-table-column type="index" />
       <el-table-column type="index" />
       <el-table-column prop="date" label="合同编号" width="80">
       <el-table-column prop="date" label="合同编号" width="80">
@@ -149,6 +154,7 @@ export default {
       contractForm: {},
       contractForm: {},
       categoryIndex: 0,
       categoryIndex: 0,
       rulesVendor: {},
       rulesVendor: {},
+      pickerBeginDateBefore:{},
       tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
       tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
       taskTypeList: [
       taskTypeList: [
         { value: '未完成(默认)' },
         { value: '未完成(默认)' },
@@ -234,7 +240,10 @@ export default {
   },
   },
 }
 }
 </script>
 </script>
+
 <style lang="scss" scoped>
 <style lang="scss" scoped>
+
+
 .padding-xs {
 .padding-xs {
   padding: 15px;
   padding: 15px;
   text-align: right;
   text-align: right;
@@ -316,7 +325,7 @@ export default {
 }
 }
 .box-app {
 .box-app {
   display: inline-block;
   display: inline-block;
-  float: left;
+  
   margin-left: 30px;
   margin-left: 30px;
   line-height: 50px;
   line-height: 50px;
 }
 }
@@ -399,4 +408,4 @@ export default {
     padding: 0 !important;
     padding: 0 !important;
   }
   }
 }
 }
-</style>
+</style>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 365 - 494
src/views/contractManagement/salesContractEdit.vue


+ 1 - 1
vue.config.js

@@ -144,7 +144,7 @@ module.exports = {
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
         // target: 'http://localhost:8090/',
         // target: 'http://192.168.1.124:8090/',
         // target: 'http://192.168.1.124:8090/',
-        target: 'http://192.168.1.110:8090/',
+        target: 'http://192.168.1.124:8090/',
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://product-server.winsea.com/',
         // target: 'http://product-server.winsea.com/',
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://192.168.24.5:8098',//目标地址

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott