|
|
|
@ -8,6 +8,7 @@
|
|
|
|
|
<el-form-item label="单据类型:" label-width="120px">
|
|
|
|
|
<el-input
|
|
|
|
|
size="mini"
|
|
|
|
|
:disabled="true"
|
|
|
|
|
splaceholder="请输入内容" style="width: 80%"
|
|
|
|
|
v-model="inputQuery.name"
|
|
|
|
|
></el-input>
|
|
|
|
@ -21,6 +22,7 @@
|
|
|
|
|
<el-input
|
|
|
|
|
size="mini"
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
:disabled="true"
|
|
|
|
|
splaceholder="请输入内容"
|
|
|
|
|
v-model="inputQuery.action"
|
|
|
|
|
></el-input>
|
|
|
|
@ -30,22 +32,25 @@
|
|
|
|
|
<el-row :gutter="20" type="flex">
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="单据起始上传:" label-width="120px">
|
|
|
|
|
<el-input
|
|
|
|
|
size="mini"
|
|
|
|
|
splaceholder="请输入内容" style="width: 80%"
|
|
|
|
|
:disabled="true"
|
|
|
|
|
v-model="inputQuery.createTime"
|
|
|
|
|
></el-input>
|
|
|
|
|
<el-date-picker
|
|
|
|
|
type="date"
|
|
|
|
|
v-model="inputQuery.orderStartTime"
|
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
:disabled="inputQuery.autoUpload"
|
|
|
|
|
placeholder="选择日期">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row :gutter="20" type="flex">
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="单据状态:" label-width="120px">
|
|
|
|
|
<el-radio-group v-model="configQuery.orderStatus" :disabled="configQuery.autoUpload">
|
|
|
|
|
<el-radio :label="1" :value="1" @change="handleRadioChange">待审核</el-radio>
|
|
|
|
|
<el-radio :label="2" :value="2" @change="handleRadioChange">已审核</el-radio>
|
|
|
|
|
<el-radio :label="3" :value="3" @change="handleRadioChange">已确认</el-radio>
|
|
|
|
|
<el-radio-group v-model="inputQuery.orderStatus" :disabled="inputQuery.autoUpload">
|
|
|
|
|
<el-radio :label="1" :value="1">待审核</el-radio>
|
|
|
|
|
<el-radio :label="2" :value="2">已审核</el-radio>
|
|
|
|
|
<el-radio :label="3" :value="3">已确认</el-radio>
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -54,20 +59,25 @@
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="单据来源:" label-width="120px">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="configQuery.orderSources"
|
|
|
|
|
v-model="inputQuery.orderSource"
|
|
|
|
|
multiple
|
|
|
|
|
collapse-tags
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
>
|
|
|
|
|
<el-option label="web端新增单据" value="checkWebNew"></el-option>
|
|
|
|
|
<el-option label="手持终端未校验单据" value="checkPdaUn"></el-option>
|
|
|
|
|
<el-option label="手持终端已校验单据" value="checkPdaEd"></el-option>
|
|
|
|
|
<el-option label="UDIMS平台" value="checkUdims"></el-option>
|
|
|
|
|
<el-option label="UDI扫码通" value="checkPc"></el-option>
|
|
|
|
|
<el-option label="自助平台同步" value="checkSp"></el-option>
|
|
|
|
|
<el-option label="缺量补单" value="checkChange"></el-option>
|
|
|
|
|
<el-option label="平衡补单" value="checkBalacne"></el-option>
|
|
|
|
|
<el-option label="UDIMS平台" value="1"></el-option>
|
|
|
|
|
<el-option label="网页新增" value="2"></el-option>
|
|
|
|
|
<el-option label="pda即时校验" value="3"></el-option>
|
|
|
|
|
<el-option label="pda未校验" value="4"></el-option>
|
|
|
|
|
<el-option label="pc端扫码精灵" value="5"></el-option>
|
|
|
|
|
<el-option label="流转自动补单" value="6"></el-option>
|
|
|
|
|
<el-option label="UDI供应商平台" value="7"></el-option>
|
|
|
|
|
<el-option label="平衡补录单据" value="8"></el-option>
|
|
|
|
|
<el-option label="手动补单" value="10"></el-option>
|
|
|
|
|
<el-option label="仓库盘点" value="11"></el-option>
|
|
|
|
|
<el-option label="采购计划" value="12"></el-option>
|
|
|
|
|
<el-option label="领用单据" value="13"></el-option>
|
|
|
|
|
<el-option label="第三方系统单据" value="14"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -91,47 +101,12 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
handleRadioChange(val) {
|
|
|
|
|
if (val === 1) {
|
|
|
|
|
this.configQuery.orderUnCheck = 1;
|
|
|
|
|
this.configQuery.orderUnReceive = 0;
|
|
|
|
|
this.configQuery.orderScanFinish = 0;
|
|
|
|
|
}
|
|
|
|
|
if (val === 2) {
|
|
|
|
|
this.configQuery.orderUnCheck = 0;
|
|
|
|
|
this.configQuery.orderUnReceive = 1;
|
|
|
|
|
this.configQuery.orderScanFinish = 0;
|
|
|
|
|
}
|
|
|
|
|
if (val === 3) {
|
|
|
|
|
this.configQuery.orderUnCheck = 0;
|
|
|
|
|
this.configQuery.orderUnReceive = 0;
|
|
|
|
|
this.configQuery.orderScanFinish = 1;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
methods: {},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
configQuery: {
|
|
|
|
|
autoUpload: null,
|
|
|
|
|
orderSyncTime: null,
|
|
|
|
|
orderStartTime: null,
|
|
|
|
|
orderUnCheck: null,
|
|
|
|
|
orderUnReceive: null,
|
|
|
|
|
orderScanFinish: null,
|
|
|
|
|
checkWebNew: null,
|
|
|
|
|
checkPdaUn: null,
|
|
|
|
|
checkPdaEd: null,
|
|
|
|
|
checkUdims: null,
|
|
|
|
|
checkPc: null,
|
|
|
|
|
checkSp: null,
|
|
|
|
|
checkChange: null,
|
|
|
|
|
checkBalacne: null,
|
|
|
|
|
busTypes: [],
|
|
|
|
|
orderSources: [], // 存储用户选择的单据来源
|
|
|
|
|
orderStatus: 3,//单选框默认选择已完成单据选项
|
|
|
|
|
inputQuery: {
|
|
|
|
|
orderSource: [], // 存储用户选择的单据来源
|
|
|
|
|
orderStatus: 3,//单选框默认选择已确认单据选项
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|