Commit eba3492c authored by xiejb's avatar xiejb

高级搜索 清除订单号

parent 9e1186d9
...@@ -64,7 +64,8 @@ ...@@ -64,7 +64,8 @@
</div> </div>
<div class="high-info" @click="showPost('orderNo')"> <div class="high-info" @click="showPost('orderNo')">
<div class="title font-bold font-16">请输入订单号</div> <div class="title font-bold font-16">请输入订单号</div>
<div @keyup="changeData($event)" :class="isSelectClient === true ? 'nom input': 'select input'" :contenteditable="isSelectClient === true ? 'true': 'false'" class="inputInfo" placeholder="请输入订单号"></div> <!-- <div @keyup="changeData($event)" :class="isSelectClient === true ? 'nom input': 'select input'" :contenteditable="isSelectClient === true ? 'true': 'false'" class="inputInfo" placeholder="请输入订单号"></div> -->
<div v-html="moreSearchInfo.orderNo" @blur="moreSearchInfo.orderNo=$event.target.innerText" :class="isSelectClient === true ? 'nom input': 'select input'" :contenteditable="isSelectClient === true ? 'true': 'false'" class="inputInfo" placeholder="请输入订单号"></div>
<!-- <input :class="isSelectConsignorSupplier === true ? 'nom input': 'select input'" :disabled="!isSelectConsignorSupplier" v-model="moreSearchInfo.orderNo" placeholder="请输入订单号" class="input" type="text"> --> <!-- <input :class="isSelectConsignorSupplier === true ? 'nom input': 'select input'" :disabled="!isSelectConsignorSupplier" v-model="moreSearchInfo.orderNo" placeholder="请输入订单号" class="input" type="text"> -->
</div> </div>
<div class="high-info" @click="showPost('goods')"> <div class="high-info" @click="showPost('goods')">
...@@ -404,6 +405,7 @@ export default { ...@@ -404,6 +405,7 @@ export default {
this.chinfo.supplier = this.moreSearchInfo.supplier.comPartyId this.chinfo.supplier = this.moreSearchInfo.supplier.comPartyId
this.moreSearchInfo.goods = '' this.moreSearchInfo.goods = ''
this.moreSearchInfo.client = [] this.moreSearchInfo.client = []
this.moreSearchInfo.orderNo = ''
break; break;
case data.page === 'goods': case data.page === 'goods':
this.moreSearchInfo.goods = data.value this.moreSearchInfo.goods = data.value
...@@ -412,6 +414,7 @@ export default { ...@@ -412,6 +414,7 @@ export default {
this.moreSearchInfo.supplier = [] this.moreSearchInfo.supplier = []
this.moreSearchInfo.goods = '' this.moreSearchInfo.goods = ''
this.moreSearchInfo.client = [] this.moreSearchInfo.client = []
this.moreSearchInfo.orderNo = ''
this.moreSearchInfo.consignor = data.value this.moreSearchInfo.consignor = data.value
break; break;
case data.page === 'client': case data.page === 'client':
......
...@@ -205,6 +205,7 @@ export default { ...@@ -205,6 +205,7 @@ export default {
this.moreSearchShow = true this.moreSearchShow = true
} else if (rt.data.length === 1) { } else if (rt.data.length === 1) {
this.moreSearchInfo.client = rt.data this.moreSearchInfo.client = rt.data
this.moreSearchConfirm(this.moreSearchInfo)
} else if (rt.data.length === 0) { } else if (rt.data.length === 0) {
this.moreSearchShow = true this.moreSearchShow = true
} }
...@@ -217,7 +218,7 @@ export default { ...@@ -217,7 +218,7 @@ export default {
}, },
// 单个发票点击事件 // 单个发票点击事件
orderItemAction(model) { orderItemAction(model) {
console.log(model) // console.log(model)
switch (true) { switch (true) {
case model.actionType === 'invoice': case model.actionType === 'invoice':
// 查看发票 // 查看发票
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment