Merge remote-tracking branch 'origin/dev' into dev

dev
anthonywj 2 years ago
commit f0c24f83c6

@ -3,7 +3,7 @@ import axios from "@/utils/request";
export function filterSelectInvUser(query) { export function filterSelectInvUser(query) {
return axios({ return axios({
url: "/spms/bus/user/select/filter", url: "/spms/bus/user/selectEnable/filter",
method: "get", method: "get",
params: query params: query
}); });

@ -430,7 +430,8 @@ export default {
}, },
combine(){ combine(){
if(this.orderQuery==null && this.orderQuery.length==0){ console.log(this.orderQuery)
if(this.orderQuery==null || this.orderQuery.length==0){
this.$message.error("请先选择单据!") this.$message.error("请先选择单据!")
return; return;
} }

@ -14,7 +14,8 @@
<el-option label="全部" value=""></el-option> <el-option label="全部" value=""></el-option>
<el-option label="客户" value="1"></el-option> <el-option label="客户" value="1"></el-option>
<el-option label="供应商" value="2"></el-option> <el-option label="供应商" value="2"></el-option>
<el-option label="特殊科室" value="3"></el-option> <el-option label="内部科室" value="3"></el-option>
<!-- <el-option label="特殊科室" value="3"></el-option>-->
<el-option label="特殊往来" value="4"></el-option> <el-option label="特殊往来" value="4"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -259,7 +260,8 @@ export default {
}, },
{ {
value: 3, value: 3,
label: "特殊科室" // label: ""
label: "内部科室"
}, },
{ {
value: 4, value: 4,

@ -435,12 +435,13 @@ export default {
selectExport() { selectExport() {
var selectData = this.multipleSelection; var selectData = this.multipleSelection;
this.filterQuery.rlIds=[];
if(selectData.length==0){ if(selectData.length==0){
this.$message.error("请先选择产品!"); this.$message.error("请先选择产品!");
return return
} }
selectData.forEach((obj) => { selectData.forEach((obj) => {
this.filterQuery.rlIds.push(obj.id); this.filterQuery.rlIds.push(obj.id);
this.filterQuery.nameCode=obj.nameCode; this.filterQuery.nameCode=obj.nameCode;
}); });

@ -523,7 +523,7 @@ export default {
postQuery.ids.push(row.rlId); postQuery.ids.push(row.rlId);
}); });
if(postQuery.ids.length<=0){ if(postQuery.ids.length<=0){
this.$message.error("请先选择供应商"); this.$message.error("请先选择产品");
return return
} }
lockStatus(postQuery) lockStatus(postQuery)

@ -146,7 +146,7 @@
" "
> >
<el-select <el-select
v-model="orderFormData.fromCorpName" v-model="orderFormData.fromCorp"
filterable filterable
remote remote
clearable clearable
@ -1091,7 +1091,6 @@ export default {
); );
tQuery.code = this.codeFormData.code; tQuery.code = this.codeFormData.code;
tQuery.orderType = this.viewType; tQuery.orderType = this.viewType;
debugger
this.addCodeSubmit(tQuery); this.addCodeSubmit(tQuery);
this.$refs.inputRef.select(); this.$refs.inputRef.select();
}, },
@ -1130,6 +1129,7 @@ export default {
this.refreshCodesPanel(); this.refreshCodesPanel();
this.$refs.inputRef.focus(); this.$refs.inputRef.focus();
this.$refs.inputRef.select(); this.$refs.inputRef.select();
this.orderFormData.relId = null;
} else { } else {
if (response.code == 502) { if (response.code == 502) {
//ID //ID

@ -55,6 +55,18 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="8">
<el-form-item class="query-form-item" label="备注:">
<el-input
v-model="filterQuery.remark"
placeholder="请输入备注"
style="width: 90%"
clearable="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form> </el-form>
<div class="top-right-btn"> <div class="top-right-btn">
<el-button-group> <el-button-group>

@ -185,7 +185,7 @@
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="备注" prop="remark" show-overflow-tooltip width="180"></el-table-column>
<el-table-column label="操作" width="160" fixed="right"> <el-table-column label="操作" width="160" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" :disabled="scope.row.checkStatus==1 " v-if="showSup" size="small" <el-button type="text" :disabled="scope.row.checkStatus==1 " v-if="showSup" size="small"

@ -145,7 +145,7 @@ export default {
deptCode: null, deptCode: null,
invCode: null, invCode: null,
invSpaceCode: null, invSpaceCode: null,
lowStock: false, lowStock: null,
lackStock: false, lackStock: false,
overStock: false, overStock: false,
expireDate: false, expireDate: false,
@ -166,11 +166,21 @@ export default {
getInfoByInvId({invId: this.invId}).then((res) => { getInfoByInvId({invId: this.invId}).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
this.formData = res.data; this.formData = res.data;
this.formData.lowStock = false; if (res.data.lowStock == null) {
this.formData.lackStock = false; this.formData.lowStock = false;
this.formData.overStock = false; }
this.formData.expireDate = false; if (res.data.lackStock == null) {
this.formData.recentDate = false; this.formData.lackStock = false;
}
if (res.data.overStock == null) {
this.formData.overStock = false;
}
if (res.data.expireDate == null) {
this.formData.expireDate = false;
}
if (res.data.recentDate == null) {
this.formData.recentDate = false;
}
} else { } else {
this.$message.error(res.meesage); this.$message.error(res.meesage);
} }

@ -452,6 +452,7 @@ export default {
}, },
tableCountChange(row) { tableCountChange(row) {
if (this.$isNotBlank(row)) { if (this.$isNotBlank(row)) {
this.currentRow.supId = row.supName;
updateDetail(this.currentRow); updateDetail(this.currentRow);
} }
}, },

@ -361,6 +361,7 @@ export default {
limit: 20, limit: 20,
listInv:this.invCodeList, listInv:this.invCodeList,
}; };
this.queryName = null;
this.getList(); this.getList();
this.spaceList = []; this.spaceList = [];
this.ggxhList = []; this.ggxhList = [];

@ -163,8 +163,9 @@
<treeselect v-model="subData.parentCode" :options="invOptions" :normalizer="normalizer" <treeselect v-model="subData.parentCode" :options="invOptions" :normalizer="normalizer"
:disabled="isShow" :disabled="isShow"
style="width: 80%" style="width: 80%"
placeholder="选择上级仓库"/> placeholder="选择上级仓库">
</treeselect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -562,7 +563,7 @@ export default {
this.subData.advanceType = this.subData.advanceType.toString(); this.subData.advanceType = this.subData.advanceType.toString();
if (this.subData.parentCode != null && this.subData.parentCode != "") { if (this.subData.parentCode != null && this.subData.parentCode != "") {
this.isAdvanceTypeShow = true; this.isAdvanceTypeShow = true;
this.isShow = false; this.isShow = true;
} else { } else {
this.isAdvanceTypeShow = false; this.isAdvanceTypeShow = false;
this.isShow = true this.isShow = true
@ -578,7 +579,6 @@ export default {
this.subData = {advanceType: data.advanceType.toString(), spUse: false, parentCode: data.code}; this.subData = {advanceType: data.advanceType.toString(), spUse: false, parentCode: data.code};
} }
} }
debugger
this.subFormVisible = true; this.subFormVisible = true;
this.getSubThrsysDetailData(); this.getSubThrsysDetailData();
if (this.subData.parentCode != null && this.subData.parentCode != "") { if (this.subData.parentCode != null && this.subData.parentCode != "") {
@ -592,7 +592,6 @@ export default {
} }
filterSubAll(this.query) filterSubAll(this.query)
.then((response) => { .then((response) => {
debugger
let invList = response.data || []; let invList = response.data || [];
// //
if (invList.length > 0) { if (invList.length > 0) {

Loading…
Cancel
Save