|
@@ -117,31 +117,23 @@
|
|
|
"
|
|
|
/>
|
|
|
</template>
|
|
|
- <template slot="purchase">
|
|
|
+ <template slot="nakelist">
|
|
|
<el-table
|
|
|
- :data="ladderlist"
|
|
|
+ :data="nakelist"
|
|
|
:size="'mini'"
|
|
|
border
|
|
|
stripe
|
|
|
style="width: 99%; margin: 10px 10px 10px 0"
|
|
|
>
|
|
|
<el-table-column prop="min_num" label="起订量(>=)" />
|
|
|
- <el-table-column prop="origin_price" label="成本合计"/>
|
|
|
- <el-table-column prop="cost_fee" label="工艺费">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="delivery_fee" label="其中运费">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.delivery_fee }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ <el-table-column prop="nake_fee" label="成本合计" />
|
|
|
+ <el-table-column prop="cost_fee" label="工艺费" />
|
|
|
+ <el-table-column prop="delivery_fee" label="其中运费" />
|
|
|
</el-table>
|
|
|
</template>
|
|
|
- <template slot="nakelist">
|
|
|
+ <template slot="ladderlist">
|
|
|
<el-table
|
|
|
- :data="nakelist"
|
|
|
+ :data="ladderlist"
|
|
|
:size="'mini'"
|
|
|
border
|
|
|
stripe
|
|
@@ -151,7 +143,11 @@
|
|
|
<el-table-column prop="sale_price" label="售价" />
|
|
|
<el-table-column prop="market_price" label="市场价" />
|
|
|
<el-table-column prop="market_platform" label="对比平台" />
|
|
|
- <el-table-column prop="status" label="状态" />
|
|
|
+ <el-table-column prop="status" label="状态">
|
|
|
+ <template slot-scope="scope">{{
|
|
|
+ scope.row.status === "1" ? "启用" : "禁用"
|
|
|
+ }}</template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</template>
|
|
|
</show-data-table>
|
|
@@ -174,6 +170,7 @@
|
|
|
<fixed-price-form
|
|
|
:newTime="newTime"
|
|
|
:id="queryId"
|
|
|
+ :spuCode="spuCode"
|
|
|
v-if="newTime !== ''"
|
|
|
:disabled="false"
|
|
|
:isMust="false"
|
|
@@ -273,6 +270,7 @@ export default {
|
|
|
options8: options8,
|
|
|
ladderlist: [],
|
|
|
nakelist: [],
|
|
|
+ spuCode: "",
|
|
|
size: "small",
|
|
|
activeTabs: "1",
|
|
|
activeNames: ["0", "1", "2", "3", "4", "5", "6", "7"],
|
|
@@ -384,7 +382,9 @@ export default {
|
|
|
this.loading = false;
|
|
|
if (code === 0) {
|
|
|
this.sitem = JSON.parse(JSON.stringify(data));
|
|
|
- const { exam_status, cat_info, ladderlist, nakelist } = this.sitem;
|
|
|
+ const { exam_status, cat_info, ladderlist, nakelist, spuCode } =
|
|
|
+ this.sitem;
|
|
|
+ this.spuCode = spuCode;
|
|
|
this.ladderlist = JSON.parse(JSON.stringify(ladderlist));
|
|
|
this.nakelist = JSON.parse(JSON.stringify(nakelist));
|
|
|
let cat = "";
|