|
@@ -156,8 +156,12 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="footer">
|
|
|
+ <!-- <view @click='confirmInfo' class="button">确认初检信息</view> -->
|
|
|
<view @click='submit' class="button">提交</view>
|
|
|
</view>
|
|
|
+ <u-modal v-model="isShowAlert" :title-style="{fontSize: '18px',fontWeight:'500'}"
|
|
|
+ :content-style="{fontSize: '14px',fontWeight:'400'}" confirm-color='#22C572' confirm-text='确定' title='登录提示'
|
|
|
+ showCancelButton='false' :content="content" @confirm="alertBtn" @cancel="cancelClick"></u-modal>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -175,6 +179,8 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ isShowAlert: false,
|
|
|
+ content: '确认初检信息后,初检员不需要再次确认质检信息,是否确定提交?',
|
|
|
inputShow: false,
|
|
|
modalName: '',
|
|
|
mycarStyle: '',
|
|
@@ -348,6 +354,24 @@
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
+ confirmInfo(){
|
|
|
+ this.isShowAlert = true
|
|
|
+ },
|
|
|
+ alertBtn() {
|
|
|
+ // this.$api.doRequest('get', '/purchasePrice/dryGrainPrice', {
|
|
|
+ // warehouseId: this.cangid,
|
|
|
+ // goodsName: this.gridList.goodsName
|
|
|
+ // }).then(res => {
|
|
|
+ // if(res.data.code=="200"){
|
|
|
+ // this.$api.msg('提交成功!')
|
|
|
+ // }else{
|
|
|
+ // this.$api.msg('提交失败')
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ },
|
|
|
+ cancelClick() {
|
|
|
+ this.isShowAlert = false
|
|
|
+ },
|
|
|
waterContentChange() {
|
|
|
var that = this
|
|
|
if (this.gridList.goodsName && this.cangid) {
|
|
@@ -505,7 +529,7 @@
|
|
|
success: function(res) {
|
|
|
if (res.confirm) {
|
|
|
that.$api.doRequest('get', '/paymentManagement/cumulant', {
|
|
|
- compId: JSON.parse(localStorage.getItem('pcUserInfo')).data.compId,
|
|
|
+ compId: uni.getStorageSync('pcUserInfo').compId,
|
|
|
customerNumberCard: that.gridList.customerNumberCard,
|
|
|
goodsName: that.gridList.goodsName,
|
|
|
})
|