|
@@ -187,7 +187,9 @@
|
|
|
<!-- 整车/拼单发货 -->
|
|
|
<carpoolModal ref="carpoolModal" @handleSuccess="handleSuccess" />
|
|
|
<!-- 发货单详情 -->
|
|
|
- <deliveryDetail ref="deliveryDetail" @handleSuccess="handleSuccess" />
|
|
|
+ <deliveryDetail ref="deliveryDetail" @handleSuccess="handleSuccess" @showLogistics="showLogistics" />
|
|
|
+ <!-- 物流信息 -->
|
|
|
+ <logisticsInfo ref="logisticsInfo" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -220,11 +222,12 @@ import SendModeModal from "./components/sendModeModal.vue";
|
|
|
import batchbyOneModal from './components/batchbyOneModal.vue'
|
|
|
import carpoolModal from './components/carpoolModal.vue'
|
|
|
import DeliveryDetail from "./components/deliveryDetail.vue";
|
|
|
+import LogisticsInfo from "./components/logisticsInfo.vue";
|
|
|
import { query,getProvince,smt,unSmt,purchaseQty,unCancel,resetQuestion,archive } from '@/api/omsOrder'
|
|
|
import { queryAll } from '@/api/question'
|
|
|
@Component({components:{filterInput,OrderCheckbox,OrderRadio,filterDate,OrderTool,OrderTable,AddOrder,InputSelect,OrderProduct,
|
|
|
filterMinMax,loadOrderModal,PurchaseModel,MergeModel,SplitModel,CancelOrderModel,QuestModel,SetQuesModal,UpdateRmkModal,UpdateSalerModal,
|
|
|
- TabModal,AddProductModal,FreightModal,LabelsModal,SendModeModal,batchbyOneModal,carpoolModal,DeliveryDetail}})
|
|
|
+ TabModal,AddProductModal,FreightModal,LabelsModal,SendModeModal,batchbyOneModal,carpoolModal,DeliveryDetail,LogisticsInfo}})
|
|
|
export default class Order extends Vue {
|
|
|
activeNames:Array<any>=['1','statusList']
|
|
|
radio=''
|
|
@@ -499,6 +502,13 @@ export default class Order extends Vue {
|
|
|
this.getProvince();
|
|
|
this.getQuestionList();
|
|
|
}
|
|
|
+ //查看物流
|
|
|
+ showLogistics(code:string){
|
|
|
+ if(this.$refs.logisticsInfo){
|
|
|
+ (this.$refs.logisticsInfo as any).setShow(true);
|
|
|
+ (this.$refs.logisticsInfo as any).loadData(code);
|
|
|
+ }
|
|
|
+ }
|
|
|
//发货详情
|
|
|
sendGoodsDetail(row:any){
|
|
|
if(this.$refs.deliveryDetail){
|