新增创建单据模式

ywj_dev
anthonywj 2 years ago
parent e17f5d4a37
commit 56f9bfff14

@ -215,7 +215,7 @@ export default {
this.$message.error("目标出入库单与目标业务单不能同时为空!") this.$message.error("目标出入库单与目标业务单不能同时为空!")
return; return;
} }
if(isBlank(this.inputQuery.supplementAll)){ if (isBlank(this.inputQuery.supplementAll)) {
this.$message.error("补单方式不能为空!") this.$message.error("补单方式不能为空!")
return; return;
} }

@ -90,17 +90,28 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row style="margin-bottom: 20px"> <el-row style="margin-bottom: 20px">
<el-col :span="11">
<el-form-item label="创建单据模式" prop="createType">
<el-select v-model="inputQuery.createType" placeholder="创建单据模式" size="small"
style="width: 90%">
<el-option label="送货至入库补单" :value="1"></el-option>
<el-option label="向上级仓库补单" :value="2"></el-option>
<el-option label="寄售/预验收转入库补单" :value="3"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="11"> <el-col :span="11">
<el-form-item label="审核状态" prop="auditStatus" class="query-form-item"> <el-form-item label="审核状态" prop="auditStatus" class="query-form-item">
<el-radio-group v-model="inputQuery.auditStatus"> <el-radio-group v-model="inputQuery.auditStatus">
<el-radio :label="1">草稿</el-radio> <el-radio :label="1">草稿</el-radio>
<el-radio :label="2">待核对</el-radio> <el-radio :label="2">待核对</el-radio>
</el-radio-group> </el-radio-group>
<!-- <el-select v-model="inputQuery.auditStatus" placeholder="请选择出入库类型" style="width: 90%">--> <!-- <el-select v-model="inputQuery.auditStatus" placeholder="请选择出入库类型" style="width: 90%">-->
<!-- <el-radio :label="1">草稿</el-radio>--> <!-- <el-radio :label="1">草稿</el-radio>-->
<!-- <el-radio :label="2">待核对</el-radio>--> <!-- <el-radio :label="2">待核对</el-radio>-->
<!-- <el-radio :label="3">待审核</el-radio>--> <!-- <el-radio :label="3">待审核</el-radio>-->
<!-- </el-select>--> <!-- </el-select>-->
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -307,6 +318,7 @@ export default {
created() { created() {
if (this.inputQuery.originAction == null) { if (this.inputQuery.originAction == null) {
this.isAdd = true; this.isAdd = true;
this.inputQuery.createType = 1;
this.inputQuery.auditStatus = 1; this.inputQuery.auditStatus = 1;
this.inputQuery.busAuditStatus = 1; this.inputQuery.busAuditStatus = 1;
} else { } else {

Loading…
Cancel
Save