浏览代码

报价单、合同同步合作协议国际化展示调整

qymljy 4 月之前
父节点
当前提交
4cbc0a4218
共有 2 个文件被更改,包括 38 次插入50 次删除
  1. 21 27
      src/HDrpManagement/contractManage/modules/detail.vue
  2. 17 23
      src/SDrpManagement/QuotedPrice/detail/index.vue

+ 21 - 27
src/HDrpManagement/contractManage/modules/detail.vue

@@ -43,23 +43,20 @@
             </template>
             <template v-slot:cooperate="scope">
               <el-button :disabled="mainData.status !== '新建'" size="small" :type="mainData.status === '新建'?'primary':''" @click="cooperateVisible = true" v-if="tool.checkAuth($route.name,'productBillManage') && isLeader">{{$t('同步合作协议')}}</el-button>
-              <el-dialog :title="$t('同步合作协议')" :visible.sync="cooperateVisible" append-to-body width="703px">
+              <el-dialog :title="$t('同步合作协议')" :visible.sync="cooperateVisible" append-to-body width="725px">
                 <span style="color: #8C8C8C;font-size: 14px">{{$t('请选择同步更新经销商/直销客户合作协议产品的方式')}}:</span>
                 <el-form :model="cooperateForm" style="margin-top: 20px">
                   <el-radio v-model="cooperateForm.isadd" label="1" style="margin-bottom: 20px">
-                    <span style="font-size: 16px;color: #333333">{{$t('同步添加合作协议产品')}}</span><br><br>
-                    <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                    {{$t('将协议中所有产品添加到表体,若表体已存在产品,则协议中相同产品的信息及其折扣价格覆盖更新')}}
-                  </span><br><br>
-                    <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                    {{$t('到表体')}}。
-                  </span> <br><br>
+                    <span style="font-size: 16px;color: #333333;white-space:normal;">{{$t('同步添加合作协议产品')}}</span><br><br>
+                    <div style="font-size: 14px;color: #8C8C8C;padding-left:20px;white-space:normal;">
+                    {{$t('将协议中所有产品添加到表体,若表体已存在产品,则协议中相同产品的信息及其折扣价格覆盖更新到表体。')}}
+                    </div>
                   </el-radio>
                   <el-radio v-model="cooperateForm.isadd" label="0">
-                    <span style="font-size: 16px;color: #333333">{{$t('仅更新合作协议的产品折扣价格')}}</span><br><br>
-                    <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                   {{$t('将协议中与表体相同的产品信息及其折扣价格覆盖更新到表体,不添加协议产品')}}
-                  </span>
+                    <span style="font-size: 16px;color: #333333;white-space:normal;">{{$t('仅更新合作协议的产品折扣价格')}}</span><br><br>
+                    <div style="font-size: 14px;color: #8C8C8C;padding-left:20px;white-space:normal;">
+                      {{$t('将协议中与表体相同的产品信息及其折扣价格覆盖更新到表体,不添加协议产品')}}
+                    </div>
                   </el-radio>
                 </el-form>
                 <div slot="footer" class="dialog-footer">
@@ -85,7 +82,7 @@
             ></importFile>
             <template v-slot:cooperate="scope">
               <el-button class="inline-16" :disabled="mainData.status !== '新建'" size="small" :type="mainData.status === '新建'?'primary':''" @click="cooperateVisible = true" v-if="tool.checkAuth($route.name,'productDetailManage') && isLeader && mainData.type == '居间'">{{$t('同步协议')}}</el-button>
-              <el-dialog title="同步协议" :visible.sync="cooperateVisible" append-to-body width="703px" center>
+              <el-dialog :title="$t(`同步协议`)" :visible.sync="cooperateVisible" append-to-body width="703px" center>
               <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
                 {{$t('是否添加关联的项目或客户合同中的产品明细同步更新到列表')}}
               </span>
@@ -114,7 +111,7 @@
             ></importFile>
             <template v-slot:cooperate="scope">
               <el-button class="inline-16" :disabled="mainData.status !== '新建'" size="small" :type="mainData.status === '新建'?'primary':''" @click="cooperateVisible = true" v-if="tool.checkAuth($route.name,'productDetailManage') && isLeader && mainData.type == '居间'">{{$t('同步协议')}}</el-button>
-              <el-dialog title="同步协议" :visible.sync="cooperateVisible" append-to-body width="703px" center>
+              <el-dialog :title="$t(`同步协议`)" :visible.sync="cooperateVisible" append-to-body width="703px" center>
               <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
                 {{$t('是否添加关联的项目或客户合同中的产品明细同步更新到列表')}}
               </span>
@@ -146,7 +143,7 @@
             </template>
             <template v-slot:cooperate="scope">
               <el-button class="inline-16" :disabled="mainData.status !== '新建'" size="small" :type="mainData.status === '新建'?'primary':''" @click="cooperateVisible = true" v-if="tool.checkAuth($route.name,'productClassManage') && isLeader && mainData.type == '居间'">{{$t('同步协议')}}</el-button>
-              <el-dialog title="同步协议" :visible.sync="cooperateVisible" append-to-body width="703px" center>
+              <el-dialog :title="$t(`同步协议`)" :visible.sync="cooperateVisible" append-to-body width="703px" center>
               <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
                 {{$t('是否添加关联的项目或客户合同中的产品类别同步更新到列表')}}
               </span>
@@ -166,7 +163,7 @@
             </template>
             <template v-slot:cooperate="scope">
               <el-button class="inline-16" :disabled="mainData.status !== '新建'" size="small" :type="mainData.status === '新建'?'primary':''" @click="cooperateVisible = true" v-if="tool.checkAuth($route.name,'productClassManage') && isLeader && mainData.type == '居间'">{{$t('同步协议')}}</el-button>
-              <el-dialog title="同步协议" :visible.sync="cooperateVisible" append-to-body width="703px" center>
+              <el-dialog :title="$t(`同步协议`)" :visible.sync="cooperateVisible" append-to-body width="703px" center>
               <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
                 {{$t('是否添加关联的项目或客户合同中的产品类别同步更新到列表')}}
               </span>
@@ -184,23 +181,20 @@
             <template v-slot:cooperate="scope">
               <addClass class="inline-16" v-if="tool.checkAuth($route.name,'productClassManage') && mainData.status === '新建' && isLeader" :disabled="mainData.status != '新建' || !isLeader" :typeName="mainData.type" slot="addProduct" @onSuccess="$refs.itemClass.listData()" title="自产品类别添加"  ref="addProduct" @closeDrawer="closeDrawer"/>
               <el-button :disabled="mainData.status !== '新建'" size="small" :type="mainData.status === '新建'?'primary':''" @click="cooperateVisible = true" v-if="tool.checkAuth($route.name,'productClassManage') && isLeader">{{$t('同步合作协议')}}</el-button>
-              <el-dialog :title="$t('同步合作协议')" :visible.sync="cooperateVisible" append-to-body width="703px">
+              <el-dialog :title="$t('同步合作协议')" :visible.sync="cooperateVisible" append-to-body width="725px">
                 <span style="color: #8C8C8C;font-size: 14px">{{$t('请选择同步更新经销商/直销客户合作协议产品类别的方式')}}:</span>
                 <el-form :model="cooperateForm" style="margin-top: 20px">
                   <el-radio v-model="cooperateForm.isadd" label="1" style="margin-bottom: 20px">
-                    <span style="font-size: 16px;color: #333333">{{$t('同步添加合作协议产品类别及其折扣')}}</span><br><br>
-                    <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                    {{$t('将协议中所有产品类别及其折扣添加到表体,若表体已存在产品类别,则协议中相同产品类别的折扣')}}
-                  </span><br><br>
-                    <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                    {{$t('覆盖更新到表体')}}。
-                  </span> <br><br>
+                    <span style="font-size: 16px;color: #333333;white-space:normal;">{{$t('同步添加合作协议产品类别及其折扣')}}</span><br><br>
+                    <div style="font-size: 14px;color: #8C8C8C;padding-left:20px;white-space:normal;">
+                      {{$t('将协议中所有产品类别及其折扣添加到表体,若表体已存在产品类别,则协议中相同产品类别的折扣覆盖更新到表体。')}}
+                    </div>
                   </el-radio>
 
                   <el-radio v-model="cooperateForm.isadd" label="0">
-                    <span style="font-size: 16px;color: #333333">{{$t('仅更新合作协议的产品类别折扣')}}</span><br><br>
-                    <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                   {{$t('将协议中与表体相同的产品类别的折扣价格覆盖更新到表体,不添加协议的产品类别')}}
+                    <span style="font-size: 16px;color: #333333;white-space:normal;">{{$t('仅更新合作协议的产品类别折扣')}}</span><br><br>
+                    <span style="font-size: 14px;color: #8C8C8C;padding-left:20px;white-space:normal;">
+                   {{$t('将协议中与表体相同的产品类别的折扣价格覆盖更新到表体,不添加协议的产品类别')}}
                   </span>
                   </el-radio>
                 </el-form>

+ 17 - 23
src/SDrpManagement/QuotedPrice/detail/index.vue

@@ -40,23 +40,20 @@
         <productInventory ref="productList" :data="mainData" v-if="flag" :disabled="disabledFlag.disabled" :isLeader="isLeader" @productSuccess="queryMainData">
           <template v-slot:cooperate="scope">
             <el-button class="inline-16" :disabled="mainData.status !== '新建'" size="small" :type="mainData.status === '新建'?'primary':''" @click="cooperateVisible = true" v-if="tool.checkAuth($route.name,'productDetails') && disabledFlag.disabled">{{$t('同步合作协议')}}</el-button>
-            <el-dialog :title="$t(`同步合作协议`)" :visible.sync="cooperateVisible" append-to-body width="703px">
+            <el-dialog :title="$t(`同步合作协议`)" :visible.sync="cooperateVisible" append-to-body width="725px">
               <span style="color: #8C8C8C;font-size: 14px">{{$t('请选择同步更新经销商/直销客户合作协议产品的方式')}}:</span>
               <el-form :model="cooperateForm" style="margin-top: 20px">
                 <el-radio v-model="cooperateForm.isadd" label="1" style="margin-bottom: 20px">
-                  <span style="font-size: 16px;color: #333333">{{$t('同步添加合作协议产品')}}</span><br><br>
-                  <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                    {{$t('将协议中所有产品添加到表体,若表体已存在产品,则协议中相同产品的信息及其折扣价格覆盖更新')}}
-                  </span><br><br>
-                  <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                    {{$t('到表体')}}。
-                  </span><br><br>
+                  <span style="font-size: 16px;color: #333333;white-space:normal;">{{$t('同步添加合作协议产品')}}</span><br><br>
+                  <div style="font-size: 14px;color: #8C8C8C;padding-left:20px;white-space:normal;">
+                    {{$t('将协议中所有产品添加到表体,若表体已存在产品,则协议中相同产品的信息及其折扣价格覆盖更新到表体。')}}
+                  </div>
                 </el-radio>
                 <el-radio v-model="cooperateForm.isadd" label="0">
-                  <span style="font-size: 16px;color: #333333">{{$t('仅更新合作协议的产品折扣价格')}}</span><br><br>
-                  <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                   {{$t('将协议中与表体相同的产品信息及其折扣价格覆盖更新到表体,不添加协议产品')}}
-                  </span>
+                  <span style="font-size: 16px;color: #333333;white-space:normal;">{{$t('仅更新合作协议的产品折扣价格')}}</span><br><br>
+                  <div style="font-size: 14px;color: #8C8C8C;padding-left:20px;white-space:normal;">
+                   {{$t('将协议中与表体相同的产品信息及其折扣价格覆盖更新到表体,不添加协议产品')}}
+                  </div>
                 </el-radio>
               </el-form>
               <div slot="footer" class="dialog-footer">
@@ -81,19 +78,16 @@
               <span style="color: #8C8C8C;font-size: 14px">{{$t('请选择同步更新经销商/直销客户合作协议产品类别的方式')}}:</span>
               <el-form :model="cooperateForm" style="margin-top: 20px">
                 <el-radio v-model="cooperateForm.isadd" label="1" style="margin-bottom: 20px">
-                  <span style="font-size: 16px;color: #333333">{{$t('同步添加合作协议产品类别及其折扣')}}</span><br><br>
-                  <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                    {{$t('将协议中所有产品类别及其折扣添加到表体,若表体已存在产品类别,则协议中相同产品类别的折扣')}}
-                  </span><br><br>
-                  <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                    {{$t('覆盖更新到表体')}}。
-                  </span><br><br>
+                  <span style="font-size: 16px;color: #333333;white-space:normal;">{{$t('同步添加合作协议产品类别及其折扣')}}</span><br><br>
+                  <div style="font-size: 14px;color: #8C8C8C;padding-left:20px;white-space:normal;">
+                    {{$t('将协议中所有产品类别及其折扣添加到表体,若表体已存在产品类别,则协议中相同产品类别的折扣覆盖更新到表体。')}}
+                  </div>
                 </el-radio>
                 <el-radio v-model="cooperateForm.isadd" label="0">
-                  <span style="font-size: 16px;color: #333333">{{$t('仅更新合作协议的产品类别折扣')}}</span><br><br>
-                  <span style="font-size: 14px;color: #8C8C8C;margin: 20px 0 0 22px;padding-top: 20px">
-                   {{$t('将协议中与表体相同的产品类别的折扣价格覆盖更新到表体,不添加协议的产品类别')}}
-                  </span>
+                  <span style="font-size: 16px;color: #333333;white-space:normal;">{{$t('仅更新合作协议的产品类别折扣')}}</span><br><br>
+                  <div style="font-size: 14px;color: #8C8C8C;padding-left:20px;white-space:normal;">
+                   {{$t('将协议中与表体相同的产品类别的折扣价格覆盖更新到表体,不添加协议的产品类别')}}
+                  </div>
                 </el-radio>
               </el-form>
               <div slot="footer" class="dialog-footer">