|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="zxDiffOrderDetail pagePadding">
|
|
|
- <div>{{ status }}---{{ powers }}</div>
|
|
|
+ <!-- <div>{{ status }}---{{ powers }}</div> -->
|
|
|
<div
|
|
|
style="width: 100%"
|
|
|
v-if="powers && powers.length > 0 && powers.some((item) => item == '007')"
|
|
@@ -37,7 +37,7 @@
|
|
|
"
|
|
|
></el-tag>
|
|
|
</template>
|
|
|
- <!--<template slot="order_type">
|
|
|
+ <template slot="order_type">
|
|
|
<el-tag
|
|
|
:size="'mini'"
|
|
|
v-text="
|
|
@@ -49,60 +49,55 @@
|
|
|
"
|
|
|
></el-tag>
|
|
|
</template>
|
|
|
-
|
|
|
-
|
|
|
- <template slot="supplierName">
|
|
|
- <span>{{ sitem.supplierName }}</span>
|
|
|
- <el-popover placement="top" width="300" trigger="hover">
|
|
|
- <ul>
|
|
|
- <li>
|
|
|
- <span>销售方公司编号:</span
|
|
|
- ><span>{{ sitem.supplierNo }}</span>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- <i class="el-icon-warning-outline fr" slot="reference"></i>
|
|
|
- </el-popover>
|
|
|
- </template>
|
|
|
- <template slot="companyName">
|
|
|
- <span>{{ sitem.companyName }}</span>
|
|
|
- <el-popover placement="top" width="300" trigger="hover">
|
|
|
- <ul>
|
|
|
- <li>
|
|
|
- <span>购买方公司编号:</span
|
|
|
- ><span>{{ sitem.companyNo }}</span>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- <i class="el-icon-warning-outline fr" slot="reference"></i>
|
|
|
- </el-popover>
|
|
|
+ <template slot="is_act">
|
|
|
+ <el-tag
|
|
|
+ :size="'mini'"
|
|
|
+ v-text="
|
|
|
+ (
|
|
|
+ is_act_options.find(
|
|
|
+ (item) => item.value == sitem.is_act
|
|
|
+ ) || {}
|
|
|
+ ).label || '--'
|
|
|
+ "
|
|
|
+ ></el-tag>
|
|
|
</template>
|
|
|
- <template slot="is_active">
|
|
|
- <span v-if="sitem.order_type === '1'"
|
|
|
- ><span
|
|
|
- >{{
|
|
|
- sitem.is_activity === "1" ? "参与活动" : "不参与活动"
|
|
|
- }}/{{ sitem.good_type }}</span
|
|
|
- ></span
|
|
|
- >
|
|
|
- <span v-else>--</span>
|
|
|
+ <template slot="customer_remark">
|
|
|
+
|
|
|
+ <el-tag
|
|
|
+ :size="'mini'"
|
|
|
+ v-if="sitem.is_act==='1'"
|
|
|
+ v-text="
|
|
|
+ (
|
|
|
+ customer_remark_options.find(
|
|
|
+ (item) => item.value == sitem.customer_remark
|
|
|
+ ) || {}
|
|
|
+ ).label || '--'
|
|
|
+ "
|
|
|
+ ></el-tag>
|
|
|
+ <el-tag
|
|
|
+ :size="'mini'"
|
|
|
+ v-else
|
|
|
+ v-text=" '--'
|
|
|
+ "
|
|
|
+ ></el-tag>
|
|
|
</template>
|
|
|
- <template slot="send_type">
|
|
|
- <el-tag :size="'mini'">{{
|
|
|
- sitem.send_type === "1"
|
|
|
- ? "直接发货"
|
|
|
- : sitem.send_type === "2"
|
|
|
- ? "延迟发货"
|
|
|
- : "--"
|
|
|
- }}</el-tag> -->
|
|
|
- <!-- </template> -->
|
|
|
</show-data-table>
|
|
|
- <!-- <show-form
|
|
|
- :newTime="newTime"
|
|
|
- v-if="newTime !== ''"
|
|
|
- :sitem="sitem"
|
|
|
- :id="queryId"
|
|
|
- /> -->
|
|
|
</el-collapse-item>
|
|
|
- <el-collapse-item title="业务审核" name="2">
|
|
|
+ <el-collapse-item title="商品信息" name="2">
|
|
|
+ <show-goods-data-table
|
|
|
+ :newTime="newTime"
|
|
|
+ v-if="newTime !== ''"
|
|
|
+ :type="sitem.order_type"
|
|
|
+ :skucode="sitem.skuCode"
|
|
|
+ :spucode="sitem.good_code"
|
|
|
+ :iscgd="true"
|
|
|
+ />
|
|
|
+ </el-collapse-item>
|
|
|
+ <el-collapse-item
|
|
|
+ title="业务审核"
|
|
|
+ name="3"
|
|
|
+ v-if="sitem && sitem.status === '1'"
|
|
|
+ >
|
|
|
<add-form
|
|
|
:sitem="sitem"
|
|
|
:newTime="newTime"
|
|
@@ -162,6 +157,32 @@ export default {
|
|
|
{ value: "1", label: "待业务部门审核" },
|
|
|
{ value: "2", label: "审批已完成" },
|
|
|
],
|
|
|
+ orderOptions: [
|
|
|
+ { id: "1", label: "线上商品销售" },
|
|
|
+ { id: "2", label: "项目线上商品销售" },
|
|
|
+ { id: "3", label: "咨询单销售" },
|
|
|
+ { id: "4", label: "项目咨询单销售" },
|
|
|
+ ],
|
|
|
+ customer_remark_options: [
|
|
|
+ {
|
|
|
+ value: "1",
|
|
|
+ label: "咨询订单减工差",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: "2",
|
|
|
+ label: "咨询订单不减工差",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ is_act_options: [
|
|
|
+ {
|
|
|
+ value: "1",
|
|
|
+ label: "接受工差",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: "2",
|
|
|
+ label: "不接受工差-退回重做",
|
|
|
+ },
|
|
|
+ ],
|
|
|
sitem: null,
|
|
|
orderCode: "",
|
|
|
status: "",
|