update

parent a438a94d
......@@ -166,7 +166,7 @@
<div class="row">
<div class="col-auto text-h6 text-weight-regular flex q-ml-md">
{{ $t('managingUnitAdd.titleAdd')
}}<span style="color: red" class="q-ml-xs">*</span>
}}
</div>
<q-space></q-space>
<div class="col-auto">
......@@ -858,7 +858,6 @@ export default defineComponent({
const addNewArtist = () => {
const newArtistList = [...props.artistList];
newArtistList.push({
contractFrom: `${contractTimeFrom.value} 00:00:00`,
contractTo: `${contractTimeTo.value} 00:00:00`,
......
......@@ -483,14 +483,10 @@ export default defineComponent({
//add
const addNewUnit = async () => {
let hasError = false;
if (unitArtistList.value.length !== 0) {
hasError = true;
check_artistList.value = true;
}
if (hasError === false) {
console.log(unitField,'unitField.value')
const data = {
name: unitName.value,
code: unitCode.value,
......@@ -503,9 +499,6 @@ export default defineComponent({
userName: unitUserName.value,
password: unitPassword.value,
contracts: unitArtistList.value,
};
const response = (await api({
url: API_PATHS.artistOwnerAdd,
......
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