4月29日提交

master
rosehan 2 years ago
parent 95e5a7ceaa
commit ca1431bcb2
  1. 3
      static/scss/v-layout.scss
  2. 37
      sunPages/addCropForm/addCropForm.vue
  3. 4
      sunPages/traceability-code/inventory.vue
  4. 3
      sunPages/traceability-code/sales.vue

@ -571,8 +571,7 @@ $v-muted: #dddddd;
.uni-forms-item__content {
position: relative;
text-align: right;
padding-right: 40rpx;
text-align: right;
line-height: 72rpx;
[class*='icon-'] {
position: absolute;

@ -1,7 +1,8 @@
<template>
<view class="v-pages">
<view class="v-form v-container">
<uni-forms :modelValue="formData" ref="formRef" :label-width="80" border :rules="formRules">
<view class="v-form v-container" style="padding-bottom:140rpx;">
<uni-forms :modelValue="formData" ref="formRef" :label-width="80" :rules="formRules">
<view class="v-form-item">
<uni-forms-item label="认证类型" name="authenticationType" required>
<uni-data-picker class="m-data-pick" popupTitle=" " v-model="formData.authenticationType"
@ -84,7 +85,7 @@
</uni-forms-item>
</view>
</uni-forms>
<view class="fixed fixedBottom">
<view class="fixed fixedBottom v-container">
<button class="m-t-large v-primary-btn large" @click="submitForm()">保存</button>
</view>
</view>
@ -397,5 +398,35 @@
};
</script>
<style scoped lang="scss">
.not-show {
display: none;
}
.m-kg {
background: #eee;
padding: 0 11rpx;
border-radius: 15rpx;
margin-right: 55rpx;
color: #929292;
font-size: 20rpx;
height: 55rpx;
line-height: 55rpx;
margin-left: 10rpx;
}
.no-mar {
margin-right: 0;
}
.m-notice {
background: rgba(#14c171, .1);
padding: 6rpx 10rpx;
border-radius: 10rpx;
font-size: 24rpx;
color: #333333;
.color-red {
color: #14c171;
}
}
</style>

@ -38,7 +38,6 @@
<!-- 页面 列表 -->
<view class="v-pages-list v-container">
<view class="v-pages-list-item" v-for="item in listData" :key="item.id">
<!-- 页面 卡片 -->
@ -127,6 +126,7 @@
}
const res = await ProductApi.getTraceabilityCodePage(queryParams)
this.$refs.paging.complete(res.data.list)
this.getStaticScanRecord()
} catch {
this.$refs.paging.complete(false);
}
@ -139,7 +139,7 @@
data: config.baseUrl + '/H5/index.html?code=' + product.traceabilityCode,
success: function() {
uni.showToast({
title: `链接已复制剪切板`,
title: `链接已复制`,
icon: 'success',
duration: 2000
})

@ -127,6 +127,7 @@
}
const res = await ProductApi.getSaleRecordCodePage(queryParams)
this.$refs.paging.complete(res.data.list)
this.getStaticScanRecord()
} catch {
this.$refs.paging.complete(false);
}
@ -139,7 +140,7 @@
data: config.baseUrl+'/H5/index.html?code='+product.traceabilityCode,
success: function() {
uni.showToast({
title: `链接已复制剪切板`,
title: `链接已复制`,
icon: 'success',
duration: 2000
})

Loading…
Cancel
Save