浏览代码

【修改】销售政策产品列表增加原供价,价格类型字段

howie 2 年之前
父节点
当前提交
c5017ec809

+ 13 - 2
src/views/sales_policy/components/AddPolicy.vue

@@ -223,6 +223,17 @@
                 />
               </template>
             </pl-table-column>
+
+            <pl-table-column prop="orgPrice" label="原供价" align="right" min-width="150">
+              <template slot-scope="scope">
+                {{ scope.row.orgPrice }}
+              </template>
+            </pl-table-column>
+            <pl-table-column prop="priceType" label="价格类型" align="left" min-width="150">
+              <template slot-scope="scope">
+                {{ scope.row.priceType }}
+              </template>
+            </pl-table-column>
             <pl-table-column prop="price" label="单价" align="right" show-overflow-tooltip min-width="150">
               <template slot-scope="scope">
                 <template v-if="scope.row.fang">
@@ -240,7 +251,7 @@
                 />
               </template>
             </pl-table-column>
-            <pl-table-column label="返利钱包" align="left" show-overflow-tooltip min-width="150">
+            <pl-table-column label="返利钱包" align="left" show-overflow-tooltip min-width="200">
               <template slot-scope="scope">
                 <template v-if="scope.row.fang">
                   <template v-for="(item, index) in scope.row.walletRelaList">
@@ -266,7 +277,7 @@
                 </el-select>
               </template>
             </pl-table-column>
-            <pl-table-column label="现金钱包" align="left" show-overflow-tooltip min-width="150">
+            <pl-table-column label="现金钱包" align="left" show-overflow-tooltip min-width="200">
               <template slot-scope="scope">
                 <template v-if="scope.row.fang">
                   <template v-for="(item, index) in scope.row.walletRelaList">

+ 12 - 2
src/views/sales_policy/components/Examine.vue

@@ -197,7 +197,17 @@
             <el-table-column prop="saleTypeName" label="销售类型" min-width="160" show-overflow-tooltip align="left" />
             <el-table-column prop="discAmount" label="格力折扣" align="right" />
             <el-table-column prop="price" label="单价" align="right" />
-            <el-table-column label="返利钱包" align="left" min-width="160" show-overflow-tooltip>
+            <el-table-column prop="orgPrice" label="原供价" align="right" min-width="150">
+              <template slot-scope="scope">
+                {{ scope.row.orgPrice }}
+              </template>
+            </el-table-column>
+            <el-table-column prop="priceType" label="价格类型" align="left" min-width="150">
+              <template slot-scope="scope">
+                {{ scope.row.priceType }}
+              </template>
+            </el-table-column>
+            <el-table-column label="返利钱包" align="left" min-width="200" show-overflow-tooltip>
               <template slot-scope="scope">
                 <template v-for="item in scope.row.walletRelaList">
                   <el-tag v-if="item.type === 'REBATE'" style="margin: 5px" type="success" size="small">{{
@@ -206,7 +216,7 @@
                 </template>
               </template>
             </el-table-column>
-            <el-table-column label="现金钱包" align="left" min-width="160" show-overflow-tooltip>
+            <el-table-column label="现金钱包" align="left" min-width="200" show-overflow-tooltip>
               <template slot-scope="scope">
                 <template v-for="item in scope.row.walletRelaList">
                   <el-tag v-if="item.type === 'COMMONLY'" style="margin: 5px" type="success" size="small">{{

+ 12 - 2
src/views/sales_policy/components/details.vue

@@ -204,7 +204,17 @@
               />
               <el-table-column prop="discAmount" label="格力折扣" align="right" />
               <el-table-column prop="price" label="单价" align="right" />
-              <el-table-column label="返利钱包" align="left" min-width="160" show-overflow-tooltip>
+              <el-table-column prop="orgPrice" label="原供价" align="right" min-width="150">
+                <template slot-scope="scope">
+                  {{ scope.row.orgPrice }}
+                </template>
+              </el-table-column>
+              <el-table-column prop="priceType" label="价格类型" align="left" min-width="150">
+                <template slot-scope="scope">
+                  {{ scope.row.priceType }}
+                </template>
+              </el-table-column>
+              <el-table-column label="返利钱包" align="left" min-width="200" show-overflow-tooltip>
                 <template slot-scope="scope">
                   <template v-for="item in scope.row.walletRelaList">
                     <el-tag v-if="item.type === 'REBATE'" style="margin: 5px" type="success" size="mini">{{
@@ -213,7 +223,7 @@
                   </template>
                 </template>
               </el-table-column>
-              <el-table-column label="现金钱包" align="left" min-width="160" show-overflow-tooltip>
+              <el-table-column label="现金钱包" align="left" min-width="200" show-overflow-tooltip>
                 <template slot-scope="scope">
                   <template v-for="item in scope.row.walletRelaList">
                     <el-tag v-if="item.type === 'COMMONLY'" style="margin: 5px" type="success" size="mini">{{

+ 12 - 2
src/views/sales_policy/components/editPolicy.vue

@@ -224,6 +224,16 @@
                   />
                 </template>
               </pl-table-column>
+              <pl-table-column prop="orgPrice" label="原供价" align="right" min-width="150">
+                <template slot-scope="scope">
+                  {{ scope.row.orgPrice }}
+                </template>
+              </pl-table-column>
+              <pl-table-column prop="priceType" label="价格类型" align="left" min-width="150">
+                <template slot-scope="scope">
+                  {{ scope.row.priceType }}
+                </template>
+              </pl-table-column>
               <pl-table-column prop="price" label="单价" align="right" show-overflow-tooltip min-width="150">
                 <template slot-scope="scope">
                   <template v-if="scope.row.fang">
@@ -241,7 +251,7 @@
                   />
                 </template>
               </pl-table-column>
-              <pl-table-column label="返利钱包" align="left" show-overflow-tooltip min-width="150">
+              <pl-table-column label="返利钱包" align="left" show-overflow-tooltip min-width="200">
                 <template slot-scope="scope">
                   <template v-if="scope.row.fang">
                     <template v-for="(item, index) in scope.row.walletRelaList">
@@ -267,7 +277,7 @@
                   </el-select>
                 </template>
               </pl-table-column>
-              <pl-table-column label="现金钱包" align="left" show-overflow-tooltip min-width="150">
+              <pl-table-column label="现金钱包" align="left" show-overflow-tooltip min-width="200">
                 <template slot-scope="scope">
                   <template v-if="scope.row.fang">
                     <template v-for="(item, index) in scope.row.walletRelaList">