|
|
|
@ -24,8 +24,6 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="单据类型:" prop="documentTypeCode" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.documentTypeCode" placeholder="请选择单据类型"
|
|
|
|
@ -51,9 +49,6 @@
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="队列管理:" prop="autoTag" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.autoTag" style="width: 80%" placeholder="请选择是否队列设备"
|
|
|
|
@ -71,8 +66,25 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="formData.autoTag == 1">
|
|
|
|
|
<el-form-item label="独占工位库存:" prop="monopoly" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.monopoly" style="width: 80%" placeholder="独占工位库存"
|
|
|
|
|
:disabled="formData.autoTag == 0">
|
|
|
|
|
<el-option label="否" :value="0"></el-option>
|
|
|
|
|
<el-option label="是" :value="1"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="是否常用:" prop="isPopular" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.isPopular" style="width: 80%" placeholder="单据是否常用">
|
|
|
|
|
<el-option label="是" :value="1"></el-option>
|
|
|
|
|
<el-option label="否" :value="0"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
<!--<el-col :span="12" class="el-col">-->
|
|
|
|
|
<!-- <el-form-item label="作业类型:" prop="workplaceType" class="query-form-item">-->
|
|
|
|
@ -106,11 +118,6 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="异常提醒方式:" prop="warnType" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.warnType" style="width: 80%" placeholder="选择扫码方式">
|
|
|
|
@ -121,26 +128,16 @@
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="默认仓库:" prop="invCode" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.invCode" placeholder="请选择仓库"
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
clearable
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in invList"
|
|
|
|
|
:key="item.name"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.code"
|
|
|
|
|
>
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
<el-form-item label="单据完成条件:" prop="monopoly" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.orderFinishVerify" style="width: 80%" placeholder="单据完成条件">
|
|
|
|
|
<el-option label="完全赋码" :value="0"></el-option>
|
|
|
|
|
<el-option label="部分赋码" :value="1"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="往来单位类型:" prop="corpType" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.corpType" style="width: 80%" placeholder="选择往来单位类型"
|
|
|
|
@ -162,37 +159,25 @@
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="单据完成条件:" prop="monopoly" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.orderFinishVerify" style="width: 80%" placeholder="单据完成条件" >
|
|
|
|
|
<el-option label="完全赋码" :value="0"></el-option>
|
|
|
|
|
<el-option label="部分赋码" :value="1"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12" class="el-col" v-if="formData.autoTag == 1">
|
|
|
|
|
<el-form-item label="独占工位库存:" prop="monopoly" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.monopoly" style="width: 80%" placeholder="独占工位库存" :disabled="formData.autoTag == 0" >
|
|
|
|
|
<el-option label="否" :value="0"></el-option>
|
|
|
|
|
<el-option label="是" :value="1"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="是否常用:" prop="isPopular" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.isPopular" style="width: 80%" placeholder="单据是否常用" >
|
|
|
|
|
<el-option label="是" :value="1"></el-option>
|
|
|
|
|
<el-option label="否" :value="0"></el-option>
|
|
|
|
|
<el-form-item label="默认仓库:" prop="invCode" class="query-form-item">
|
|
|
|
|
<el-select v-model="formData.invCode" placeholder="请选择仓库"
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
clearable
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in invList"
|
|
|
|
|
:key="item.name"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.code"
|
|
|
|
|
>
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
<el-row :gutter="24" class="el-row">
|
|
|
|
|
<el-col class="el-col">
|
|
|
|
|
<el-form-item label="备注:" prop="remark" class="query-form-item">
|
|
|
|
@ -485,7 +470,7 @@ export default {
|
|
|
|
|
if (this.upData != null) {
|
|
|
|
|
console.log(this.upData)
|
|
|
|
|
this.formData = this.upData
|
|
|
|
|
if (this.formData.invCode != 0){
|
|
|
|
|
if (this.formData.invCode != 0) {
|
|
|
|
|
this.formData.invCode = this.upData.invCode + ''
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.invCode == 0) {
|
|
|
|
|