选入第三方业务单据修改

master
anthonywj 2 years ago
parent 70acc94de7
commit 88cdf06f9e

@ -69,47 +69,48 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="11"> <el-col :span="11">
<el-form-item prop="action" label="单据类型:"> <el-form-item prop="invCode" label="当前仓库:">
<el-select <el-select
v-model="orderFormData.action" v-model="orderFormData.invCode"
placeholder="请选择单据类型" placeholder="当前仓库"
:disabled="corpOrderIdDisabled"
style="width: 90%" style="width: 90%"
@change="actionChange" :disabled="corpOrderIdDisabled"
@change="changeInv"
filterable
> >
<el-option <el-option
v-for="item in busTypeOptions" v-for="item in curInvOptions"
:key="item.name" :key="item.name"
:label="item.name" :label="item.name"
:value="item.action" :value="item.code"
> >
<span style="float: left">{{ item.name }}</span> <span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{
item.warehouseName
}}</span>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="11"> <el-col :span="11">
<el-form-item prop="invCode" label="当前仓库:"> <el-form-item prop="action" label="单据类型:">
<el-select <el-select
v-model="orderFormData.invCode" v-model="orderFormData.action"
placeholder="当前仓库" placeholder="请选择单据类型"
style="width: 90%"
:disabled="corpOrderIdDisabled" :disabled="corpOrderIdDisabled"
@change="changeInv" style="width: 90%"
filterable @change="actionChange"
> >
<el-option <el-option
v-for="item in curInvOptions" v-for="item in busTypeOptions"
:key="item.name" :key="item.name"
:label="item.name" :label="item.name"
:value="item.code" :value="item.action"
> >
<span style="float: left">{{ item.name }}</span> <span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{
item.warehouseName
}}</span>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -797,7 +798,11 @@ export default {
cQuery.corpType = 2; cQuery.corpType = 2;
} else if (this.curAction.corpType == 0) { } else if (this.curAction.corpType == 0) {
cQuery.corpType = 2; cQuery.corpType = 2;
} else return; } else if (this.curAction.corpType == 1) {
cQuery.corpType = 1;
cQuery.outType = 2;
} else
return;
getBasicUnitMaintains(cQuery) getBasicUnitMaintains(cQuery)
.then((response) => { .then((response) => {
this.loading = false; this.loading = false;
@ -817,7 +822,10 @@ export default {
if ((this.curAction.checkEnable && this.curAction.checkWebNew != 0) || this.viewType == 1) { if ((this.curAction.checkEnable && this.curAction.checkWebNew != 0) || this.viewType == 1) {
// 1 // 1
this.bizShow = true; this.bizShow = true;
} else this.bizShow = false; } else {
this.bizShow = false;
}
if ( if (
this.curAction.corpType == 0 || this.curAction.corpType == 0 ||
this.curAction.corpType == 2 || this.curAction.corpType == 2 ||

Loading…
Cancel
Save