Browse Source

update

master
wanggang 1 year ago
parent
commit
a225f00465
  1. 30
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js

30
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js

@ -233,16 +233,18 @@ export default {
<el-option v-for="item in versions" :value="item.value" :label="item.label" /> <el-option v-for="item in versions" :value="item.value" :label="item.label" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="发运日期" label-width="100px"> <template v-if="isNotJit">
<el-date-picker v-model="exportModel.date1" value-format="YYYY-MM-DD" /> <el-form-item label="发运日期" label-width="100px">
<span style="margin:0 .5em;">-</span> <el-date-picker v-model="exportModel.date1" value-format="YYYY-MM-DD" />
<el-date-picker v-model="exportModel.date2" value-format="YYYY-MM-DD" /> <span style="margin:0 .5em;">-</span>
</el-form-item> <el-date-picker v-model="exportModel.date2" value-format="YYYY-MM-DD" />
<el-form-item label="下线日期" label-width="100px"> </el-form-item>
<el-date-picker v-model="exportModel.date3" value-format="YYYY-MM-DD" /> <el-form-item label="下线日期" label-width="100px">
<span style="margin:0 .5em;">-</span> <el-date-picker v-model="exportModel.date3" value-format="YYYY-MM-DD" />
<el-date-picker v-model="exportModel.date4" value-format="YYYY-MM-DD" /> <span style="margin:0 .5em;">-</span>
</el-form-item> <el-date-picker v-model="exportModel.date4" value-format="YYYY-MM-DD" />
</el-form-item>
</template>
<el-form-item label="通用码" label-width="100px"> <el-form-item label="通用码" label-width="100px">
<el-input type="textarea" v-model="exportModel.pn" /> <el-input type="textarea" v-model="exportModel.pn" />
</el-form-item> </el-form-item>
@ -807,6 +809,13 @@ export default {
} }
return postData; return postData;
} }
function isNotJit() {
return (
route.meta.enumBusinessType !== "ZhiGongJian" ||
route.meta.enumBusinessType !== "BeiJian" ||
route.meta.enumBusinessType !== "YingDuJian"
);
}
onMounted(async () => { onMounted(async () => {
if (route.meta.children?.length) { if (route.meta.children?.length) {
for (const item of route.meta.children) { for (const item of route.meta.children) {
@ -876,6 +885,7 @@ export default {
versions, versions,
pushfilterList, pushfilterList,
getOperators, getOperators,
isNotJit,
}; };
}, },
}; };

Loading…
Cancel
Save