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