bug修改,业务单据修改

tagView
anthonywj 2 years ago
parent d936ea4fe6
commit 96d66c4721

@ -44,7 +44,6 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
:disabled="scope.row.systemDefault"
@click.native.stop="handleModifyClick(scope.row)" @click.native.stop="handleModifyClick(scope.row)"
>编辑 >编辑
</el-button </el-button

@ -56,11 +56,11 @@
</div> </div>
<el-select <el-select
size="small" size="small"
:disabled="inputQuery.systemDefault"
v-model="inputQuery.type" v-model="inputQuery.type"
placeholder="设置类型" placeholder="设置类型"
> >
<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="3"></el-option> <el-option label="采购计划" :value="3"></el-option>
</el-select> </el-select>
</div> </div>
@ -74,6 +74,7 @@
</div> </div>
<el-select <el-select
size="small" size="small"
:disabled="inputQuery.systemDefault"
v-model="inputQuery.enable" v-model="inputQuery.enable"
placeholder="启用状态" placeholder="启用状态"
> >

@ -43,7 +43,7 @@
type="primary" type="primary"
size="mini" size="mini"
icon="search" icon="search"
v-if="inputQuery.auditStatus == 4|| inputQuery.auditStatus == 1|| inputQuery.auditStatus == 2" v-if="inputQuery.auditStatus == 3|| inputQuery.auditStatus == 1|| inputQuery.auditStatus == 2"
@click="onModifySubmit(3)" @click="onModifySubmit(3)"
>提交审核 >提交审核
</el-button </el-button
@ -643,7 +643,7 @@ export default {
0: "warning", 0: "warning",
1: "success", 1: "success",
2: "danger", 2: "danger",
4: "warning", 3: "warning",
6: "warning", 6: "warning",
}; };
return statusMap[status]; return statusMap[status];

@ -436,7 +436,7 @@ export default {
1: "success", 1: "success",
2: "danger", 2: "danger",
6: "warning", 6: "warning",
4: "warning", 3: "warning",
}; };
return statusMap[status]; return statusMap[status];
}, },

@ -319,7 +319,7 @@ export default {
0: "warning", 0: "warning",
1: "success", 1: "success",
2: "danger", 2: "danger",
4: "warning", 3: "warning",
6: "warning", 6: "warning",
}; };
return statusMap[status]; return statusMap[status];

@ -92,7 +92,7 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
v-if="scope.row.auditStatus === '2'" v-if="scope.row.auditStatus === 2"
@click.native.stop="rejectInfo(scope.row)" @click.native.stop="rejectInfo(scope.row)"
>说明 >说明
</el-button> </el-button>

@ -147,7 +147,7 @@
style="width: 100%"> style="width: 100%">
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="证书名称" prop="name"></el-table-column> <el-table-column label="证书名称" prop="name"></el-table-column>
<el-table-column label="证书编号" prop="name"></el-table-column> <el-table-column label="证书编号" prop="code"></el-table-column>
<el-table-column label="有效期" prop="vailDate"></el-table-column> <el-table-column label="有效期" prop="vailDate"></el-table-column>
<el-table-column label="失效期" prop="expireDate"></el-table-column> <el-table-column label="失效期" prop="expireDate"></el-table-column>
<el-table-column label="审核状态" prop="auditStatus" width="120"> <el-table-column label="审核状态" prop="auditStatus" width="120">

@ -209,7 +209,7 @@
style="width: 100%;margin-top: 30px"> style="width: 100%;margin-top: 30px">
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="证书名称" prop="name"></el-table-column> <el-table-column label="证书名称" prop="name"></el-table-column>
<el-table-column label="证书编号" prop="name"></el-table-column> <el-table-column label="证书编号" prop="code"></el-table-column>
<el-table-column label="有效期" prop="vailDate"></el-table-column> <el-table-column label="有效期" prop="vailDate"></el-table-column>
<el-table-column label="失效期" prop="expireDate"></el-table-column> <el-table-column label="失效期" prop="expireDate"></el-table-column>
<el-table-column label="审核状态" prop="auditStatus" width="120"> <el-table-column label="审核状态" prop="auditStatus" width="120">
@ -226,7 +226,7 @@
type="text" type="text"
size="small" size="small"
@click.native="addCert(scope.row)" @click.native="addCert(scope.row)"
>编辑 >编辑
</el-button </el-button
> >
@ -481,7 +481,7 @@ export default {
if(this.inputQuery.productionAreaCode!="" && this.inputQuery.productionAreaCode!=null && this.inputQuery.productionAreaCode!=undefined){ if(this.inputQuery.productionAreaCode!="" && this.inputQuery.productionAreaCode!=null && this.inputQuery.productionAreaCode!=undefined){
this.selectedOptions2 = this.inputQuery.productionAreaCode.split(","); this.selectedOptions2 = this.inputQuery.productionAreaCode.split(",");
} }
} }
this.certQuery.manufacturerIdFk = this.inputQuery.manufacturerId; this.certQuery.manufacturerIdFk = this.inputQuery.manufacturerId;

@ -41,7 +41,7 @@
type="primary" type="primary"
size="mini" size="mini"
icon="search" icon="search"
v-if="inputQuery.auditStatus == 4|| inputQuery.auditStatus == 1|| inputQuery.auditStatus == 2" v-if="inputQuery.auditStatus == 3|| inputQuery.auditStatus == 1|| inputQuery.auditStatus == 2"
@click="onModifySubmit(3)" @click="onModifySubmit(3)"
>提交审核 >提交审核
</el-button </el-button
@ -255,7 +255,7 @@
style="width: 100%;margin-top: 30px"> style="width: 100%;margin-top: 30px">
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="证书名称" prop="name"></el-table-column> <el-table-column label="证书名称" prop="name"></el-table-column>
<el-table-column label="证书编号" prop="name"></el-table-column> <el-table-column label="证书编号" prop="code"></el-table-column>
<el-table-column label="有效期" prop="vailDate"></el-table-column> <el-table-column label="有效期" prop="vailDate"></el-table-column>
<el-table-column label="失效期" prop="expireDate"></el-table-column> <el-table-column label="失效期" prop="expireDate"></el-table-column>
<el-table-column label="审核状态" prop="auditStatus" width="120"> <el-table-column label="审核状态" prop="auditStatus" width="120">

@ -401,6 +401,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
idQuery: { idQuery: {
id: "", id: "",

@ -258,6 +258,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
fromTypeMap: { fromTypeMap: {
"1": "UDIMS平台", "1": "UDIMS平台",

@ -404,6 +404,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
isSp: store.getters.customerId, isSp: store.getters.customerId,
detailFormVisible: false, detailFormVisible: false,

@ -265,6 +265,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
fromTypeMap: { fromTypeMap: {
"1": "UDIMS平台", "1": "UDIMS平台",

@ -531,6 +531,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
statusMap: { statusMap: {
"1": "草稿", "1": "草稿",

@ -329,6 +329,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
idQuery: { idQuery: {
id: "", id: "",

@ -394,6 +394,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
isSp: store.getters.customerId, isSp: store.getters.customerId,
detailFormVisible: false, detailFormVisible: false,

@ -502,6 +502,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
typeMap: { typeMap: {
1: "预入库", 1: "预入库",

@ -334,6 +334,8 @@ export default {
let ids = []; let ids = [];
let data = { let data = {
relId: this.multipleSelection.rlId, relId: this.multipleSelection.rlId,
supId: this.multipleSelection.customerId
} }
ids.push(data); ids.push(data);
this.loading = true; this.loading = true;

@ -571,6 +571,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
isSp: store.getters.customerId, isSp: store.getters.customerId,
detailFormVisible: false, detailFormVisible: false,

@ -385,6 +385,7 @@ export default {
"1": "web端新增单据", "1": "web端新增单据",
"2": "第三方系统", "2": "第三方系统",
"3": "扫码单据转换", "3": "扫码单据转换",
"4": "采购计划转换",
}, },
idQuery: { idQuery: {
id: "", id: "",

Loading…
Cancel
Save