Browse Source

修复盘点查询

pre-production
马远东 11 months ago
parent
commit
dfb3a8b771
  1. 91
      src/views/aftersales/aftersalesWorkOrderAddTemp.vue
  2. 11
      src/views/distribution/checkInventoryTask/createTask.vue

91
src/views/aftersales/aftersalesWorkOrderAddTemp.vue

@ -271,15 +271,15 @@
v-model="form.processor"
placeholder="请选择处理方"
style="width: 100%"
multiple
filterable
clearable
>
<el-option
v-for="item in Processingoptions"
:key="item.value"
:label="item.label"
:value="item.value"
multiple
filterable
clearable
/>
</el-select>
</el-form-item>
@ -293,6 +293,8 @@
<el-input
v-model="form.investigationPocess"
placeholder="请输调查经过"
type="textarea"
:autosize="{ minRows: 1, maxRows: 4 }"
clearable
/>
</el-form-item>
@ -300,6 +302,18 @@
</div>
</el-tab-pane>
</el-tabs>
<!-- 内部责任划分 -->
<el-tabs
v-model="form.responsibilities"
class="demo-tabs Packagebox"
@tab-click="handleClick"
v-loading="form.Packageloading"
>
<el-tab-pane label="内部责任划分" name="0">
</el-tab-pane>
</el-tabs>
</el-form>
</div>
@ -348,6 +362,7 @@ import { deepClone } from '@/utils/util';
const form = ref({
TabactiveName: '0', //
activPackage: '0', //
responsibilities:'0',//
Pageloading: false, //
Packageloading: false, //
historydialog: false, //
@ -366,27 +381,31 @@ const form = ref({
},
], //
Historicalpackage: [],
//
responsibilitiesList:[
],
});
const ruleForm = reactive({
workOrderType: [{ required: true, message: '请选择异常类型', trigger: 'change' }],
discoveryNode: [{ required: true, message: '请选择发现节点', trigger: 'change' }],
packageCode: [{ required: true, message: '请输入包条码', trigger: 'change' }],
waybillNumber: [{ required: true, message: '请输入运单号', trigger: 'change' }],
orderCode: [{ required: true, message: '请输入订单自编号', trigger: 'change' }],
first: [{ required: true, message: '请输入一级品', trigger: 'change' }],
secondary: [{ required: true, message: '请输入二级品', trigger: 'change' }],
brandName: [{ required: true, message: '请输入品牌', trigger: 'change' }],
trainNumber: [{ required: true, message: '请选择车次号', trigger: 'change' }],
deliveryTime: [{ required: true, message: '请输入配送时间', trigger: 'change' }],
deliveryDriver: [{ required: true, message: '请输入配送司机', trigger: 'change' }],
vehicleRoute: [{ required: true, message: '请输入车辆线路', trigger: 'change' }],
deliverGoodsTime: [{ required: true, message: '请输入发货时间', trigger: 'change' }],
warehousingTime: [{ required: true, message: '请选择入库时间', trigger: 'change' }],
discoveryTime: [{ required: true, message: '请选择发现时间', trigger: 'change' }],
waybillMall: [{ required: true, message: '请输入运单商场', trigger: 'change' }],
typeServiceName: [{ required: true, message: '请输入合作模式', trigger: 'change' }],
processor: [{ required: true, message: '请输入处理方', trigger: 'change' }],
investigationPocess: [{ required: true, message: '请输入调查经过', trigger: 'change' }],
workOrderType: [{ required: true, message: '请选择异常类型', trigger: 'bulr' }],
discoveryNode: [{ required: true, message: '请选择发现节点', trigger: 'bulr' }],
packageCode: [{ required: true, message: '请输入包条码', trigger: 'bulr' }],
waybillNumber: [{ required: true, message: '请输入运单号', trigger: 'bulr' }],
orderCode: [{ required: true, message: '请输入订单自编号', trigger: 'bulr' }],
first: [{ required: true, message: '请输入一级品', trigger: 'bulr' }],
secondary: [{ required: true, message: '请输入二级品', trigger: 'bulr' }],
brandName: [{ required: true, message: '请输入品牌', trigger: 'bulr' }],
trainNumber: [{ required: true, message: '请选择车次号', trigger: 'bulr' }],
deliveryTime: [{ required: true, message: '请输入配送时间', trigger: 'bulr' }],
deliveryDriver: [{ required: true, message: '请输入配送司机', trigger: 'bulr' }],
vehicleRoute: [{ required: true, message: '请输入车辆线路', trigger: 'bulr' }],
deliverGoodsTime: [{ required: true, message: '请输入发货时间', trigger: 'bulr' }],
warehousingTime: [{ required: true, message: '请选择入库时间', trigger: 'bulr' }],
discoveryTime: [{ required: true, message: '请选择发现时间', trigger: 'bulr' }],
waybillMall: [{ required: true, message: '请输入运单商场', trigger: 'bulr' }],
typeServiceName: [{ required: true, message: '请输入合作模式', trigger: 'bulr' }],
processor: [{ required: true, message: '请输入处理方', trigger: 'bulr' }],
investigationPocess: [{ required: true, message: '请输入调查经过', trigger: 'bulr' }],
});
const ruleFormRef = ref(); //
//
@ -447,20 +466,18 @@ const DiscoveringNodesChange = value => {
};
//
const displaySettings = computed(() => {
const groundType = form.value.groundlineType;
const includesType = types => types.includes(groundType);
return {
trainNumber: includesType([3, 5, 7, 6]), //
deliveryTime: includesType([5, 7, 6]), //
deliveryDriver: includesType([5, 7, 6]), //
vehicleRoute: includesType([3]), // 线
deliverGoodsTime: includesType([2]), //
warehousingTime: includesType([4]), //
discoveryTime: includesType([4, 5, 6, 7]), //
waybillMall: true, //
typeServiceName: true, //
processor: true, //
investigationPocess: true, //
trainNumber: ['3', '5', '7', '6'].includes(form.value.groundlineType), //
deliveryTime: ['5', '7', '6'].includes(form.value.groundlineType), //
deliveryDriver: ['5', '7', '6'].includes(form.value.groundlineType), //
vehicleRoute: ['3'].includes(form.value.groundlineType), //线
deliverGoodsTime: ['2'].includes(form.value.groundlineType), //
warehousingTime: ['4'].includes(form.value.groundlineType), //
discoveryTime: ['4', '5', '6', '7'].includes(form.value.groundlineType), //
waybillMall: true, //
typeServiceName: true, //
processor: true, //
investigationPocess: true, //
};
});
//
@ -635,7 +652,6 @@ const TabactiveClick = (a, b) => {
width: 12.8%;
margin-right: 10px;
.el-form-item__content {
height: 29px;
.el-input {
height: 100% !important;
.el-input__wrapper {
@ -650,8 +666,9 @@ const TabactiveClick = (a, b) => {
.el_Basic {
flex: 1;
display: flex;
min-width: 20%;
.el_Processing {
width: 54%;
width: 39.6%;
}
.el_Investigation {
flex: 1;

11
src/views/distribution/checkInventoryTask/createTask.vue

@ -715,6 +715,7 @@ import { downloadXls } from '@/utils/util';
import { getDictionaryBiz } from '@/api/system/dict';
import { ref, reactive } from 'vue';
import { off } from 'dom7';
import { template } from '@antfu/utils';
const wLinput = ref(null); //
const wLinputState = ref(false); //
const SoInfoData = ref({}); //
@ -770,6 +771,7 @@ const Statusjudgment = ref(false); //新增按钮
const DbEx = ref(null); //
const fullScreen = ref(false); //
const BatchAbandonment = ref([]); //
const templateRwo = ref()
/** loading */
const loadingObj = reactive({
/** 页面loading */
@ -1590,17 +1592,16 @@ const InInputSo = (values, val) => {
//
const InputSo = val => {
console.log(val,'val==>');
TcPdloading.value = true;
console.log(val, '搜索框接收的值');
console.log( UncountedDetails.value,' UncountedDetails.value');
let data = {};
console.log(row.value, 'row.value');
data.current = TccurrentPage.value;
data.size = TcpageSize.value;
let dataS = {
questNum: UncountedDetails.value?UncountedDetails.value.questNum:'',
questId: UncountedDetails.value?UncountedDetails.value.id:'',
questNum: templateRwo.value.questNum,
questId: templateRwo.value.id,
current: TccurrentPage.value, //
size: TcpageSize.value, //
[val.prop]: val.values,
@ -1842,6 +1843,8 @@ const TcViewEvent = (val, Inso) => {
};
//
const ViewEvent = val => {
console.log(val,'val');
templateRwo.value =val
DiskStatus.value = true; //
InventoryDetails.value.forEach(item => {
item.values = null;

Loading…
Cancel
Save