|
|
|
@ -16,21 +16,27 @@
|
|
|
|
|
<icon type="clear" :size='20' color='#bcbcbc' @tap="cleanTRUCKNO" v-show="postData.TRUCKNO"></icon>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="tag-view" v-if="info" v-for="(item,index) in info" :key="index" style="margin-left: 20rpx;">
|
|
|
|
|
<uni-badge class="uni-badge-left-margin" :text="item.count" absolute="rightTop" size="small">
|
|
|
|
|
<uni-tag :inverted="true" :text="item.name" type="primary"></uni-tag>
|
|
|
|
|
</uni-badge>
|
|
|
|
|
</view>
|
|
|
|
|
<uni-card v-if="list" v-for="(item,index) in list" :title="item.worktype" :key="index">
|
|
|
|
|
<view class="example">
|
|
|
|
|
<uni-forms ref="form" :modelValue="item" label-position="left">
|
|
|
|
|
<uni-forms ref="form" :modelValue="item" label-position="left">
|
|
|
|
|
<uni-forms-item label="预计日期" name="workplandate">
|
|
|
|
|
<uni-easyinput type="text" :disabled="true" v-model="item.workplandate" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="箱号" name="cntrno">
|
|
|
|
|
<uni-easyinput type="text" :disabled="true" v-model="item.cntrno" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="承运车号" name="truckno">
|
|
|
|
|
<uni-easyinput type="text" :disabled="true" v-model="item.truckno" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
<uni-forms-item label="状态" name="workstatus">
|
|
|
|
|
<uni-easyinput type="text" :disabled="true" v-model="item.workstatus" />
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
</uni-forms>
|
|
|
|
|
<button @click="skip(item.gid)">核对</button>
|
|
|
|
|
</view>
|
|
|
|
@ -58,15 +64,15 @@
|
|
|
|
|
},
|
|
|
|
|
key: "",
|
|
|
|
|
list: '',
|
|
|
|
|
type:''
|
|
|
|
|
type: ''
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
this.list = ''
|
|
|
|
|
this.skipData.type = ''
|
|
|
|
|
this.postData.CNTRNO = ''
|
|
|
|
|
this.skipData.type = ''
|
|
|
|
|
this.postData.CNTRNO = ''
|
|
|
|
|
this.postData.TRUCKNO = ''
|
|
|
|
|
this.getInfo()
|
|
|
|
|
this.getInfo()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
back: function() {
|
|
|
|
@ -85,8 +91,9 @@
|
|
|
|
|
.then((
|
|
|
|
|
res) => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
if (res.succeeded) {
|
|
|
|
|
this.list = res.data
|
|
|
|
|
if (res.succeeded) {
|
|
|
|
|
this.list = res.data[0]
|
|
|
|
|
this.info = res.data[1]
|
|
|
|
|
uni.hideLoading()
|
|
|
|
|
} else {
|
|
|
|
|
this.tui.toast(res.message, 2000, 'none')
|
|
|
|
|