|
@@ -55,7 +55,6 @@
|
|
<input class="car-uumber" v-model='item1.carNo'
|
|
<input class="car-uumber" v-model='item1.carNo'
|
|
@click.stop="handleShowKeyboard(index,index1)" :disabled="true" placeholder="输入7位车牌号"
|
|
@click.stop="handleShowKeyboard(index,index1)" :disabled="true" placeholder="输入7位车牌号"
|
|
name="input"></input>
|
|
name="input"></input>
|
|
-
|
|
|
|
<!-- <u-input v-model="item1.carNo" placeholder="输入7位车牌号" /> -->
|
|
<!-- <u-input v-model="item1.carNo" placeholder="输入7位车牌号" /> -->
|
|
<view class="btn">
|
|
<view class="btn">
|
|
<view @click="addCarNumber(item.carNumberList)" style="margin-right: 20rpx;">
|
|
<view @click="addCarNumber(item.carNumberList)" style="margin-right: 20rpx;">
|
|
@@ -70,9 +69,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view v-if='!status' class='add-good-people' @click='addGoodPeople'>
|
|
<view v-if='!status' class='add-good-people' @click='addGoodPeople'>
|
|
@@ -81,7 +78,7 @@
|
|
@click="reduceBtn(index)"></image>增加货主
|
|
@click="reduceBtn(index)"></image>增加货主
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <master-keyboard ref="keyboard" keyboardtype="car" :randomNumber="true" :newCar="false" :defaultValue="carNo"
|
|
|
|
|
|
+ <master-keyboard ref="keyboard" keyboardtype="car" :show="keyShow" :randomNumber="true" :newCar="false" :defaultValue="carNo"
|
|
@keyboardClick="handleClick"></master-keyboard>
|
|
@keyboardClick="handleClick"></master-keyboard>
|
|
<u-button class='submit' @click='submit'>提交</u-button>
|
|
<u-button class='submit' @click='submit'>提交</u-button>
|
|
<u-modal v-model="isShowAlert" :title-style="{fontSize: '18px',fontWeight:'500'}"
|
|
<u-modal v-model="isShowAlert" :title-style="{fontSize: '18px',fontWeight:'500'}"
|
|
@@ -90,7 +87,6 @@
|
|
<u-modal v-model="isShowAlert1" :title-style="{fontSize: '18px',fontWeight:'500'}"
|
|
<u-modal v-model="isShowAlert1" :title-style="{fontSize: '18px',fontWeight:'500'}"
|
|
:content-style="{fontSize: '14px',fontWeight:'400'}" confirm-color='#22C572' confirm-text='确定' title='提示'
|
|
:content-style="{fontSize: '14px',fontWeight:'400'}" confirm-color='#22C572' confirm-text='确定' title='提示'
|
|
showCancelButton='false' :content="content1" @confirm="alertBtn" @cancel="cancelClick"></u-modal>
|
|
showCancelButton='false' :content="content1" @confirm="alertBtn" @cancel="cancelClick"></u-modal>
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -139,12 +135,12 @@
|
|
goodsnameList: [],
|
|
goodsnameList: [],
|
|
selectObj: {},
|
|
selectObj: {},
|
|
goodsNameshow: false,
|
|
goodsNameshow: false,
|
|
- nameListCopy: []
|
|
|
|
|
|
+ nameListCopy: [],
|
|
|
|
+ keyShow:false,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
-console.log(options)
|
|
|
|
this.warehouseId = options.warehouseId
|
|
this.warehouseId = options.warehouseId
|
|
this.dataList.warehouseName = options.warehouseName
|
|
this.dataList.warehouseName = options.warehouseName
|
|
this.startDate = this.getTime()[0]
|
|
this.startDate = this.getTime()[0]
|
|
@@ -174,6 +170,9 @@ console.log(options)
|
|
console.log("hasLogin", this.hasLogin)
|
|
console.log("hasLogin", this.hasLogin)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ keyClose(){
|
|
|
|
+ this.keyShow = false
|
|
|
|
+ },
|
|
goodsnameConfirm(e) {
|
|
goodsnameConfirm(e) {
|
|
this.goodsName = this.goodsnameList[e[0]].goodsName
|
|
this.goodsName = this.goodsnameList[e[0]].goodsName
|
|
this.getCustomer()
|
|
this.getCustomer()
|
|
@@ -190,11 +189,10 @@ console.log(options)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleShowKeyboard(index, index1) {
|
|
handleShowKeyboard(index, index1) {
|
|
- if (this.dataList.shippingInformationList[this.index].carNumberList[this.index1].carNo == '') {
|
|
|
|
|
|
+ if (this.dataList.shippingInformationList[index].carNumberList[index1].carNo == '') {
|
|
this.carNo = ''
|
|
this.carNo = ''
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
- this.carNo = this.dataList.shippingInformationList[this.index].carNumberList[this.index1].carNo
|
|
|
|
|
|
+ this.carNo = this.dataList.shippingInformationList[index].carNumberList[index1].carNo
|
|
}
|
|
}
|
|
if (this.$refs.keyboard.open) {
|
|
if (this.$refs.keyboard.open) {
|
|
this.$refs.keyboard.open(false) //true 键盘显示 false 键盘隐藏
|
|
this.$refs.keyboard.open(false) //true 键盘显示 false 键盘隐藏
|
|
@@ -266,7 +264,6 @@ console.log(options)
|
|
this.isShowAlert1 = true
|
|
this.isShowAlert1 = true
|
|
},
|
|
},
|
|
nameConfirm(e) {
|
|
nameConfirm(e) {
|
|
- console.log(e)
|
|
|
|
this.dataList.shippingInformationList[this.selectObj["index"]].shipperName = this.nameList[e[0]]
|
|
this.dataList.shippingInformationList[this.selectObj["index"]].shipperName = this.nameList[e[0]]
|
|
.customerName
|
|
.customerName
|
|
this.dataList.shippingInformationList[this.selectObj["index"]].supplier = this.nameList[e[0]].supplier
|
|
this.dataList.shippingInformationList[this.selectObj["index"]].supplier = this.nameList[e[0]].supplier
|