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