Forráskód Böngészése

2.26施工班组变更2

bulusiLuo 1 éve
szülő
commit
51507b17a9

+ 6 - 6
public/envConfig/evn.dev.js

@@ -4,9 +4,9 @@ export default {
   // ESRI_COBFIG_URL: '192.168.2.91:9000',
   // MAP_SERVICE_URL: '192.168.2.91:9000',
   // 公司环境
-  BASE_URL: 'http://221.182.8.141:8382',
-  ESRI_COBFIG_URL: '221.182.8.141:8382',
-  MAP_SERVICE_URL: '221.182.8.141:8382'
+  // BASE_URL: 'http://221.182.8.141:8382',
+  // ESRI_COBFIG_URL: '221.182.8.141:8382',
+  // MAP_SERVICE_URL: '221.182.8.141:8382'
   // 测试接口
   // BASE_URL: 'http://192.168.2.15:8382',
   // ESRI_COBFIG_URL: '192.168.2.15:8382',
@@ -19,7 +19,7 @@ export default {
   // ESRI_COBFIG_URL: '192.168.2.20:9000',
   // MAP_SERVICE_URL: '192.168.2.20:9000',
   //* ***************正式环境接口地址**************** */
-  // BASE_URL: 'http://36.134.27.109:10082',
-  // ESRI_COBFIG_URL: '36.134.27.109:10082',
-  // MAP_SERVICE_URL: '36.134.27.109:10082'
+  BASE_URL: 'http://36.134.27.109:10082',
+  ESRI_COBFIG_URL: '36.134.27.109:10082',
+  MAP_SERVICE_URL: '36.134.27.109:10082'
 }

+ 2 - 1
src/views/zhpt/projectManager/newInstall/recieveMaterial/addProject/MaterialTable.vue

@@ -215,7 +215,8 @@ export default {
       const bUserNum = parseFloat(quantityAll || 0) - useNum //预计还需要使用(预计量+补充量-实际已使用)
       //实际可使用量(预计使用量小于库存则等于预计使用量,预计使用量大于库存则使用库存)
       const maxUser = bUserNum < parseFloat(availableqty) ? bUserNum : parseFloat(availableqty) //预计使用大于库存则只能使用库存值,如果小于则使用预计量
-      return maxUser
+      const maxUser2 = maxUser - applyNum
+      return maxUser2
     },
     getStep(val, max) {
       let step = Number(`1${'0'.repeat(String(val).length)}`) / 20

+ 15 - 8
src/views/zhpt/statisticalReport/paidreport/index.vue

@@ -8,12 +8,8 @@
       <addFlow v-model="flowShow2" :sureFlowAction="sureFlowAction"></addFlow>
     </el-row>
     <div :style="'width: 100%;padding:8px;height:calc(100% - ' + rowHeight + 'px);'">
-      <tableCom
-        v-if="tableConfig.method || tableConfig.testData"
-        ref="tableCom"
-        v-model="tableInfo"
-        :config="tableConfig"
-      ></tableCom>
+      <tableCom v-if="tableConfig.method || tableConfig.testData" ref="tableCom" v-model="tableInfo"
+        :config="tableConfig"></tableCom>
     </div>
   </div>
 </template>
@@ -159,6 +155,16 @@ export default {
             field: 'amount', //对应的字段
             width: '150'
           },
+          {
+            label: '结算总金额(元)', //表头显示
+            field: 'settlementSum', //对应的字段
+            width: '170'
+          },
+          {
+            label: '实收总金额(元)', //表头显示
+            field: 'totalAmount', //对应的字段
+            width: '170'
+          },
           {
             label: '缴费日期', //表头显示
             field: 'paymentDate', //对应的字段
@@ -210,7 +216,7 @@ export default {
     this.sureFlowAction = this.$store.state.routeSetting.registerShow && true
     this.$store.dispatch('routeSetting/registerShow', false)
   },
-  destroyed() {},
+  destroyed() { },
   watch: {
     flowShow() {
       if (!this.flowShow) {
@@ -379,9 +385,10 @@ export default {
 </script>
 <style lang='scss' scoped>
 .pageContentDiv {
-  .searchDiv > * {
+  .searchDiv>* {
     margin-top: 10px;
   }
+
   .el-button {
     position: relative;
     float: left;