Commit b3deb8f3 by LJM

异常管理

parent a21d94e6
......@@ -217,8 +217,8 @@
width: 100%;
justify-content: flex-end;
.btn1 {
width: 100rpx;
height: 48rpx;
width: 137rpx;
height: 70rpx;
background: #fff;
border-radius: 4rpx;
font-size: 24rpx;
......@@ -226,8 +226,8 @@
border: 1px solid #999;
}
.btn2 {
width: 100rpx;
height: 48rpx;
width: 137rpx;
height: 70rpx;
background: #1969f9;
border-radius: 8rpx;
font-size: 25rpx;
......@@ -336,7 +336,7 @@
}
.uni-input {
width: 310rpx;
height: 55rpx;
height: 80rpx;
background: #e6edf0;
border-radius: 4rpx;
padding-left: 20rpx;
......@@ -345,8 +345,8 @@
font-weight: bold;
}
.search-btn {
width: 120rpx;
height: 55rpx;
width: 170rpx;
height: 80rpx;
background: #197adb;
font-size: 26rpx;
color: #ffffff;
......
.page-box {
padding-bottom: 20rpx;
.base-information {
padding: 0 24rpx;
background: #ffffff;
......@@ -120,8 +121,8 @@
border-bottom: 1px solid #e6edf0;
.label {
position: relative;
width: 183rpx;
font-size: 24rpx;
width: 213rpx;
font-size: 28rpx;
color: #6e767a;
&.required:after {
position: absolute;
......@@ -133,7 +134,7 @@
}
}
.input-wrap {
width: calc(100% - 183rpx);
width: calc(100% - 213rpx);
.tab-panel {
&:last-child {
margin-right: 0;
......@@ -155,7 +156,7 @@
}
}
.uni-list-cell-db {
width: calc(100% - 183rpx);
width: calc(100% - 213rpx);
position: relative;
.icon-sanjiaoxing1 {
position: absolute;
......@@ -171,7 +172,7 @@
font-weight: bold;
}
.uni-input-box {
width: calc(100% - 183rpx);
width: calc(100% - 213rpx);
.uni-input {
font-size: 24rpx;
color: #404547;
......@@ -198,16 +199,16 @@
.title {
margin-bottom: 24rpx;
.tt-l {
font-size: 24rpx;
font-size: 28rpx;
color: #6e767a;
}
.tt-r {
font-size: 24rpx;
font-size: 28rpx;
color: #404547;
}
}
.upload-list {
padding-bottom: 24rpx;
padding-bottom: 28rpx;
border-bottom: 1px solid #e6edf0;
.default {
width: 144rpx;
......@@ -251,7 +252,7 @@
padding-top: 23rpx;
textarea {
height: 80rpx;
font-size: 24rpx;
font-size: 28rpx;
color: #6e767a;
border-bottom: 1px solid #e6edf0;
}
......
......@@ -224,7 +224,7 @@
}, {
"path": "pages/tally/abnormalTally",
"style": {
"navigationBarTitleText": "理货异常处理"
"navigationBarTitleText": "美产商检管理"
}
}, {
"path": "pages/tally/goods",
......
......@@ -50,30 +50,30 @@
</picker>
</view>
</view>
<view class="box row verCenter">
<view class="box row verCenter" v-if="index == 0 || index == 1|| index == 2|| index == 3">
<template v-if="index == 0">
<text class="label">实物品牌</text>
<view class="uni-input-box row verCenter bothSide">
<input type="text" class="uni-input" placeholder="实物品牌" placeholder-style="color:#404547;font-weight:bold;" v-model="form.actual_brand" style="width: 100%;" />
<input type="text" class="uni-input" placeholder="请输入" placeholder-style="color:#404547;" v-model="form.actual_brand" style="width: 100%;" />
</view>
</template>
<template v-else-if="index == 1">
<text class="label">实物型号</text>
<view class="uni-input-box row verCenter bothSide">
<input type="text" class="uni-input" placeholder="实物型号" placeholder-style="color:#404547;font-weight:bold;" v-model="form.actual_model" style="width: 100%;" />
<input type="text" class="uni-input" placeholder="请输入" placeholder-style="color:#404547;" v-model="form.actual_model" style="width: 100%;" />
</view>
</template>
<template v-else-if="index == 2">
<text class="label">实物产地</text>
<view class="uni-input-box row verCenter bothSide">
<input type="text" class="uni-input" placeholder="实物产地" placeholder-style="color:#404547;font-weight:bold;" v-model="form.actual_origin" style="width: 100%;" />
<input type="text" class="uni-input" placeholder="请输入" placeholder-style="color:#404547;" v-model="form.actual_origin" style="width: 100%;" />
</view>
</template>
<template v-else-if="index == 3">
<text class="label">实物数量</text>
<view class="uni-input-box row verCenter bothSide">
<input type="text" class="uni-input" placeholder="实物数量" placeholder-style="color:#404547;font-weight:bold;" v-model="form.actual_qty" style="width: 100%;" />
<input type="text" class="uni-input" placeholder="请输入" placeholder-style="color:#404547;" v-model="form.actual_qty" style="width: 100%;" />
</view>
</template>
</view>
......@@ -90,7 +90,7 @@
<view class="title row bothSide verCenter">
<view class="row verCenter">
<text style="color: red;">*</text>
<text class="tt-l">异常图片上传(选填)</text>
<text class="tt-l">异常图片上传</text>
</view>
<text class="tt-r">{{ abnormal_pic_url.length }}/4</text>
</view>
......@@ -104,7 +104,7 @@
<view class="default row rowCenter verCenter" @click="chooseImageChange()" v-if="abnormal_pic_url.length < 4"><text class="iconfont icon-xingzhuangjiehe"></text></view>
</view>
<view class="textarea-box">
<textarea maxlength="200" placeholder="请输入异常说明(选填)" placeholder-style="color:#6E767A;" v-model="form.abnormal_explain"></textarea>
<textarea maxlength="200" placeholder="请输入异常说明" placeholder-style="color:#6E767A;" v-model="form.abnormal_explain"></textarea>
<view class="quickExpressions row">
<view class="lable-box" @click="selectionText(item.expressions)" v-for="(item,index) in quickExpressions" :key="index">{{item.expressions}}</view>
</view>
......@@ -123,7 +123,7 @@
data() {
return {
noexebshowFalg: true, //控制是否会触发生命周期
array: ['品牌异常', '型号异常', '产地异常', '数量异常'],
array: ['品牌异常', '型号异常', '产地异常', '数量异常', '标签异常', '其他异常'],
index: 0,
salesman: '',
orderDetailByIdIndex: '',
......@@ -203,7 +203,7 @@
getQuickExpressions() {
this.request(API.getQuickExpressions, 'GET', { abnormal_type: this.form.abnormal_type }, false).then(res => {
if (res.err_code === 0) {
this.quickExpressions.list = res.data;
this.quickExpressions = res.data.list;
} else {
uni.showToast({
title: res.err_msg,
......@@ -338,13 +338,6 @@
});
return false;
}
if (!this.form.actual_model && !this.form.actual_brand && !this.form.actual_qty && this.form.actual_origin) {
uni.showToast({
title: '请填写实物',
icon: 'none'
});
return false;
}
if (this.form.is_business_processing === '') {
uni.showToast({
title: '请选择是否需要业务处理',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment