瀏覽代碼

中文问题

codeMan 8 月之前
父節點
當前提交
177223a78b

+ 2 - 0
src/HDrpManagement/projectChange/modules/modules/contract/components/add.vue

@@ -588,6 +588,7 @@ export default {
               this.form.discountrate ? this.form.discountrate =  (this.form.discountrate / 100).toFixed(4) : ''
               this.form.productdiscount ? this.form.productdiscount =  (this.form.productdiscount / 100).toFixed(4) : ''
               this.form.orderratio ? this.form.orderratio =  (this.form.orderratio / 100).toFixed(4) : ''
+              this.form.source = 1
               let res = await this.$api.requested({
                 "id":20221121185302,
                 "content": this.form
@@ -617,6 +618,7 @@ export default {
             this.form.discountrate ? this.form.discountrate =  (this.form.discountrate / 100).toFixed(4) : ''
             this.form.productdiscount ? this.form.productdiscount =  (this.form.productdiscount / 100).toFixed(4) : ''
             this.form.orderratio ? this.form.orderratio =  (this.form.orderratio / 100).toFixed(4) : ''
+            this.form.source = 1
             let res = await this.$api.requested({
               "id":20221121185302,
               "content": this.form

+ 1 - 1
src/components/normal-basic-layout/index.vue

@@ -62,7 +62,7 @@
               <drawerTemp class="inline-16" v-if="detailPath && checkRowStatus(scope.data.status)" :data="scope.data" :detailPath="detailPath" :idName="idName" @onSuccess="listData"></drawerTemp>
               <slot :data="scope" name="tbOpreation"></slot>
               <!--systemappid != 163 排除报表应用-->
-              <reportCenter class="inline-16"  size="mini" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163">
+              <reportCenter class="inline-16"  size="mini" :data="reportCenterLsit.filter(item => item.type == 'printinfo')" v-if="reportCenterLsit.filter(item => item.type == 'printinfo').length > 0 && systemappid != 163" :status="scope.data.status">
                 <template v-slot:print="scope2">
                   <el-button @click="printBtn(scope.data,scope2.data)" type="text" size="mini">打 印</el-button>
                 </template>

+ 3 - 3
src/components/normal-basic-layout/reportCenter/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-button :type="position == 'detail' ? 'primary' : 'text'" :size="size || 'mini'" @click="drawer=true">{{ btnName ? btnName : '导 出' }}</el-button>
+    <el-button :type="position == 'detail' ? 'primary' : 'text'" :size="size || 'mini'" @click="drawer=true" v-if="($route.name === 'quotedprice' && status === '审核') || $route.name !== 'quotedprice'">{{ btnName ? btnName : '导 出' }}</el-button>
     <el-drawer
     :visible.sync="drawer"
     :with-header="false"
@@ -34,7 +34,7 @@
 
 <script>
 export default {
-  props:['data','position','size','btnName'],
+  props:['data','position','size','btnName','status'],
   name: '',
   data() {
     return {
@@ -48,7 +48,7 @@ export default {
   },
   watch:{
   },
-  methods: {},
+  methods: {}
 };
 </script>
 

+ 1 - 1
vue.config.js

@@ -14,7 +14,7 @@ module.exports = {
       port: 8000,
       proxy: {
         '/apis': {
-          target: 'http://61.164.207.46:8001',  // target host*/
+          target: 'http://61.164.207.46:8000',  // target host*/
           // target: 'http://192.168.3.13:8080',  // target host*!
           // target: 'http://192.168.3.9:8090',  // target host*!
           // target: 'https://oms.idcgroup.com.cn:8079/',  // target host