tianyi 2 months ago
parent
commit
630d46b279
  1. 66
      src/views/app/business/logistics/logistics.vue
  2. 8
      src/views/app/business/problemFeedback/problemFeedback.vue

66
src/views/app/business/logistics/logistics.vue

@ -287,7 +287,8 @@
render: (h, params) => { render: (h, params) => {
let re = "", let re = "",
color = ""; color = "";
if (this.getTimeDifference(params.row.mustFinishTime) > 15 && (params.row.orderStatus == if (this.getTimeDifference(params.row.mustFinishTime) > 15 && (params.row
.orderStatus ==
"0" || params.row.orderStatus == "1")) { "0" || params.row.orderStatus == "1")) {
re = params.row.mustFinishTime; re = params.row.mustFinishTime;
color = "red"; color = "red";
@ -340,34 +341,43 @@
align: "center", align: "center",
fixed: "right", fixed: "right",
render: (h, params) => { render: (h, params) => {
return h("div", [ //
h( const orderDetailLink = h(
"a", { "a", {
on: { on: {
click: () => { click: () => {
this.orderDetail(params.row); this.orderDetail(params.row);
},
}, },
}, },
"订单详情" },
), "订单详情"
h("Divider", { );
props: {
type: "vertical", // status == 10
}, if (params.row.status != 3) {
}), return h("div", [
h( orderDetailLink,
"a", { h("Divider", {
on: { props: {
click: () => { type: "vertical"
this.unbind(params.row); }
}),
h(
"a", {
on: {
click: () => {
this.unbind(params.row);
},
}, },
}, },
}, "改派订单"
"改派订单" ),
), ]);
]); } else {
}, // status 10
return h("div", [orderDetailLink]);
}
}
}, },
], ],
chooseColumns: [], chooseColumns: [],
@ -398,8 +408,8 @@
runshOrder({ runshOrder({
deliveryId: this.orderId, deliveryId: this.orderId,
newWorkerId: item.workerId, newWorkerId: item.workerId,
newWorkerName:item.workerName, newWorkerName: item.workerName,
newWorkerPhone:item.mobile, newWorkerPhone: item.mobile,
}).then((res) => { }).then((res) => {
this.loading = false; this.loading = false;
if (res.success) { if (res.success) {
@ -500,7 +510,7 @@
this.importColumns = []; this.importColumns = [];
this.uploadfile = {}; this.uploadfile = {};
}, },
showDetail(v) { showDetail(v) {
// null"" // null""
for (let attr in v) { for (let attr in v) {

8
src/views/app/business/problemFeedback/problemFeedback.vue

@ -7,8 +7,12 @@
<Row> <Row>
<Form ref="searchForm" :model="searchForm" inline :label-width="100"> <Form ref="searchForm" :model="searchForm" inline :label-width="100">
<FormItem label="免单人数" prop="name"> <FormItem label="" prop="name">
<Input v-model="form.orderNumber"></Input> <div style="display: flex;">
<div style="width: 40px;">完成</div>
<Input v-model="form.orderNumber" style="width: 60px;"></Input>
<div style="width: 180px;">&nbsp;&nbsp;单后免单</div>
</div>
</FormItem> </FormItem>
<FormItem label="免单金额" prop="name"> <FormItem label="免单金额" prop="name">
<Input v-model="form.freeAmount"></Input> <Input v-model="form.freeAmount"></Input>

Loading…
Cancel
Save