|
|
@@ -41,14 +41,14 @@
|
|
|
@click="confirmOutStock(row, 1)"
|
|
|
v-if="row.state == 0"
|
|
|
class="map-margin"
|
|
|
- >发货</a
|
|
|
+ >发货完成</a
|
|
|
>
|
|
|
<!-- &&(persimissionData['确认出库'] || persimissionData.all) -->
|
|
|
<a
|
|
|
@click="confirmOutStock(row, 2)"
|
|
|
v-if="row.state == 1"
|
|
|
class="map-margin"
|
|
|
- >确认运输</a
|
|
|
+ >收货完成</a
|
|
|
>
|
|
|
<!-- &&(persimissionData['确认运输'] || persimissionData.all) -->
|
|
|
<a
|
|
|
@@ -393,14 +393,14 @@ export default {
|
|
|
this.getData(this.proxyObj);
|
|
|
},
|
|
|
confirmOutStock(row, type) {
|
|
|
- //type 1出库 2运输
|
|
|
+ //type 1发货完成 2收货完成
|
|
|
let params = {};
|
|
|
let post_url =
|
|
|
type == 1 ? "/api/orders_transport" : "/api/orders_transport_confirm";
|
|
|
params.transport_no = row.transport_no || row.order_no;
|
|
|
this.confirmDelete({
|
|
|
- title: type == 1 ? "确认出库" : "确认运输",
|
|
|
- content: type == 1 ? "确认出库么?" : "确认运输么?",
|
|
|
+ title: type == 1 ? "确认发货" : "确认收货",
|
|
|
+ content: type == 1 ? "确认发货么?" : "确认收货么?",
|
|
|
type: "primary",
|
|
|
then: (e) => {
|
|
|
this.axios.post(post_url, params).then((res) => {
|