修改bug

busUser
郑明梁 3 years ago
parent a1ddc9d143
commit 21dda81ffd

@ -421,6 +421,9 @@ export default {
}, },
created() { created() {
if(this.editQuery.isUseDy==1){
this.checked=true
}
let ttquery = { let ttquery = {
uuid: this.editQuery.uuid, uuid: this.editQuery.uuid,
page: 1, page: 1,

@ -388,7 +388,7 @@
</el-button </el-button
> >
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
@ -1455,7 +1455,7 @@ export default {
var action=obj.toString(); var action=obj.toString();
this.bussinessTypeQuery.ids=action; this.bussinessTypeQuery.ids=action;
} }
this.bussinessTypeQuery.code=this.busQuery.code; this.bussinessTypeQuery.code=this.busQuery.code;
getJoinBussinessType(this.bussinessTypeQuery).then((res) => { getJoinBussinessType(this.bussinessTypeQuery).then((res) => {
this.selectBussinessTypeList = []; this.selectBussinessTypeList = [];
@ -1466,7 +1466,7 @@ export default {
if (that.$refs.typeList) { if (that.$refs.typeList) {
that.$refs.typeList.clearSelection(); that.$refs.typeList.clearSelection();
} }
that.bussinessTypeList.forEach(row => { that.bussinessTypeList.forEach(row => {
if (row.checkSelect==true) { if (row.checkSelect==true) {
that.$refs.typeList.toggleRowSelection(row, true); that.$refs.typeList.toggleRowSelection(row, true);
@ -1557,7 +1557,7 @@ export default {
this.getBussinessType(1,action); this.getBussinessType(1,action);
}, },
selsectBussinessType(row){ selsectBussinessType(row){
// if(row==null || row==undefined){ // if(row==null || row==undefined){
// this.$message.info(""); // this.$message.info("");
// return; // return;
@ -1600,12 +1600,12 @@ export default {
this.busTotal = 0; this.busTotal = 0;
}); });
this.selectWhouseBussinessType(); this.selectWhouseBussinessType();
} else { } else {
this.$message.error(res.message); this.$message.error(res.message);
} }
}).catch((error) => { }).catch((error) => {
}); });

@ -34,7 +34,9 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item class="query-form-item">
<el-input v-model="filterQuery.orderIdFk" placeholder="所属单号"></el-input>
</el-form-item>
</el-row> </el-row>
<el-row style="width: 100%"> <el-row style="width: 100%">

@ -499,7 +499,7 @@
}, },
passRegister() { passRegister() {
this.checkQuery.roles = this.check; this.checkQuery.roles = 1;
if (this.$isBlank(this.rowData.companyName)) { if (this.$isBlank(this.rowData.companyName)) {
return this.$message.warning("请输入企业名称"); return this.$message.warning("请输入企业名称");

@ -253,13 +253,13 @@
></el-table-column> ></el-table-column>
</el-table> </el-table>
<el-pagination <!-- <el-pagination
:page-size="detailQuery.limit" :page-size="detailQuery.limit"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
layout="prev, pager, next" layout="prev, pager, next"
:total="detailTotal" :total="detailTotal"
:current-page="detailQuery.page" :current-page="detailQuery.page"
></el-pagination> ></el-pagination> -->
</el-card> </el-card>
<el-dialog <el-dialog
title="选择往来单位" title="选择往来单位"

@ -927,7 +927,9 @@ export default {
}, },
getBusType() { getBusType() {
this.formData.billType=null; if(this.$isBlank(this.idQuery.id)){
this.formData.billType=null;
}
let query = { let query = {
enabled: true, enabled: true,
invWarehouseCode: this.formData.invWarehouseCode invWarehouseCode: this.formData.invWarehouseCode
@ -1000,6 +1002,7 @@ export default {
this.codeArray = []; this.codeArray = [];
this.closeConfirmFunction(false); this.closeConfirmFunction(false);
if (this.$isNotBlank(this.idQuery.id)) { if (this.$isNotBlank(this.idQuery.id)) {
debugger
this.query.limit = 100; this.query.limit = 100;
this.query.orderIdFk = this.idQuery.id; this.query.orderIdFk = this.idQuery.id;
this.formData = this.idQuery.formData; this.formData = this.idQuery.formData;

Loading…
Cancel
Save