|
@@ -180,7 +180,14 @@
|
|
<!-- 标签 -->
|
|
<!-- 标签 -->
|
|
<labels-modal ref="labelsModal" @onChange="onChangeLabel" />
|
|
<labels-modal ref="labelsModal" @onChange="onChangeLabel" />
|
|
<!-- 发货 -->
|
|
<!-- 发货 -->
|
|
- <delivery-modal ref="deliveryModal" />
|
|
|
|
|
|
+ <delivery-modal ref="deliveryModal" @sendHandle="sendHandle" />
|
|
|
|
+ <!-- 发货模式 -->
|
|
|
|
+ <send-mode-modal ref="sendModeModal" @modeChange="modeChange" />
|
|
|
|
+ <!-- 批量逐一发货 -->
|
|
|
|
+ <batchbyOneModal ref="batchbyOneModal" />
|
|
|
|
+ <!-- 整车/拼单发货 -->
|
|
|
|
+ <carpoolModal ref="carpoolModal" />
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -210,11 +217,14 @@ import AddProductModal from "./components/addProductModal.vue";
|
|
import FreightModal from "./components/freightModal.vue";
|
|
import FreightModal from "./components/freightModal.vue";
|
|
import LabelsModal from "./components/labelsModal.vue";
|
|
import LabelsModal from "./components/labelsModal.vue";
|
|
import DeliveryModal from "./components/deliveryModal.vue";
|
|
import DeliveryModal from "./components/deliveryModal.vue";
|
|
|
|
+import SendModeModal from "./components/sendModeModal.vue";
|
|
|
|
+import batchbyOneModal from './components/batchbyOneModal.vue'
|
|
|
|
+import carpoolModal from './components/carpoolModal.vue'
|
|
import { query,getProvince,smt,unSmt,purchaseQty,unCancel,resetQuestion,archive } from '@/api/omsOrder'
|
|
import { query,getProvince,smt,unSmt,purchaseQty,unCancel,resetQuestion,archive } from '@/api/omsOrder'
|
|
import { queryAll } from '@/api/question'
|
|
import { queryAll } from '@/api/question'
|
|
@Component({components:{filterInput,OrderCheckbox,OrderRadio,filterDate,OrderTool,OrderTable,AddOrder,InputSelect,OrderProduct,
|
|
@Component({components:{filterInput,OrderCheckbox,OrderRadio,filterDate,OrderTool,OrderTable,AddOrder,InputSelect,OrderProduct,
|
|
filterMinMax,loadOrderModal,PurchaseModel,MergeModel,SplitModel,CancelOrderModel,QuestModel,SetQuesModal,UpdateRmkModal,UpdateSalerModal,
|
|
filterMinMax,loadOrderModal,PurchaseModel,MergeModel,SplitModel,CancelOrderModel,QuestModel,SetQuesModal,UpdateRmkModal,UpdateSalerModal,
|
|
- TabModal,AddProductModal,FreightModal,LabelsModal,DeliveryModal}})
|
|
|
|
|
|
+ TabModal,AddProductModal,FreightModal,LabelsModal,DeliveryModal,SendModeModal,batchbyOneModal,carpoolModal}})
|
|
export default class Order extends Vue {
|
|
export default class Order extends Vue {
|
|
activeNames:Array<any>=['1','statusList']
|
|
activeNames:Array<any>=['1','statusList']
|
|
radio=''
|
|
radio=''
|
|
@@ -489,6 +499,25 @@ export default class Order extends Vue {
|
|
this.getProvince();
|
|
this.getProvince();
|
|
this.getQuestionList();
|
|
this.getQuestionList();
|
|
}
|
|
}
|
|
|
|
+ //发货模式
|
|
|
|
+ modeChange(v:string){
|
|
|
|
+ if(v == '0'){
|
|
|
|
+ if(this.$refs.batchbyOneModal){
|
|
|
|
+ (this.$refs.batchbyOneModal as any).setShow(true);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(v == '1'){
|
|
|
|
+ if(this.$refs.carpoolModal){
|
|
|
|
+ (this.$refs.carpoolModal as any).setShow(true);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ //确认发货
|
|
|
|
+ sendHandle(){
|
|
|
|
+ if(this.$refs.sendModeModal){
|
|
|
|
+ (this.$refs.sendModeModal as any).setShow(true);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
//发货
|
|
//发货
|
|
sendGoods(){
|
|
sendGoods(){
|
|
(this.$refs.deliveryModal as any).setShow(true);
|
|
(this.$refs.deliveryModal as any).setShow(true);
|