|
@@ -8,7 +8,7 @@
|
|
<span style="margin: 0 15px;color: #666;">客户名称:{{ detailData&&detailData.buyerName }}</span>
|
|
<span style="margin: 0 15px;color: #666;">客户名称:{{ detailData&&detailData.buyerName }}</span>
|
|
<div style="width:420px;display:inline-block;color: #666;">
|
|
<div style="width:420px;display:inline-block;color: #666;">
|
|
<span>出库仓库:</span>
|
|
<span>出库仓库:</span>
|
|
- <chooseWarehouse style="width:80%" ref="warehouse" @change="handleWarehouse"></chooseWarehouse>
|
|
|
|
|
|
+ <chooseWarehouse style="width:80%" ref="warehouse" v-model="warehouseSn" @change="handleWarehouse"></chooseWarehouse>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</a-page-header>
|
|
</a-page-header>
|
|
@@ -247,8 +247,10 @@ export default {
|
|
dataSource: [],
|
|
dataSource: [],
|
|
productForm: {
|
|
productForm: {
|
|
salesBillSn: '',
|
|
salesBillSn: '',
|
|
- promotionFlag: 0
|
|
|
|
|
|
+ promotionFlag: 0,
|
|
|
|
+ warehouseSn:
|
|
},
|
|
},
|
|
|
|
+ warehouseSn: '',
|
|
activeName: '', // 促销活动
|
|
activeName: '', // 促销活动
|
|
nowData: null,
|
|
nowData: null,
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
@@ -303,6 +305,10 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 选择仓库
|
|
|
|
+ handleWarehouse (val) {
|
|
|
|
+ this.warehouseSn = val
|
|
|
|
+ },
|
|
handleMenuClick (e) {
|
|
handleMenuClick (e) {
|
|
if (e.key == 1) { // 删除已选项
|
|
if (e.key == 1) { // 删除已选项
|
|
this.handleBatchDel()
|
|
this.handleBatchDel()
|
|
@@ -584,6 +590,7 @@ export default {
|
|
this.getOrderDetail(true)
|
|
this.getOrderDetail(true)
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|
|
this.salesBillSn = this.$route.params.sn
|
|
this.salesBillSn = this.$route.params.sn
|
|
|
|
+ this.warehouseSn = this.$route.params.sn ? this.$route.params.wSn : ''
|
|
// 获取促销活动
|
|
// 获取促销活动
|
|
this.getPromoacActiveList()
|
|
this.getPromoacActiveList()
|
|
}
|
|
}
|