|
@@ -4,29 +4,40 @@
|
|
|
<view style='background:#fff;display:flex;' class="cu-bar search">
|
|
|
<view style='flex:6;' class="search-form round Medium">
|
|
|
<text style='color: #ccc;text-indent:6px;' class="cuIcon-search"></text>
|
|
|
- <input @input='searchinput' type="text" maxlength="20" :focus="true" v-model="searchKeyWord" @confirm="doSearch()"
|
|
|
- placeholder="输入客户姓名或手机号" confirm-type="search"></input>
|
|
|
+ <input @input='searchinput' type="text" maxlength="20" :focus="true" v-model="searchKeyWord"
|
|
|
+ @confirm="doSearch()" placeholder=" 输入客户姓名、客户手机号或供应商姓名" confirm-type="search"></input>
|
|
|
</view>
|
|
|
<view @click='doSearch()' class="Regular" style="width:4%;flex:1;">搜索</view>
|
|
|
- <u-icon @click='emptysearch' class="cuIcon" v-if='searchKeyWord.length>0' size="34" name="close-circle-fill" color="#D6D9E0"></u-icon>
|
|
|
+ <u-icon @click='emptysearch' class="cuIcon" v-if='searchKeyWord.length>0' size="34"
|
|
|
+ name="close-circle-fill" color="#D6D9E0"></u-icon>
|
|
|
<!-- <text @click='emptysearch' v-if='searchKeyWord.length>0' class='tip_text cuIcon-roundclosefill'></text> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="content">
|
|
|
<view style='padding-left:20px;color:#AFB3BF;font-size:14px;' v-if='show==false'>近期客户</view>
|
|
|
-
|
|
|
+
|
|
|
<view v-for='item in gridList'>
|
|
|
<view v-if='searchKeyWord.length>0&&show==true' class='searchwrap' @click='checkcustomer(item)'>
|
|
|
<view v-if="item.supplier"> {{item.customerName}}({{item.customerPhone}})-{{item.supplier}} </view>
|
|
|
<view v-else> {{item.customerName}}({{item.customerPhone}}) </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view v-for='item in gridList' style='display:inline-block;'>
|
|
|
+ <view v-for='item in gridList' style='display:inline-block;'>
|
|
|
<view @click='recentcustomer(item)' class='wrap' v-if='show==false'>{{item.searchContent}}</view>
|
|
|
</view>
|
|
|
-
|
|
|
</view>
|
|
|
+ <view class="content content1">
|
|
|
+ <view style='padding-left:20px;color:#AFB3BF;font-size:14px;' v-if='show==false'>登记客户</view>
|
|
|
|
|
|
+ <view v-for='item in gridList'>
|
|
|
+ <view class="row">
|
|
|
+ <view class="row-item">辽H12345</view>
|
|
|
+ <view class="row-item">张三(货)</view>
|
|
|
+ <view class="row-item">李四(商)</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view v-show="isContent">
|
|
|
<uni-load-more :status="loadStatus"></uni-load-more>
|
|
|
</view>
|
|
@@ -50,188 +61,134 @@
|
|
|
modalName: '',
|
|
|
mycarStyle: '',
|
|
|
feild: undefined,
|
|
|
- params:{},
|
|
|
- selector:[],
|
|
|
- isContent:false,
|
|
|
- loadStatus:'noMore',
|
|
|
+ params: {},
|
|
|
+ selector: [],
|
|
|
+ isContent: false,
|
|
|
+ loadStatus: 'noMore',
|
|
|
inputContent: '',
|
|
|
coverTransform: 'translateY(0px)',
|
|
|
coverTransition: '0s',
|
|
|
moving: false,
|
|
|
footprintList: [],
|
|
|
- searchKeyWord:'',
|
|
|
+ searchKeyWord: '',
|
|
|
isVip: false,
|
|
|
userInfoTmp: [],
|
|
|
inputStatus: 'none',
|
|
|
carInfo: [],
|
|
|
gridCol: 4,
|
|
|
- show:false,
|
|
|
- pageSize:10,
|
|
|
- currentPage:1,
|
|
|
+ show: false,
|
|
|
+ pageSize: 10,
|
|
|
+ currentPage: 1,
|
|
|
gridBorder: false,
|
|
|
- headUrl:"../../static/img/myimg/YongHu@3x.png",
|
|
|
- userphone:"",
|
|
|
- username:"请更改昵称",
|
|
|
+ headUrl: "../../static/img/myimg/YongHu@3x.png",
|
|
|
+ userphone: "",
|
|
|
+ username: "请更改昵称",
|
|
|
gridList: [],
|
|
|
- managementType:'',
|
|
|
+ managementType: '',
|
|
|
warehouseName: '',
|
|
|
showTran: true,
|
|
|
companyId: 1,
|
|
|
current: 4,
|
|
|
- customerList:[],
|
|
|
- purchasePriceList:[],
|
|
|
- warehouseCount:'',
|
|
|
- commonWarehouseNo:'',
|
|
|
- cangid:''
|
|
|
-
|
|
|
+ customerList: [],
|
|
|
+ purchasePriceList: [],
|
|
|
+ warehouseCount: '',
|
|
|
+ commonWarehouseNo: '',
|
|
|
+ cangid: ''
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['hasLogin', 'userInfo']),
|
|
|
// 手机号中间4位加*
|
|
|
- starUserphone(){
|
|
|
+ starUserphone() {
|
|
|
let reg = /^(\d{3})\d{4}(\d{4})$/;
|
|
|
- if(this.userphone){
|
|
|
+ if (this.userphone) {
|
|
|
return this.userphone.replace(reg, "$1****$2");
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- onLoad(options){
|
|
|
+ onLoad(options) {
|
|
|
this.cangid = options.cangid
|
|
|
- this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName',{
|
|
|
- warehouseId:this.cangid
|
|
|
+ this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName', {
|
|
|
+ warehouseId: this.cangid
|
|
|
}).then(res => {
|
|
|
- if(res.data.data){
|
|
|
- uni.setStorageSync('purchasePriceList',res.data.data)
|
|
|
- this.purchasePriceList=uni.getStorageSync('purchasePriceList')
|
|
|
+ if (res.data.data) {
|
|
|
+ uni.setStorageSync('purchasePriceList', res.data.data)
|
|
|
+ this.purchasePriceList = uni.getStorageSync('purchasePriceList')
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
onShow() {
|
|
|
- this.purchasePriceList=uni.getStorageSync('purchasePriceList')
|
|
|
- this.gridList=[]
|
|
|
- this.$api.doRequest('get', '/searchRecordsInfo/selectSearchRecordsInfo',{
|
|
|
- pageSize:this.pageSize,
|
|
|
- currentPage:this.currentPage,
|
|
|
- functionType:"3",
|
|
|
- commonId:this.userInfo.id
|
|
|
+ this.purchasePriceList = uni.getStorageSync('purchasePriceList')
|
|
|
+ this.gridList = []
|
|
|
+ this.$api.doRequest('get', '/searchRecordsInfo/selectSearchRecordsInfo', {
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ currentPage: this.currentPage,
|
|
|
+ functionType: "3",
|
|
|
+ commonId: this.userInfo.id
|
|
|
}).then(res => {
|
|
|
- if(res.data.data){
|
|
|
- this.gridList=res.data.data.records
|
|
|
+ if (res.data.data) {
|
|
|
+ this.gridList = res.data.data.records
|
|
|
console.log(this.gridList)
|
|
|
}
|
|
|
})
|
|
|
- this.$api.doRequest('get', '/identityAuthenticationInfo/identityAuthenticationInfoCustomer',{
|
|
|
- compId:'',
|
|
|
- authenticationStatusKey:7,
|
|
|
+ this.$api.doRequest('get', '/identityAuthenticationInfo/identityAuthenticationInfoCustomer', {
|
|
|
+ compId: '',
|
|
|
+ authenticationStatusKey: 7,
|
|
|
}).then(res => {
|
|
|
- if(res.data.data){
|
|
|
- this.customerList=res.data.data
|
|
|
- }
|
|
|
+ if (res.data.data) {
|
|
|
+ this.customerList = res.data.data
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
- searchinput(e){
|
|
|
- if(this.searchKeyWord.length==0){
|
|
|
- this.show=false
|
|
|
+ searchinput(e) {
|
|
|
+ if (this.searchKeyWord.length == 0) {
|
|
|
+ this.show = false
|
|
|
this.getList()
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
- checkcustomer(item){
|
|
|
-
|
|
|
+ checkcustomer(item) {
|
|
|
+
|
|
|
var that = this
|
|
|
- var count=''
|
|
|
- if(item.authenticationStatus=='已认证'){
|
|
|
- uni.showLoading({title: '加载中'})
|
|
|
- that.$api.doRequest('post', '/searchRecordsInfo/api/addInfo',{
|
|
|
- commonId:that.userInfo.id,
|
|
|
- searchContent:item.customerName+'('+item.customerPhone+')',
|
|
|
- functionType:3
|
|
|
- }).then(res => {
|
|
|
-
|
|
|
- uni.setStorageSync('checkcustomer',item)
|
|
|
- that.$api.doRequest('get', '/qualityInspectionManagement/api/settledCount',{
|
|
|
- compId:'',
|
|
|
- customerName: item.customerName,
|
|
|
- goodsName: uni.getStorageSync('goodsName'),
|
|
|
- }).then(res => {
|
|
|
- if(res.data.code==200){
|
|
|
- count=res.data.data
|
|
|
- that.$api.doRequest('get', '/paymentManagement/cumulant',{
|
|
|
- compId:'',
|
|
|
- customerName: item.customerName,
|
|
|
- goodsName: uni.getStorageSync('goodsName'),
|
|
|
- }).then(res => {
|
|
|
- for (let i = 0; i < that.purchasePriceList.length; i++) {
|
|
|
- var data = res.data.data/1000
|
|
|
- if(that.purchasePriceList[i].goodsName== uni.getStorageSync('goodsName')){
|
|
|
- if(that.purchasePriceList[i].saleLimit - data < 50 || count > 0){
|
|
|
- that.$api.msg(`当前客户已累计销售我司${uni.getStorageSync('goodsName')}${data.toFixed(2)}吨,最高可售${that.purchasePriceList[i].saleLimit}吨。`)
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- that.show=false
|
|
|
- uni.hideLoading()
|
|
|
- uni.navigateBack()
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- })
|
|
|
- .catch(res => {
|
|
|
- uni.showToast({
|
|
|
- title: '系统异常,请联系管理员',
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- })
|
|
|
- uni.hideLoading()
|
|
|
+ var count = ''
|
|
|
+ if (item.authenticationStatus == '已认证') {
|
|
|
+ uni.showLoading({
|
|
|
+ title: '加载中'
|
|
|
})
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- }else{
|
|
|
- this.$api.msg('客户身份不可用')
|
|
|
- }
|
|
|
-
|
|
|
- },
|
|
|
- recentcustomer(item){
|
|
|
- var count=''
|
|
|
- var that = this
|
|
|
- var name=item.searchContent.split('(')[0]
|
|
|
- var phone=item.searchContent.split('(')[1]
|
|
|
- phone = phone.substring(0,phone.length-1)
|
|
|
- for(var i=0;i<this.customerList.length;i++){
|
|
|
- // console.log(name,this.customerList[i].customerName,name==this.customerList[i].customerName)
|
|
|
- if(this.customerList[i].customerPhone==phone){
|
|
|
- var tmpName = this.customerList[i].customerName
|
|
|
- uni.setStorageSync('checkcustomer',this.customerList[i])
|
|
|
- uni.showLoading({title: '加载中'})
|
|
|
- that.$api.doRequest('post', '/searchRecordsInfo/api/addInfo',{
|
|
|
- commonId:that.userInfo.id,
|
|
|
- searchContent:this.customerList[i].customerName+'('+this.customerList[i].customerPhone+')',
|
|
|
- functionType:3
|
|
|
+ that.$api.doRequest('post', '/searchRecordsInfo/api/addInfo', {
|
|
|
+ commonId: that.userInfo.id,
|
|
|
+ searchContent: item.customerName + '(' + item.customerPhone + ')',
|
|
|
+ functionType: 3
|
|
|
}).then(res => {
|
|
|
- that.$api.doRequest('get', '/qualityInspectionManagement/api/settledCount',{
|
|
|
- compId:'',
|
|
|
- customerName: tmpName,
|
|
|
+
|
|
|
+ uni.setStorageSync('checkcustomer', item)
|
|
|
+ that.$api.doRequest('get', '/qualityInspectionManagement/api/settledCount', {
|
|
|
+ compId: '',
|
|
|
+ customerName: item.customerName,
|
|
|
goodsName: uni.getStorageSync('goodsName'),
|
|
|
}).then(res => {
|
|
|
- if(res.data.code==200){
|
|
|
- count=res.data.data
|
|
|
- that.$api.doRequest('get', '/paymentManagement/cumulant',{
|
|
|
- compId:'',
|
|
|
- customerName: tmpName,
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ count = res.data.data
|
|
|
+ that.$api.doRequest('get', '/paymentManagement/cumulant', {
|
|
|
+ compId: '',
|
|
|
+ customerName: item.customerName,
|
|
|
goodsName: uni.getStorageSync('goodsName'),
|
|
|
- }).then(res => {
|
|
|
+ }).then(res => {
|
|
|
for (let i = 0; i < that.purchasePriceList.length; i++) {
|
|
|
- if(that.purchasePriceList[i].goodsName== uni.getStorageSync('goodsName')){
|
|
|
- var data = res.data.data/1000
|
|
|
- if(that.purchasePriceList[i].saleLimit - data < 50 || count >0){
|
|
|
- that.$api.msg(`当前客户已累计销售我司${uni.getStorageSync('goodsName')}${data.toFixed(2)}吨,最高可售${that.purchasePriceList[i].saleLimit}吨。`)
|
|
|
+ var data = res.data.data / 1000
|
|
|
+ if (that.purchasePriceList[i].goodsName == uni
|
|
|
+ .getStorageSync('goodsName')) {
|
|
|
+ if (that.purchasePriceList[i].saleLimit - data < 50 ||
|
|
|
+ count > 0) {
|
|
|
+ that.$api.msg(
|
|
|
+ `当前客户已累计销售我司${uni.getStorageSync('goodsName')}${data.toFixed(2)}吨,最高可售${that.purchasePriceList[i].saleLimit}吨。`
|
|
|
+ )
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- that.show=false
|
|
|
+ that.show = false
|
|
|
uni.hideLoading()
|
|
|
uni.navigateBack()
|
|
|
})
|
|
@@ -246,81 +203,151 @@
|
|
|
})
|
|
|
uni.hideLoading()
|
|
|
})
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ } else {
|
|
|
+ this.$api.msg('客户身份不可用')
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+ recentcustomer(item) {
|
|
|
+ var count = ''
|
|
|
+ var that = this
|
|
|
+ var name = item.searchContent.split('(')[0]
|
|
|
+ var phone = item.searchContent.split('(')[1]
|
|
|
+ phone = phone.substring(0, phone.length - 1)
|
|
|
+ for (var i = 0; i < this.customerList.length; i++) {
|
|
|
+ // console.log(name,this.customerList[i].customerName,name==this.customerList[i].customerName)
|
|
|
+ if (this.customerList[i].customerPhone == phone) {
|
|
|
+ var tmpName = this.customerList[i].customerName
|
|
|
+ uni.setStorageSync('checkcustomer', this.customerList[i])
|
|
|
+ uni.showLoading({
|
|
|
+ title: '加载中'
|
|
|
+ })
|
|
|
+ that.$api.doRequest('post', '/searchRecordsInfo/api/addInfo', {
|
|
|
+ commonId: that.userInfo.id,
|
|
|
+ searchContent: this.customerList[i].customerName + '(' + this.customerList[i]
|
|
|
+ .customerPhone + ')',
|
|
|
+ functionType: 3
|
|
|
+ }).then(res => {
|
|
|
+ that.$api.doRequest('get', '/qualityInspectionManagement/api/settledCount', {
|
|
|
+ compId: '',
|
|
|
+ customerName: tmpName,
|
|
|
+ goodsName: uni.getStorageSync('goodsName'),
|
|
|
+ }).then(res => {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ count = res.data.data
|
|
|
+ that.$api.doRequest('get', '/paymentManagement/cumulant', {
|
|
|
+ compId: '',
|
|
|
+ customerName: tmpName,
|
|
|
+ goodsName: uni.getStorageSync('goodsName'),
|
|
|
+ }).then(res => {
|
|
|
+ for (let i = 0; i < that.purchasePriceList.length; i++) {
|
|
|
+ if (that.purchasePriceList[i].goodsName == uni
|
|
|
+ .getStorageSync('goodsName')) {
|
|
|
+ var data = res.data.data / 1000
|
|
|
+ if (that.purchasePriceList[i].saleLimit - data <
|
|
|
+ 50 || count > 0) {
|
|
|
+ that.$api.msg(
|
|
|
+ `当前客户已累计销售我司${uni.getStorageSync('goodsName')}${data.toFixed(2)}吨,最高可售${that.purchasePriceList[i].saleLimit}吨。`
|
|
|
+ )
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ that.show = false
|
|
|
+ uni.hideLoading()
|
|
|
+ uni.navigateBack()
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(res => {
|
|
|
+ uni.showToast({
|
|
|
+ title: '系统异常,请联系管理员',
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ })
|
|
|
+ uni.hideLoading()
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- emptysearch(){
|
|
|
- this.show=false
|
|
|
- this.searchKeyWord=''
|
|
|
- this.gridList=[]
|
|
|
- this.currentPage=1
|
|
|
+ emptysearch() {
|
|
|
+ this.show = false
|
|
|
+ this.searchKeyWord = ''
|
|
|
+ this.gridList = []
|
|
|
+ this.currentPage = 1
|
|
|
this.getList()
|
|
|
},
|
|
|
- doSearch(){
|
|
|
- this.show=true
|
|
|
- this.gridList=[]
|
|
|
- this.currentPage=1
|
|
|
+ doSearch() {
|
|
|
+ this.show = true
|
|
|
+ this.gridList = []
|
|
|
+ this.currentPage = 1
|
|
|
this.getList()
|
|
|
},
|
|
|
- getList(){
|
|
|
+ getList() {
|
|
|
var that = this
|
|
|
- var url=''
|
|
|
- var data={}
|
|
|
- if(this.searchKeyWord.length>0){
|
|
|
- url='/identityAuthenticationInfo/identityAuthenticationInfoCustomer'
|
|
|
- data={
|
|
|
- compId:'',
|
|
|
- authenticationStatusKey:7,
|
|
|
- searchKeyWord:this.searchKeyWord
|
|
|
+ var url = ''
|
|
|
+ var data = {}
|
|
|
+ if (this.searchKeyWord.length > 0) {
|
|
|
+ url = '/identityAuthenticationInfo/identityAuthenticationInfoCustomer'
|
|
|
+ data = {
|
|
|
+ compId: '',
|
|
|
+ authenticationStatusKey: 7,
|
|
|
+ searchKeyWord: this.searchKeyWord
|
|
|
}
|
|
|
- }else{
|
|
|
- url='/searchRecordsInfo/selectSearchRecordsInfo'
|
|
|
- data={
|
|
|
- pageSize:this.pageSize,
|
|
|
- currentPage:this.currentPage,
|
|
|
- functionType:"3",
|
|
|
- commonId:this.userInfo.id
|
|
|
+ } else {
|
|
|
+ url = '/searchRecordsInfo/selectSearchRecordsInfo'
|
|
|
+ data = {
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ currentPage: this.currentPage,
|
|
|
+ functionType: "3",
|
|
|
+ commonId: this.userInfo.id
|
|
|
}
|
|
|
}
|
|
|
- this.$api.doRequest('get', url,data).then(res => {
|
|
|
- if(res.data.data){
|
|
|
- let data = res.data.data.records?res.data.data.records:res.data.data
|
|
|
+ this.$api.doRequest('get', url, data).then(res => {
|
|
|
+ if (res.data.data) {
|
|
|
+ let data = res.data.data.records ? res.data.data.records : res.data.data
|
|
|
//采购信息
|
|
|
if (data.length > 0) {
|
|
|
- that.gridList = data
|
|
|
- }else{
|
|
|
- if(this.currentPage==1){
|
|
|
- that.gridList=[]
|
|
|
+ that.gridList = data
|
|
|
+ } else {
|
|
|
+ if (this.currentPage == 1) {
|
|
|
+ that.gridList = []
|
|
|
}
|
|
|
- this.isContent=true
|
|
|
+ this.isContent = true
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- edit(item){
|
|
|
+ edit(item) {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/erpbusiness/edit_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
|
|
|
+ url: '/pages/erpbusiness/edit_quality_testing?id=' + item.id + '&managementType=' + this
|
|
|
+ .managementType + '&cangid=' + this.cangid
|
|
|
})
|
|
|
},
|
|
|
- add(){
|
|
|
+ add() {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/erpbusiness/add_quality_testing?managementType='+this.managementType+'&cangid='+this.cangid+'&warehouseCount='+this.warehouseCount+'&commonWarehouseNo='+this.commonWarehouseNo+'&warehouseName='+this.warehouseName
|
|
|
+ url: '/pages/erpbusiness/add_quality_testing?managementType=' + this.managementType +
|
|
|
+ '&cangid=' + this.cangid + '&warehouseCount=' + this.warehouseCount +
|
|
|
+ '&commonWarehouseNo=' + this.commonWarehouseNo + '&warehouseName=' + this.warehouseName
|
|
|
})
|
|
|
},
|
|
|
- del(item){
|
|
|
- this.$api.doRequest('post', '/qualityInspectionManagement/api/deleteQualityInspection',{
|
|
|
- id:item.id
|
|
|
+ del(item) {
|
|
|
+ this.$api.doRequest('post', '/qualityInspectionManagement/api/deleteQualityInspection', {
|
|
|
+ id: item.id
|
|
|
}).then(res => {
|
|
|
- if(res.data.code==200){
|
|
|
+ if (res.data.code == 200) {
|
|
|
this.$api.msg('删除成功')
|
|
|
- this.gridList=[]
|
|
|
+ this.gridList = []
|
|
|
this.getList()
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.$api.msg('系统异常,请联系管理员')
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- fankui(){
|
|
|
+ fankui() {
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/user/fankui`
|
|
|
})
|
|
@@ -431,9 +458,10 @@
|
|
|
}
|
|
|
</script>
|
|
|
<style lang='scss' scoped>
|
|
|
- page{
|
|
|
- background:#F5F6FA;
|
|
|
+ page {
|
|
|
+ background: #F5F6FA;
|
|
|
}
|
|
|
+
|
|
|
.container {
|
|
|
padding-top: 85px;
|
|
|
padding-top: 35px;
|
|
@@ -470,6 +498,7 @@
|
|
|
color: #fff;
|
|
|
font-size: 32rpx;
|
|
|
}
|
|
|
+
|
|
|
@keyframes move_wave {
|
|
|
0% {
|
|
|
transform: translateX(0) translateZ(0) scaleY(1)
|
|
@@ -517,10 +546,11 @@
|
|
|
border-radius: 10upx;
|
|
|
}
|
|
|
|
|
|
-.cuIcon {
|
|
|
+ .cuIcon {
|
|
|
position: absolute;
|
|
|
right: 80px;
|
|
|
}
|
|
|
+
|
|
|
.grid-item-box {
|
|
|
flex: 1;
|
|
|
/* position: relative;
|
|
@@ -561,12 +591,13 @@
|
|
|
/* opacity: .7; */
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.cover-container {
|
|
|
- padding: 1px 10px ;
|
|
|
+ padding: 1px 10px;
|
|
|
padding-bottom: 200upx;
|
|
|
-
|
|
|
- /* background-color: #F5F6FA; */
|
|
|
- /* border-radius: 20px; */
|
|
|
+
|
|
|
+ /* background-color: #F5F6FA; */
|
|
|
+ /* border-radius: 20px; */
|
|
|
margin-top: 60upx;
|
|
|
|
|
|
.arc {
|
|
@@ -656,7 +687,8 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-.search-form {
|
|
|
+
|
|
|
+ .search-form {
|
|
|
background: #F5F6F9;
|
|
|
}
|
|
|
|
|
@@ -715,6 +747,7 @@
|
|
|
width: 100%;
|
|
|
background-color: rgb(242, 242, 242);
|
|
|
}
|
|
|
+
|
|
|
.grid {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -767,107 +800,140 @@
|
|
|
border-radius: 40px;
|
|
|
border: 2px solid #ffffff;
|
|
|
}
|
|
|
+
|
|
|
.information {
|
|
|
font-size: 15px;
|
|
|
font-weight: 600;
|
|
|
height: 36px;
|
|
|
}
|
|
|
- .cu-list>.cu-item:after{
|
|
|
- border:none;
|
|
|
+
|
|
|
+ .cu-list>.cu-item:after {
|
|
|
+ border: none;
|
|
|
}
|
|
|
- .sign{
|
|
|
+
|
|
|
+ .sign {
|
|
|
width: 40px;
|
|
|
height: 40px;
|
|
|
top: 4px;
|
|
|
margin-right: 6px;
|
|
|
}
|
|
|
- .indexUp{
|
|
|
- padding:0 20px;
|
|
|
+
|
|
|
+ .indexUp {
|
|
|
+ padding: 0 20px;
|
|
|
align-items: center;
|
|
|
}
|
|
|
- .wrap{
|
|
|
- background: #F5F6F9;
|
|
|
- margin: 5px 10px;
|
|
|
- border-radius: 20px;
|
|
|
- width: 92%;
|
|
|
- display: inline-block;
|
|
|
- padding: 10px;
|
|
|
- }
|
|
|
- .searchwrap{
|
|
|
- border-top:1px solid #eee;padding:10px 20px;
|
|
|
- }
|
|
|
- .searchwrap:last-child{
|
|
|
- border-bottom:1px solid #eee;
|
|
|
- }
|
|
|
- .qualityNo{
|
|
|
- font-size:16px;
|
|
|
- }
|
|
|
- .type{
|
|
|
- font-size:12px;
|
|
|
- color:#fff;
|
|
|
- padding:3px 5px;
|
|
|
- border-radius:50%;
|
|
|
- line-height:16px;
|
|
|
- }
|
|
|
- .type-zhi{
|
|
|
- background:#22C572;
|
|
|
- }
|
|
|
- .type-mao{
|
|
|
- background:#3296FA;
|
|
|
- }
|
|
|
- .type-pi{
|
|
|
- background:#FD714F;
|
|
|
- }
|
|
|
- .time{
|
|
|
- font-size:12px;
|
|
|
- color:#878C9C;
|
|
|
- }
|
|
|
- .qualityInspector{
|
|
|
- font-size:14px;
|
|
|
- }
|
|
|
- .customerinformation{
|
|
|
- background:#F9F9FA;
|
|
|
- padding:7px;
|
|
|
- margin:20px 0;
|
|
|
- border-radius:10px;
|
|
|
- color:#9698A2;
|
|
|
- }
|
|
|
- .buttons{
|
|
|
- flex-direction:row-reverse;
|
|
|
- }
|
|
|
- .button{
|
|
|
- padding:13rpx 30rpx;
|
|
|
- border:1px solid #CDCDCD;
|
|
|
- border-radius:15px;
|
|
|
- margin:0 10px;
|
|
|
- }
|
|
|
- .changewarehouse{
|
|
|
- padding:10px 20px;
|
|
|
- }
|
|
|
- .header{
|
|
|
- background:#fff;
|
|
|
- border-radius:0px 0px 16px 16px;
|
|
|
- }
|
|
|
- .content{
|
|
|
- background:#fff;
|
|
|
- height:85.5vh;
|
|
|
- }
|
|
|
- .footer{
|
|
|
- background:#fff;
|
|
|
- position:fixed;
|
|
|
- bottom:0;
|
|
|
- width:100%;
|
|
|
- padding:20px 10px;
|
|
|
- z-index:10;
|
|
|
- .button{
|
|
|
- background:#22C572;
|
|
|
- width:90%;
|
|
|
- margin:0 auto;
|
|
|
- padding:10px;
|
|
|
- color:#fff;
|
|
|
- text-align:center;
|
|
|
+
|
|
|
+ .wrap {
|
|
|
+ background: #F5F6F9;
|
|
|
+ margin: 5px 10px;
|
|
|
+ border-radius: 20px;
|
|
|
+ width: 92%;
|
|
|
+ display: inline-block;
|
|
|
+ padding: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .searchwrap {
|
|
|
+ border-top: 1px solid #eee;
|
|
|
+ padding: 10px 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .searchwrap:last-child {
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+ }
|
|
|
+
|
|
|
+ .qualityNo {
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .type {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #fff;
|
|
|
+ padding: 3px 5px;
|
|
|
+ border-radius: 50%;
|
|
|
+ line-height: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .type-zhi {
|
|
|
+ background: #22C572;
|
|
|
+ }
|
|
|
+
|
|
|
+ .type-mao {
|
|
|
+ background: #3296FA;
|
|
|
+ }
|
|
|
+
|
|
|
+ .type-pi {
|
|
|
+ background: #FD714F;
|
|
|
+ }
|
|
|
+
|
|
|
+ .time {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #878C9C;
|
|
|
+ }
|
|
|
+
|
|
|
+ .qualityInspector {
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .customerinformation {
|
|
|
+ background: #F9F9FA;
|
|
|
+ padding: 7px;
|
|
|
+ margin: 20px 0;
|
|
|
+ border-radius: 10px;
|
|
|
+ color: #9698A2;
|
|
|
+ }
|
|
|
+
|
|
|
+ .buttons {
|
|
|
+ flex-direction: row-reverse;
|
|
|
+ }
|
|
|
+
|
|
|
+ .button {
|
|
|
+ padding: 13rpx 30rpx;
|
|
|
+ border: 1px solid #CDCDCD;
|
|
|
+ border-radius: 15px;
|
|
|
+ margin: 0 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .changewarehouse {
|
|
|
+ padding: 10px 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .header {
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 0px 0px 16px 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .content {
|
|
|
+ background: #fff;
|
|
|
+ /* height: 85.5vh; */
|
|
|
+ }
|
|
|
+
|
|
|
+ .footer {
|
|
|
+ background: #fff;
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ width: 100%;
|
|
|
+ padding: 20px 10px;
|
|
|
+ z-index: 10;
|
|
|
+
|
|
|
+ .button {
|
|
|
+ background: #22C572;
|
|
|
+ width: 90%;
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 10px;
|
|
|
+ color: #fff;
|
|
|
+ text-align: center;
|
|
|
border-radius: 30px;
|
|
|
}
|
|
|
}
|
|
|
+ .content1{
|
|
|
+ margin-top: 20rpx;
|
|
|
+ padding: 20rpx 0;
|
|
|
+ .row{
|
|
|
+ display: flex;
|
|
|
+ padding:20rpx 30rpx;
|
|
|
+ .row-item{
|
|
|
+ margin-right: 20rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|
|
|
-
|