Browse Source

前端 sdy

zhongtianhaoyuan 3 years ago
parent
commit
79152a5682

+ 3 - 1
src/api/V2/houseSelfCollect/index.js

@@ -83,4 +83,6 @@ export const API_GET_INSPECT_GETDRYGRAINPRICE = '/purchasePrice/dryGrainPrice'
 //付款权限查询
 //付款权限查询
 export const API_GET_INSPECT_GETJURISDICTION = '/paymentManagement/selectTaskId'
 export const API_GET_INSPECT_GETJURISDICTION = '/paymentManagement/selectTaskId'
 //财务开票
 //财务开票
-export const API_GET_INVOICING = '/paymentManagement/readXmlManagement'
+// export const API_GET_INVOICING = '/paymentManagement/readXmlManagement'
+//财务开票
+export const API_GET_INVOICING = '/paymentManagement/api/readXmlManagement'

+ 4 - 2
src/model/houseSelfCollect/index.js

@@ -129,5 +129,7 @@ export const settlementEdit = appRx.post(API_POST_PAYMENT_SETTLEMENTEDIT, errorC
 export const getDryGrainPrice = appRx.get(API_GET_INSPECT_GETDRYGRAINPRICE, errorCatcher, errorHandle, filter)
 export const getDryGrainPrice = appRx.get(API_GET_INSPECT_GETDRYGRAINPRICE, errorCatcher, errorHandle, filter)
 //付款权限查询
 //付款权限查询
 export const getJurisdiction  = appRx.get(API_GET_INSPECT_GETJURISDICTION, errorCatcher, errorHandle, filter)
 export const getJurisdiction  = appRx.get(API_GET_INSPECT_GETJURISDICTION, errorCatcher, errorHandle, filter)
-//财务开票
-export const invoicing  = appRx.get(API_GET_INVOICING, errorCatcher, errorHandle, filter)
+//财务开票get
+// export const invoicing  = appRx.get(API_GET_INVOICING, errorCatcher, errorHandle, filter)
+//财务开票post
+export const invoicing  = appRx.post(API_GET_INVOICING, errorCatcher, errorHandle, filter)

+ 2 - 11
src/views/houseSelfCollect/paymentManagement.vue

@@ -125,7 +125,7 @@
           <span v-else>{{ scope.row.status }}</span>
           <span v-else>{{ scope.row.status }}</span>
         </template>
         </template>
       </el-table-column>
       </el-table-column>
-      <el-table-column class="table_td" prop="collectionEdPayable" label="操作" width="200">
+      <el-table-column class="table_td" prop="collectionEdPayable" label="操作" width="300">
         <template scope="scope">
         <template scope="scope">
           <span v-hasPermission="`acquisitionManagement.acquisitionPay.add`">
           <span v-hasPermission="`acquisitionManagement.acquisitionPay.add`">
             <el-button
             <el-button
@@ -135,10 +135,6 @@
                     scope.row.status == '待结算'
                     scope.row.status == '待结算'
                   "
                   "
               @click="settlement(1, scope.row)"
               @click="settlement(1, scope.row)"
-            >结算</el-button>
-                      <el-button
-            
-              @click="settlement(1, scope.row)"
             >结算</el-button>
             >结算</el-button>
           </span>
           </span>
 
 
@@ -337,22 +333,17 @@ export default {
   },
   },
   methods: {
   methods: {
     invoicingClick(){
     invoicingClick(){
-      
       let data = JSON.stringify({
       let data = JSON.stringify({
-        paymentManagement :this.modification
+        paymentManagementList : this.modification
       })
       })
-      console.log("开票",data)
       //开票
       //开票
         invoicing(data)
         invoicing(data)
         .toPromise()
         .toPromise()
         .then(response => {
         .then(response => {
           console.log(response)
           console.log(response)
-    
         })
         })
     },
     },
     selectType(val) {
     selectType(val) {
-      console.log(val)
-      console.log(this.ruleForm.type)
       for (let i = 0; i < this.ruleForm.type.length; i++) {
       for (let i = 0; i < this.ruleForm.type.length; i++) {
         switch (this.ruleForm.type[i]) {
         switch (this.ruleForm.type[i]) {
           case '打印身份证(正反面)':
           case '打印身份证(正反面)':

+ 3 - 2
src/views/statisticalReport/huoyunList.vue

@@ -108,8 +108,8 @@
           </el-select>
           </el-select>
         </el-col>
         </el-col>
       </el-row>
       </el-row>
-      <!-- v-if="actualFreight && tranPriceIng" -->
-      <div class="freightSet" >
+     
+      <div class="freightSet" v-if="processNo">
         <div style="display: flex;width:200px;line-height: 30px;"> 预计运费(元):{{tranPriceIng}}元</div>
         <div style="display: flex;width:200px;line-height: 30px;"> 预计运费(元):{{tranPriceIng}}元</div>
         <span style="display: flex;line-height: 30px;">实际运费(元):<el-input type="text" maxlength="70" size="small"  v-model="actualFreight" v-show="textShow"/><span v-show="!textShow">{{actualFreight}}</span>元</span>
         <span style="display: flex;line-height: 30px;">实际运费(元):<el-input type="text" maxlength="70" size="small"  v-model="actualFreight" v-show="textShow"/><span v-show="!textShow">{{actualFreight}}</span>元</span>
         <i @click="actualFreightchange" class="iconfont icon-dui" v-show="textShow" style="margin-top:10px"></i>
         <i @click="actualFreightchange" class="iconfont icon-dui" v-show="textShow" style="margin-top:10px"></i>
@@ -1533,6 +1533,7 @@ hr {
  width: 100px;
  width: 100px;
 }
 }
 .freightSet{
 .freightSet{
+  margin: 10px 0 0 20px;
   display: flex;
   display: flex;
   width:500px;
   width:500px;
 }
 }

+ 2 - 1
src/views/statisticalReport/shippingList.vue

@@ -110,7 +110,7 @@
         </el-col>
         </el-col>
       </el-row>
       </el-row>
       <!-- v-if="actualFreight && tranPriceIng" -->
       <!-- v-if="actualFreight && tranPriceIng" -->
-       <div class="freightSet">
+       <div class="freightSet" v-if="processNo">
         <div style="display: flex;width:200px;line-height: 30px;"> 预计运费(元):{{tranPriceIng}}元</div>
         <div style="display: flex;width:200px;line-height: 30px;"> 预计运费(元):{{tranPriceIng}}元</div>
         <span style="display: flex;line-height: 30px;">实际运费(元):<el-input type="text" maxlength="70" size="small"  v-model="actualFreight" v-show="textShow"/><span v-show="!textShow">{{actualFreight}}</span>元</span>
         <span style="display: flex;line-height: 30px;">实际运费(元):<el-input type="text" maxlength="70" size="small"  v-model="actualFreight" v-show="textShow"/><span v-show="!textShow">{{actualFreight}}</span>元</span>
         <i @click="actualFreightchange" class="iconfont icon-dui" v-show="textShow" style="margin-top:10px"></i>
         <i @click="actualFreightchange" class="iconfont icon-dui" v-show="textShow" style="margin-top:10px"></i>
@@ -1543,6 +1543,7 @@ hr {
  width: 100px;
  width: 100px;
 }
 }
 .freightSet{
 .freightSet{
+  margin: 10px 0 0 20px;
   display: flex;
   display: flex;
   width:500px;
   width:500px;
 }
 }

+ 2 - 2
src/views/taskManagement/tranManagementWarehouseInOutTaskEdit.vue

@@ -941,8 +941,8 @@ export default {
         .toPromise()
         .toPromise()
         .then(response => {
         .then(response => {
           this.$message.success('编辑成功')
           this.$message.success('编辑成功')
-          this.$router.go(-1)
-          // this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
+          // this.$router.go(-1)
+          this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
         })
         })
     },
     },
     //提交按钮
     //提交按钮

+ 5 - 2
src/views/warehouse/warehouseManagementList.vue

@@ -66,12 +66,12 @@
         /></ws-button>
         /></ws-button>
       </template>
       </template>
     </BaseHeaderLayout>
     </BaseHeaderLayout>
-    <div v-show="this.warehouseType == '1'">
+    <div v-show="this.warehouseType == '1'" class="main_css">
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="warehouseList"
         :data="warehouseList"
         style="width: 100%; margin-top: 20px"
         style="width: 100%; margin-top: 20px"
-        height="780"
+        height="100%"
       >
       >
         <el-table-column prop="warehouseName" label="仓库名" >
         <el-table-column prop="warehouseName" label="仓库名" >
         </el-table-column>
         </el-table-column>
@@ -815,5 +815,8 @@ export default {
     font-weight: 700;
     font-weight: 700;
     margin-bottom: 20px;
     margin-bottom: 20px;
 }
 }
+.main_css{
+  height: calc(100vh - 124px);
+}
 
 
 </style>
 </style>

+ 8 - 1
src/views/warehouse/warehouseManagementNoWeight.vue

@@ -1,3 +1,4 @@
+//检斤待完成
 <template>
 <template>
   <div class="container">
   <div class="container">
     <el-row>
     <el-row>
@@ -20,7 +21,8 @@
         >
         >
       </el-col>
       </el-col>
     </el-row>
     </el-row>
-    <ws-form ref="deptBudgetList" :v-model="deptBudgetList">
+    <el-main class="main_css">
+<ws-form ref="deptBudgetList" :v-model="deptBudgetList">
       <div class="center">
       <div class="center">
         <h2 style="padding-left: 20px">
         <h2 style="padding-left: 20px">
           <img
           <img
@@ -114,6 +116,8 @@
        
        
       </div>
       </div>
     </ws-form>
     </ws-form>
+    </el-main>
+    
   </div>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -551,4 +555,7 @@ export default {
   color: #ffffff;
   color: #ffffff;
   line-height: 20px;
   line-height: 20px;
 }
 }
+.main_css{
+height: calc(100vh - 120px);
+}
 </style>
 </style>