zxz 3 年之前
父节点
当前提交
edfbf31522

+ 9 - 1
src/views/contractManagement/priceConfirmationSheet.vue

@@ -2,7 +2,15 @@
   <div class="container">
   <div class="container">
     <el-row>
     <el-row>
       <el-col :span="12">
       <el-col :span="12">
-        <h2 class="bg-left title">点价确认单</h2>
+        <h2 class="bg-left title">
+          点价确认单(
+          <template>
+            <span v-if="this.$route.query.contractType == 1">期货销售合同</span>
+            <span v-if="this.$route.query.contractType == 2"
+              >期货采购合同</span
+            > </template
+          >)
+        </h2>
       </el-col>
       </el-col>
       <el-col :span="12" class="bg-right">
       <el-col :span="12" class="bg-right">
         <el-button
         <el-button

+ 6 - 1
src/views/contractManagement/priceConfirmationSheetAdd.vue

@@ -2,7 +2,12 @@
   <div class="container">
   <div class="container">
     <el-row>
     <el-row>
       <el-col :span="12">
       <el-col :span="12">
-        <h2 class="bg-left title">创建点价确认单</h2>
+        <h2 class="bg-left title">创建点价确认单(
+        <template>
+          <span v-if="this.$route.query.contractType == 1">期货销售合同</span>
+          <span v-if="this.$route.query.contractType == 2"
+            >期货采购合同</span
+          > </template>)</h2>
       </el-col>
       </el-col>
       <el-col :span="12" class="bg-right">
       <el-col :span="12" class="bg-right">
         <el-button
         <el-button

+ 7 - 2
src/views/contractManagement/priceConfirmationSheetEdit.vue

@@ -2,7 +2,12 @@
   <div class="container">
   <div class="container">
     <el-row>
     <el-row>
       <el-col :span="12">
       <el-col :span="12">
-        <h2 class="bg-left title">编辑点价确认单</h2>
+        <h2 class="bg-left title">编辑点价确认单(
+        <template>
+          <span v-if="this.$route.query.contractType == 1">期货销售合同</span>
+          <span v-if="this.$route.query.contractType == 2"
+            >期货采购合同</span
+          > </template>)</h2>
       </el-col>
       </el-col>
       <el-col :span="12" class="bg-right">
       <el-col :span="12" class="bg-right">
         <el-button
         <el-button
@@ -275,7 +280,7 @@ export default {
     },
     },
     returnsales(item) {
     returnsales(item) {
       this.$router.push({ path: 'priceConfirmationSheet',
       this.$router.push({ path: 'priceConfirmationSheet',
-      query: { contractNo: this.$route.query.contractNo , contractType: this.$route.query.contractType ,id:item.id } })
+      query: { contractNo: this.$route.query.contractNo , contractType: this.$route.query.contractType } })
     },
     },
 
 
     // 上传附件
     // 上传附件