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" v-model="form.processor"
placeholder="请选择处理方" placeholder="请选择处理方"
style="width: 100%" style="width: 100%"
multiple
filterable
clearable
> >
<el-option <el-option
v-for="item in Processingoptions" v-for="item in Processingoptions"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
multiple
filterable
clearable
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -293,6 +293,8 @@
<el-input <el-input
v-model="form.investigationPocess" v-model="form.investigationPocess"
placeholder="请输调查经过" placeholder="请输调查经过"
type="textarea"
:autosize="{ minRows: 1, maxRows: 4 }"
clearable clearable
/> />
</el-form-item> </el-form-item>
@ -300,6 +302,18 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </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> </el-form>
</div> </div>
@ -348,6 +362,7 @@ import { deepClone } from '@/utils/util';
const form = ref({ const form = ref({
TabactiveName: '0', // TabactiveName: '0', //
activPackage: '0', // activPackage: '0', //
responsibilities:'0',//
Pageloading: false, // Pageloading: false, //
Packageloading: false, // Packageloading: false, //
historydialog: false, // historydialog: false, //
@ -366,27 +381,31 @@ const form = ref({
}, },
], // ], //
Historicalpackage: [], Historicalpackage: [],
//
responsibilitiesList:[
],
}); });
const ruleForm = reactive({ const ruleForm = reactive({
workOrderType: [{ required: true, message: '请选择异常类型', trigger: 'change' }], workOrderType: [{ required: true, message: '请选择异常类型', trigger: 'bulr' }],
discoveryNode: [{ required: true, message: '请选择发现节点', trigger: 'change' }], discoveryNode: [{ required: true, message: '请选择发现节点', trigger: 'bulr' }],
packageCode: [{ required: true, message: '请输入包条码', trigger: 'change' }], packageCode: [{ required: true, message: '请输入包条码', trigger: 'bulr' }],
waybillNumber: [{ required: true, message: '请输入运单号', trigger: 'change' }], waybillNumber: [{ required: true, message: '请输入运单号', trigger: 'bulr' }],
orderCode: [{ required: true, message: '请输入订单自编号', trigger: 'change' }], orderCode: [{ required: true, message: '请输入订单自编号', trigger: 'bulr' }],
first: [{ required: true, message: '请输入一级品', trigger: 'change' }], first: [{ required: true, message: '请输入一级品', trigger: 'bulr' }],
secondary: [{ required: true, message: '请输入二级品', trigger: 'change' }], secondary: [{ required: true, message: '请输入二级品', trigger: 'bulr' }],
brandName: [{ required: true, message: '请输入品牌', trigger: 'change' }], brandName: [{ required: true, message: '请输入品牌', trigger: 'bulr' }],
trainNumber: [{ required: true, message: '请选择车次号', trigger: 'change' }], trainNumber: [{ required: true, message: '请选择车次号', trigger: 'bulr' }],
deliveryTime: [{ required: true, message: '请输入配送时间', trigger: 'change' }], deliveryTime: [{ required: true, message: '请输入配送时间', trigger: 'bulr' }],
deliveryDriver: [{ required: true, message: '请输入配送司机', trigger: 'change' }], deliveryDriver: [{ required: true, message: '请输入配送司机', trigger: 'bulr' }],
vehicleRoute: [{ required: true, message: '请输入车辆线路', trigger: 'change' }], vehicleRoute: [{ required: true, message: '请输入车辆线路', trigger: 'bulr' }],
deliverGoodsTime: [{ required: true, message: '请输入发货时间', trigger: 'change' }], deliverGoodsTime: [{ required: true, message: '请输入发货时间', trigger: 'bulr' }],
warehousingTime: [{ required: true, message: '请选择入库时间', trigger: 'change' }], warehousingTime: [{ required: true, message: '请选择入库时间', trigger: 'bulr' }],
discoveryTime: [{ required: true, message: '请选择发现时间', trigger: 'change' }], discoveryTime: [{ required: true, message: '请选择发现时间', trigger: 'bulr' }],
waybillMall: [{ required: true, message: '请输入运单商场', trigger: 'change' }], waybillMall: [{ required: true, message: '请输入运单商场', trigger: 'bulr' }],
typeServiceName: [{ required: true, message: '请输入合作模式', trigger: 'change' }], typeServiceName: [{ required: true, message: '请输入合作模式', trigger: 'bulr' }],
processor: [{ required: true, message: '请输入处理方', trigger: 'change' }], processor: [{ required: true, message: '请输入处理方', trigger: 'bulr' }],
investigationPocess: [{ required: true, message: '请输入调查经过', trigger: 'change' }], investigationPocess: [{ required: true, message: '请输入调查经过', trigger: 'bulr' }],
}); });
const ruleFormRef = ref(); // const ruleFormRef = ref(); //
// //
@ -447,20 +466,18 @@ const DiscoveringNodesChange = value => {
}; };
// //
const displaySettings = computed(() => { const displaySettings = computed(() => {
const groundType = form.value.groundlineType;
const includesType = types => types.includes(groundType);
return { return {
trainNumber: includesType([3, 5, 7, 6]), // trainNumber: ['3', '5', '7', '6'].includes(form.value.groundlineType), //
deliveryTime: includesType([5, 7, 6]), // deliveryTime: ['5', '7', '6'].includes(form.value.groundlineType), //
deliveryDriver: includesType([5, 7, 6]), // deliveryDriver: ['5', '7', '6'].includes(form.value.groundlineType), //
vehicleRoute: includesType([3]), // 线 vehicleRoute: ['3'].includes(form.value.groundlineType), //线
deliverGoodsTime: includesType([2]), // deliverGoodsTime: ['2'].includes(form.value.groundlineType), //
warehousingTime: includesType([4]), // warehousingTime: ['4'].includes(form.value.groundlineType), //
discoveryTime: includesType([4, 5, 6, 7]), // discoveryTime: ['4', '5', '6', '7'].includes(form.value.groundlineType), //
waybillMall: true, // waybillMall: true, //
typeServiceName: true, // typeServiceName: true, //
processor: true, // processor: true, //
investigationPocess: true, // investigationPocess: true, //
}; };
}); });
// //
@ -635,7 +652,6 @@ const TabactiveClick = (a, b) => {
width: 12.8%; width: 12.8%;
margin-right: 10px; margin-right: 10px;
.el-form-item__content { .el-form-item__content {
height: 29px;
.el-input { .el-input {
height: 100% !important; height: 100% !important;
.el-input__wrapper { .el-input__wrapper {
@ -650,8 +666,9 @@ const TabactiveClick = (a, b) => {
.el_Basic { .el_Basic {
flex: 1; flex: 1;
display: flex; display: flex;
min-width: 20%;
.el_Processing { .el_Processing {
width: 54%; width: 39.6%;
} }
.el_Investigation { .el_Investigation {
flex: 1; 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 { getDictionaryBiz } from '@/api/system/dict';
import { ref, reactive } from 'vue'; import { ref, reactive } from 'vue';
import { off } from 'dom7'; import { off } from 'dom7';
import { template } from '@antfu/utils';
const wLinput = ref(null); // const wLinput = ref(null); //
const wLinputState = ref(false); // const wLinputState = ref(false); //
const SoInfoData = ref({}); // const SoInfoData = ref({}); //
@ -770,6 +771,7 @@ const Statusjudgment = ref(false); //新增按钮
const DbEx = ref(null); // const DbEx = ref(null); //
const fullScreen = ref(false); // const fullScreen = ref(false); //
const BatchAbandonment = ref([]); // const BatchAbandonment = ref([]); //
const templateRwo = ref()
/** loading */ /** loading */
const loadingObj = reactive({ const loadingObj = reactive({
/** 页面loading */ /** 页面loading */
@ -1590,17 +1592,16 @@ const InInputSo = (values, val) => {
// //
const InputSo = val => { const InputSo = val => {
console.log(val,'val==>');
TcPdloading.value = true; TcPdloading.value = true;
console.log(val, '搜索框接收的值');
console.log( UncountedDetails.value,' UncountedDetails.value');
let data = {}; let data = {};
console.log(row.value, 'row.value'); console.log(row.value, 'row.value');
data.current = TccurrentPage.value; data.current = TccurrentPage.value;
data.size = TcpageSize.value; data.size = TcpageSize.value;
let dataS = { let dataS = {
questNum: UncountedDetails.value?UncountedDetails.value.questNum:'', questNum: templateRwo.value.questNum,
questId: UncountedDetails.value?UncountedDetails.value.id:'', questId: templateRwo.value.id,
current: TccurrentPage.value, // current: TccurrentPage.value, //
size: TcpageSize.value, // size: TcpageSize.value, //
[val.prop]: val.values, [val.prop]: val.values,
@ -1842,6 +1843,8 @@ const TcViewEvent = (val, Inso) => {
}; };
// //
const ViewEvent = val => { const ViewEvent = val => {
console.log(val,'val');
templateRwo.value =val
DiskStatus.value = true; // DiskStatus.value = true; //
InventoryDetails.value.forEach(item => { InventoryDetails.value.forEach(item => {
item.values = null; item.values = null;

Loading…
Cancel
Save