Browse Source

修改总库明细

dev
caoyizhong 2 years ago
parent
commit
d23c41dec9
  1. 2
      src/components/layouts/RouteView.vue
  2. 11
      src/views/activiti/form/ProcessSmaterialsScrapForm.vue
  3. 2
      src/views/materialstorage/ProcessMaterialStorageList.vue
  4. 4
      src/views/supplier/ProcessSupplierList.vue
  5. 3
      src/views/suppliesstronger/ProcessSuppliesStrongerLists.vue
  6. 2
      src/views/waste/ProcessWasteList.vue
  7. 2
      src/views/waste/ProcessWasteListCable.vue

2
src/components/layouts/RouteView.vue

@ -17,7 +17,7 @@
//update-begin--Author:scott Date:20201015 fortab #842
includedComponents() {
const includedRouters = Vue.ls.get(CACHE_INCLUDED_ROUTES)
console.log("includedRouters:" + includedRouters)
console.log("includedRouters:" + includedRouters,this.$route.meta.keepAlive,this.$route.meta.componentName);
// cache_included_routes
if (this.$route.meta.keepAlive && this.$route.meta.componentName) {

11
src/views/activiti/form/ProcessSmaterialsScrapForm.vue

@ -889,14 +889,21 @@
if (!formData.tableName) formData.tableName = this.processData.businessTable
console.log('格式化后的数据', formData)
let cx = false;
let bfsj = false;
formData.processSmaterialsScrapListList.forEach(item =>{
if(!item.scrapNumber){
cx = true;
}
if(!item.scrapTime){
bfsj = true;
}
})
if(cx){
this.$message.warning("请填写报废数量");
this.$message.warning("请填写报废数量!");
return ;
}
if(bfsj){
this.$message.warning("请填写报废时间!");
return ;
}
var url = this.url.addScrapApply

2
src/views/materialstorage/ProcessMaterialStorageList.vue

@ -228,7 +228,7 @@
delete: "/materialstorage/processMaterialStorage/delete",
deleteBatch: "/materialstorage/processMaterialStorage/deleteBatch",
exportXlsUrl: "/materialstorage/processMaterialStorage/exportXls",
importExcelUrl: "materialstorage/processMaterialStorage/importExcel",
importExcelUrl: "/materialstorage/processMaterialStorage/importExcel",
addressUrl:"/materialstorage/processMaterialStorage/materialStorageAddress",
},

4
src/views/supplier/ProcessSupplierList.vue

@ -126,8 +126,8 @@
<span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)" v-has="'regulate:edit'">编辑</a>
<a-divider type="vertical" />
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a-divider type="vertical" v-has="'regulate:delete'" />
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)" v-has="'regulate:delete'">
<a>删除</a>
</a-popconfirm>
<!-- <a @click="handleDelete(record.id)">删除</a>-->

3
src/views/suppliesstronger/ProcessSuppliesStrongerLists.vue

@ -414,7 +414,8 @@
],
url: {
listUrl: "/actBusiness/listDataAll",
list: "/suppliesstronger/processSuppliesStronger/lists",
// list: "/suppliesstronger/processSuppliesStronger/lists",
list: "/suppliesstronger/processSuppliesStronger/inventoryDetails", //
delete: "/suppliesstronger/processSuppliesStronger/delete",
deleteBatch: "/suppliesstronger/processSuppliesStronger/deleteBatch",
exportXlsUrl: "/suppliesstronger/processSuppliesStronger/exportXls",

2
src/views/waste/ProcessWasteList.vue

@ -224,7 +224,7 @@
delete: "/waste/processWaste/delete",
deleteBatch: "/waste/processWaste/deleteBatch",
exportXlsUrl: "/waste/processWaste/exportXls",
importExcelUrl: "waste/processWaste/importExcel",
importExcelUrl: "/waste/processWaste/importExcel",
userRoleUrl: "/sys/user/queryUserRolePart",
listByuntil: '/unitwaste/processUnitWasteWarehouseCode/listAllNoPage',
},

2
src/views/waste/ProcessWasteListCable.vue

@ -252,7 +252,7 @@
url: {
list: "/waste/processWaste/listCable",
exportXlsUrl: "/waste/processWaste/exportXlsByWaste",
importExcelUrl: "waste/processWaste/importCableExcel",
importExcelUrl: "/waste/processWaste/importCableExcel",
},
dictOptions:{},
superFieldList:[],

Loading…
Cancel
Save