Commit d5eb28d3 by zhangzhen

委外执行加工表页面展示优化1

parent 9782eb36
$(function () {
$("#QUERY").on("click", () => {
vue.onLoading()
});
......@@ -196,7 +198,7 @@ $(function () {
}
},
mounted(){
$("#inqu_status-0-depositDate").val(dayjs().subtract(1,'d').format("YYYY-MM-DD"))
},
methods:{
onLoading(){
......@@ -207,8 +209,7 @@ $(function () {
if(depositDate){
inInfo.set("inqu_status-0-depositDate",dayjs(depositDate).format("YYYYMMDD"));
}else{
$("#inqu_status-0-depositDate").val(dayjs().subtract(1,'d').format("YYYY-MM-DD"));
inInfo.set("inqu_status-0-depositDate",dayjs().subtract(1,'d').format("YYYYMMDD"));
inInfo.set("inqu_status-0-depositDate",'');
}
inInfo.set("inqu_status-0-projName",$("#inqu_status-0-projName").val())
......@@ -310,7 +311,7 @@ $(function () {
},
ccl:{
...val5.ccl,
value: i4? (Number(val5.ccl.value)+Number(val4[i4-1].ccl.value))/val4.length: Number(val5.ccl.value),
value: i4 ? (Number(val5.ccl.value)+Number(val4[i4-1].ccl.value))/val4.length: Number(val5.ccl.value),
rowspan: val4.length,
show: !i4
},
......@@ -321,7 +322,7 @@ $(function () {
},
invQty:{
...val5.invQty,
value: i4? (Number(val5.invQty.value)+Number(val4[i4-1].invQty.value)): Number(val5.invQty.value),
value: i4 && val5.invQty.value? (Number(val5.invQty.value)+Number(val4[i4-1].invQty.value)): Number(val5.invQty.value),
rowspan: val4.length,
show: !i4
},
......@@ -332,7 +333,7 @@ $(function () {
},
invWeight:{
...val5.invWeight,
value: i4? (Number(val5.invWeight.value)+Number(val4[i4-1].invWeight.value)): Number(val5.invWeight.value),
value: i4 && val5.invWeight.value? (Number(val5.invWeight.value)+Number(val4[i4-1].invWeight.value)): Number(val5.invWeight.value),
rowspan: val4.length,
show: !i4
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment