Commit 76506b0f by 张晓玮

Merge branch 'zhangxw_dev_v4.22.0' into 'dev_v4.22.0'

Zhangxw dev v4.22.0

See merge request !193
2 parents 06d3c1c2 110191f6
......@@ -126,7 +126,9 @@
}}</span>
</div>
<div slot="auth-button" slot-scope="scope">
<auth-button slot="auth-button" :show-btn-ids="['9040106']" :data="scope.scope" />
<span style="margin-left: 10px;">
<auth-button slot="auth-button" :show-btn-ids="['9040106']" :data="scope.scope" />
</span>
<span>
<el-button type="text" size="mini" style="margin-left: 10px" @click="handleEnd(scope.scope)" v-if="
scope.scope.marketingStatus &&
......@@ -135,7 +137,8 @@
设为已完结
</el-button>
</span>
<span v-if="scope.scope.ledgerStatus == '1'">
<!-- 仅预支付状态显示 -->
<span v-if="scope.scope.tailOrderStatus == '3'">
<el-button type="text" size="mini" style="margin-left: 10px" @click="record(scope.scope)">
确认补录
</el-button>
......@@ -366,7 +369,8 @@ export default {
tailOrderStatusList: [
{ confId: "0", confName: "待支付" },
{ confId: "1", confName: "已支付" },
{ confId: "2", confName: "已退款" }
{ confId: "2", confName: "已退款" },
{ confId: "3", confName: "预支付" }
],
ledgerStatusList: [
{ confId: "0", confName: "未分账" },
......@@ -643,32 +647,32 @@ export default {
addHtml: "weChatName",
width: 210
},
{
label: "推荐人",
prop: "shareStaffName",
width: 210,
addHtml: "shareStaffName"
},
{
label: "推荐人ID",
prop: "shareStaffId",
name: "shareStaffId",
width: 210
},
// {
// label: "推荐人",
// prop: "shareStaffName",
// width: 210,
// addHtml: "shareStaffName"
// },
// {
// label: "推荐人ID",
// prop: "shareStaffId",
// name: "shareStaffId",
// width: 210
// },
{
label: "指派人",
prop: "assignName",
width: 210,
addHtml: "assignName"
},
{
label: "推荐人手机号",
prop: "shareStaffPhone",
width: 160,
formatter: (cellValue) => {
return cellValue.shareStaffPhone || "-"
}
},
// {
// label: "推荐人手机号",
// prop: "shareStaffPhone",
// width: 160,
// formatter: (cellValue) => {
// return cellValue.shareStaffPhone || "-"
// }
// },
{
label: "订单时间",
prop: "createdDate",
......@@ -786,14 +790,14 @@ export default {
: "-"
}
},
{
label: "测试单",
prop: "orderType",
width: "100",
formatter: (cellValue) => {
return { 0: "否", 1: "是" }[cellValue.orderType] || "-"
}
},
// {
// label: "测试单",
// prop: "orderType",
// width: "100",
// formatter: (cellValue) => {
// return { 0: "否", 1: "是" }[cellValue.orderType] || "-"
// }
// },
{
label: "退款类型",
prop: "afterSaleType",
......@@ -822,20 +826,20 @@ export default {
: "-"
}
},
{
label: "结算方式",
prop: "deliveryType",
width: "100",
formatter: (cellValue) => {
return this.baseData.deliveryTypeList
.map((item) => item.confId)
.includes(cellValue.deliveryType + "")
? this.baseData.deliveryTypeList.find(
(item) => item.confId == cellValue.deliveryType
).confName
: "-"
}
},
// {
// label: "结算方式",
// prop: "deliveryType",
// width: "100",
// formatter: (cellValue) => {
// return this.baseData.deliveryTypeList
// .map((item) => item.confId)
// .includes(cellValue.deliveryType + "")
// ? this.baseData.deliveryTypeList.find(
// (item) => item.confId == cellValue.deliveryType
// ).confName
// : "-"
// }
// },
{
label: "订单编号",
prop: "orderCode",
......@@ -854,7 +858,7 @@ export default {
prop: "tailOrderStatus",
width: 100,
formatter: (cellValue) => {
return { 0: "待支付", 1: "已支付", 2: "已退款" }[cellValue.tailOrderStatus] || "-"
return { 0: "待支付", 1: "已支付", 2: "已退款", 3: "预支付" }[cellValue.tailOrderStatus] || "-"
}
},
{
......
......@@ -48,7 +48,7 @@ export default {
return {
procureModeList,
rules: {
procurementType: [{ required: true, message: '请选择采购模式', trigger: 'change' }],
// procurementType: [{ required: true, message: '请选择采购模式', trigger: 'change' }],
shippingEntityId: [{ required: true, message: '请选择发货主体', trigger: 'change' }]
},
detailInfo: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!